(name: string)
| 93 | } |
| 94 | |
| 95 | function getMetaContent(name: string) { |
| 96 | const metaTag = document.querySelector(`meta[name="${name}"]`) as HTMLMetaElement |
| 97 | return metaTag?.content |
| 98 | } |
| 99 | |
| 100 | export function sendEvent({ type, version = '1.0.0', ...props }: SendEventProps) { |
| 101 | const body = { |