@shware/analytics 13.1.0 → 13.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.cjs +1 -2
- package/dist/_virtual/_rolldown/runtime.mjs +1 -2
- package/dist/ads/google.cjs +1 -2
- package/dist/ads/google.d.cts +0 -2
- package/dist/ads/google.d.cts.map +1 -1
- package/dist/ads/google.d.mts +0 -2
- package/dist/ads/google.d.mts.map +1 -1
- package/dist/ads/google.mjs +1 -2
- package/dist/ads/meta.cjs +1 -2
- package/dist/ads/meta.d.cts +0 -2
- package/dist/ads/meta.d.cts.map +1 -1
- package/dist/ads/meta.d.mts +0 -2
- package/dist/ads/meta.d.mts.map +1 -1
- package/dist/ads/meta.mjs +1 -2
- package/dist/ads/time.cjs +1 -2
- package/dist/ads/time.d.cts +0 -2
- package/dist/ads/time.d.cts.map +1 -1
- package/dist/ads/time.d.mts +0 -2
- package/dist/ads/time.d.mts.map +1 -1
- package/dist/ads/time.mjs +1 -2
- package/dist/ads/types.d.cts +0 -2
- package/dist/ads/types.d.cts.map +1 -1
- package/dist/ads/types.d.mts +0 -2
- package/dist/ads/types.d.mts.map +1 -1
- package/dist/attribution/classify.cjs +1 -2
- package/dist/attribution/classify.d.cts +0 -2
- package/dist/attribution/classify.d.cts.map +1 -1
- package/dist/attribution/classify.d.mts +0 -2
- package/dist/attribution/classify.d.mts.map +1 -1
- package/dist/attribution/classify.mjs +1 -2
- package/dist/attribution/vocabulary.cjs +1 -2
- package/dist/attribution/vocabulary.d.cts +0 -2
- package/dist/attribution/vocabulary.d.cts.map +1 -1
- package/dist/attribution/vocabulary.d.mts +0 -2
- package/dist/attribution/vocabulary.d.mts.map +1 -1
- package/dist/attribution/vocabulary.mjs +1 -2
- package/dist/bot/generic.cjs +1 -2
- package/dist/bot/generic.d.cts +0 -2
- package/dist/bot/generic.d.cts.map +1 -1
- package/dist/bot/generic.d.mts +0 -2
- package/dist/bot/generic.d.mts.map +1 -1
- package/dist/bot/generic.mjs +1 -2
- package/dist/bot/index.cjs +1 -2
- package/dist/bot/index.d.cts +0 -2
- package/dist/bot/index.d.cts.map +1 -1
- package/dist/bot/index.d.mts +0 -2
- package/dist/bot/index.d.mts.map +1 -1
- package/dist/bot/index.mjs +1 -2
- package/dist/click-id/index.cjs +1 -2
- package/dist/click-id/index.d.cts +0 -2
- package/dist/click-id/index.d.cts.map +1 -1
- package/dist/click-id/index.d.mts +0 -2
- package/dist/click-id/index.d.mts.map +1 -1
- package/dist/click-id/index.mjs +1 -2
- package/dist/constants/storage.cjs +1 -2
- package/dist/constants/storage.d.cts +0 -2
- package/dist/constants/storage.d.cts.map +1 -1
- package/dist/constants/storage.d.mts +0 -2
- package/dist/constants/storage.d.mts.map +1 -1
- package/dist/constants/storage.mjs +1 -2
- package/dist/feedback/index.cjs +1 -2
- package/dist/feedback/index.d.cts +0 -2
- package/dist/feedback/index.d.cts.map +1 -1
- package/dist/feedback/index.d.mts +0 -2
- package/dist/feedback/index.d.mts.map +1 -1
- package/dist/feedback/index.mjs +1 -2
- package/dist/hooks/use-app-analytics.cjs +1 -2
- package/dist/hooks/use-app-analytics.d.cts +0 -2
- package/dist/hooks/use-app-analytics.d.cts.map +1 -1
- package/dist/hooks/use-app-analytics.d.mts +0 -2
- package/dist/hooks/use-app-analytics.d.mts.map +1 -1
- package/dist/hooks/use-app-analytics.mjs +1 -2
- package/dist/hooks/use-outbound-click-analytics.cjs +1 -2
- package/dist/hooks/use-outbound-click-analytics.d.cts +0 -2
- package/dist/hooks/use-outbound-click-analytics.d.cts.map +1 -1
- package/dist/hooks/use-outbound-click-analytics.d.mts +0 -2
- package/dist/hooks/use-outbound-click-analytics.d.mts.map +1 -1
- package/dist/hooks/use-outbound-click-analytics.mjs +1 -2
- package/dist/hooks/use-report-web-vitals.cjs +1 -2
- package/dist/hooks/use-report-web-vitals.d.cts +0 -2
- package/dist/hooks/use-report-web-vitals.d.cts.map +1 -1
- package/dist/hooks/use-report-web-vitals.d.mts +0 -2
- package/dist/hooks/use-report-web-vitals.d.mts.map +1 -1
- package/dist/hooks/use-report-web-vitals.mjs +1 -2
- package/dist/hooks/use-track-impression.cjs +1 -2
- package/dist/hooks/use-track-impression.d.cts +0 -2
- package/dist/hooks/use-track-impression.d.cts.map +1 -1
- package/dist/hooks/use-track-impression.d.mts +0 -2
- package/dist/hooks/use-track-impression.d.mts.map +1 -1
- package/dist/hooks/use-track-impression.mjs +1 -2
- package/dist/hooks/use-uet-id-sync.cjs +1 -2
- package/dist/hooks/use-uet-id-sync.d.cts +0 -2
- package/dist/hooks/use-uet-id-sync.d.cts.map +1 -1
- package/dist/hooks/use-uet-id-sync.d.mts +0 -2
- package/dist/hooks/use-uet-id-sync.d.mts.map +1 -1
- package/dist/hooks/use-uet-id-sync.mjs +1 -2
- package/dist/hooks/use-web-analytics.cjs +1 -2
- package/dist/hooks/use-web-analytics.d.cts +0 -2
- package/dist/hooks/use-web-analytics.d.cts.map +1 -1
- package/dist/hooks/use-web-analytics.d.mts +0 -2
- package/dist/hooks/use-web-analytics.d.mts.map +1 -1
- package/dist/hooks/use-web-analytics.mjs +1 -2
- package/dist/link/index.cjs +1 -2
- package/dist/link/index.d.cts +0 -2
- package/dist/link/index.d.cts.map +1 -1
- package/dist/link/index.d.mts +0 -2
- package/dist/link/index.d.mts.map +1 -1
- package/dist/link/index.mjs +1 -2
- package/dist/native/deep-link.cjs +1 -2
- package/dist/native/deep-link.d.cts +0 -2
- package/dist/native/deep-link.d.cts.map +1 -1
- package/dist/native/deep-link.d.mts +0 -2
- package/dist/native/deep-link.d.mts.map +1 -1
- package/dist/native/deep-link.mjs +1 -2
- package/dist/native/fbsdk.cjs +1 -2
- package/dist/native/fbsdk.d.cts +0 -2
- package/dist/native/fbsdk.d.cts.map +1 -1
- package/dist/native/fbsdk.d.mts +0 -2
- package/dist/native/fbsdk.d.mts.map +1 -1
- package/dist/native/fbsdk.mjs +1 -2
- package/dist/native/fingerprint.cjs +1 -2
- package/dist/native/fingerprint.d.cts +0 -2
- package/dist/native/fingerprint.d.cts.map +1 -1
- package/dist/native/fingerprint.d.mts +0 -2
- package/dist/native/fingerprint.d.mts.map +1 -1
- package/dist/native/fingerprint.mjs +1 -2
- package/dist/native/firebase.cjs +1 -2
- package/dist/native/firebase.d.cts +0 -2
- package/dist/native/firebase.d.cts.map +1 -1
- package/dist/native/firebase.d.mts +0 -2
- package/dist/native/firebase.d.mts.map +1 -1
- package/dist/native/firebase.mjs +1 -2
- package/dist/native/index.cjs +1 -1
- package/dist/native/index.mjs +1 -1
- package/dist/native/posthog.cjs +1 -2
- package/dist/native/posthog.d.cts +0 -2
- package/dist/native/posthog.d.cts.map +1 -1
- package/dist/native/posthog.d.mts +0 -2
- package/dist/native/posthog.d.mts.map +1 -1
- package/dist/native/posthog.mjs +1 -2
- package/dist/native/setup.cjs +1 -2
- package/dist/native/setup.d.cts +0 -2
- package/dist/native/setup.d.cts.map +1 -1
- package/dist/native/setup.d.mts +0 -2
- package/dist/native/setup.d.mts.map +1 -1
- package/dist/native/setup.mjs +1 -2
- package/dist/next/index.cjs +1 -2
- package/dist/next/index.d.cts +0 -2
- package/dist/next/index.d.cts.map +1 -1
- package/dist/next/index.d.mts +0 -2
- package/dist/next/index.d.mts.map +1 -1
- package/dist/next/index.mjs +1 -2
- package/dist/node_modules/.pnpm/bowser@2.14.1/node_modules/bowser/es5.cjs +1 -2
- package/dist/node_modules/.pnpm/bowser@2.14.1/node_modules/bowser/es5.mjs +1 -2
- package/dist/react-router/index.cjs +2 -3
- package/dist/react-router/index.d.cts +0 -2
- package/dist/react-router/index.d.cts.map +1 -1
- package/dist/react-router/index.d.mts +0 -2
- package/dist/react-router/index.d.mts.map +1 -1
- package/dist/react-router/index.mjs +2 -3
- package/dist/schema/index.cjs +1 -2
- package/dist/schema/index.d.cts +0 -2
- package/dist/schema/index.d.cts.map +1 -1
- package/dist/schema/index.d.mts +0 -2
- package/dist/schema/index.d.mts.map +1 -1
- package/dist/schema/index.mjs +1 -2
- package/dist/server/action-source.cjs +1 -2
- package/dist/server/action-source.d.cts +0 -2
- package/dist/server/action-source.d.cts.map +1 -1
- package/dist/server/action-source.d.mts +0 -2
- package/dist/server/action-source.d.mts.map +1 -1
- package/dist/server/action-source.mjs +1 -2
- package/dist/server/click-ids.cjs +1 -2
- package/dist/server/click-ids.d.cts +0 -2
- package/dist/server/click-ids.d.cts.map +1 -1
- package/dist/server/click-ids.d.mts +0 -2
- package/dist/server/click-ids.d.mts.map +1 -1
- package/dist/server/click-ids.mjs +1 -2
- package/dist/server/google-data-manager.cjs +1 -2
- package/dist/server/google-data-manager.d.cts +0 -2
- package/dist/server/google-data-manager.d.cts.map +1 -1
- package/dist/server/google-data-manager.d.mts +0 -2
- package/dist/server/google-data-manager.d.mts.map +1 -1
- package/dist/server/google-data-manager.mjs +1 -2
- package/dist/server/linkedin-conversions-api.cjs +1 -2
- package/dist/server/linkedin-conversions-api.d.cts +0 -2
- package/dist/server/linkedin-conversions-api.d.cts.map +1 -1
- package/dist/server/linkedin-conversions-api.d.mts +0 -2
- package/dist/server/linkedin-conversions-api.d.mts.map +1 -1
- package/dist/server/linkedin-conversions-api.mjs +1 -2
- package/dist/server/meta-capi.cjs +1 -2
- package/dist/server/meta-capi.d.cts +0 -2
- package/dist/server/meta-capi.d.cts.map +1 -1
- package/dist/server/meta-capi.d.mts +0 -2
- package/dist/server/meta-capi.d.mts.map +1 -1
- package/dist/server/meta-capi.mjs +1 -2
- package/dist/server/meta-conversions-api.cjs +1 -2
- package/dist/server/meta-conversions-api.d.cts +0 -2
- package/dist/server/meta-conversions-api.d.cts.map +1 -1
- package/dist/server/meta-conversions-api.d.mts +0 -2
- package/dist/server/meta-conversions-api.d.mts.map +1 -1
- package/dist/server/meta-conversions-api.mjs +1 -2
- package/dist/server/microsoft-conversions-api.cjs +1 -2
- package/dist/server/microsoft-conversions-api.d.cts +0 -2
- package/dist/server/microsoft-conversions-api.d.cts.map +1 -1
- package/dist/server/microsoft-conversions-api.d.mts +0 -2
- package/dist/server/microsoft-conversions-api.d.mts.map +1 -1
- package/dist/server/microsoft-conversions-api.mjs +1 -2
- package/dist/server/openai-conversions-api.cjs +1 -2
- package/dist/server/openai-conversions-api.d.cts +0 -2
- package/dist/server/openai-conversions-api.d.cts.map +1 -1
- package/dist/server/openai-conversions-api.d.mts +0 -2
- package/dist/server/openai-conversions-api.d.mts.map +1 -1
- package/dist/server/openai-conversions-api.mjs +1 -2
- package/dist/server/page-location.cjs +1 -2
- package/dist/server/page-location.d.cts +0 -2
- package/dist/server/page-location.d.cts.map +1 -1
- package/dist/server/page-location.d.mts +0 -2
- package/dist/server/page-location.d.mts.map +1 -1
- package/dist/server/page-location.mjs +1 -2
- package/dist/server/reddit-conversions-api.cjs +1 -2
- package/dist/server/reddit-conversions-api.d.cts +0 -2
- package/dist/server/reddit-conversions-api.d.cts.map +1 -1
- package/dist/server/reddit-conversions-api.d.mts +0 -2
- package/dist/server/reddit-conversions-api.d.mts.map +1 -1
- package/dist/server/reddit-conversions-api.mjs +1 -2
- package/dist/setup/index.cjs +1 -2
- package/dist/setup/index.d.cts +0 -2
- package/dist/setup/index.d.cts.map +1 -1
- package/dist/setup/index.d.mts +0 -2
- package/dist/setup/index.d.mts.map +1 -1
- package/dist/setup/index.mjs +1 -2
- package/dist/setup/session.cjs +1 -2
- package/dist/setup/session.d.cts +0 -2
- package/dist/setup/session.d.cts.map +1 -1
- package/dist/setup/session.d.mts +0 -2
- package/dist/setup/session.d.mts.map +1 -1
- package/dist/setup/session.mjs +1 -2
- package/dist/tanstack/analytics.cjs +2 -3
- package/dist/tanstack/analytics.d.cts +0 -2
- package/dist/tanstack/analytics.d.cts.map +1 -1
- package/dist/tanstack/analytics.d.mts +0 -2
- package/dist/tanstack/analytics.d.mts.map +1 -1
- package/dist/tanstack/analytics.mjs +2 -3
- package/dist/tanstack/middleware.cjs +1 -2
- package/dist/tanstack/middleware.d.cts +0 -2
- package/dist/tanstack/middleware.d.cts.map +1 -1
- package/dist/tanstack/middleware.d.mts +0 -2
- package/dist/tanstack/middleware.d.mts.map +1 -1
- package/dist/tanstack/middleware.mjs +1 -2
- package/dist/test/native-modules.d.cts +0 -2
- package/dist/test/native-modules.d.mts +0 -2
- package/dist/test/setup.cjs +1 -2
- package/dist/test/setup.d.cts +0 -2
- package/dist/test/setup.d.cts.map +1 -1
- package/dist/test/setup.d.mts +0 -2
- package/dist/test/setup.d.mts.map +1 -1
- package/dist/test/setup.mjs +1 -2
- package/dist/third-parties/google-analytics.cjs +1 -2
- package/dist/third-parties/google-analytics.d.cts +0 -2
- package/dist/third-parties/google-analytics.d.cts.map +1 -1
- package/dist/third-parties/google-analytics.d.mts +0 -2
- package/dist/third-parties/google-analytics.d.mts.map +1 -1
- package/dist/third-parties/google-analytics.mjs +1 -2
- package/dist/third-parties/ignored-events.cjs +1 -2
- package/dist/third-parties/ignored-events.d.cts +0 -2
- package/dist/third-parties/ignored-events.d.cts.map +1 -1
- package/dist/third-parties/ignored-events.d.mts +0 -2
- package/dist/third-parties/ignored-events.d.mts.map +1 -1
- package/dist/third-parties/ignored-events.mjs +1 -2
- package/dist/third-parties/linkedin-insight-tag.cjs +1 -2
- package/dist/third-parties/linkedin-insight-tag.d.cts +0 -2
- package/dist/third-parties/linkedin-insight-tag.d.cts.map +1 -1
- package/dist/third-parties/linkedin-insight-tag.d.mts +0 -2
- package/dist/third-parties/linkedin-insight-tag.d.mts.map +1 -1
- package/dist/third-parties/linkedin-insight-tag.mjs +1 -2
- package/dist/third-parties/meta-pixel.cjs +2 -3
- package/dist/third-parties/meta-pixel.d.cts +0 -2
- package/dist/third-parties/meta-pixel.d.cts.map +1 -1
- package/dist/third-parties/meta-pixel.d.mts +0 -2
- package/dist/third-parties/meta-pixel.d.mts.map +1 -1
- package/dist/third-parties/meta-pixel.mjs +2 -3
- package/dist/third-parties/microsoft-uet.cjs +1 -2
- package/dist/third-parties/microsoft-uet.d.cts +0 -2
- package/dist/third-parties/microsoft-uet.d.cts.map +1 -1
- package/dist/third-parties/microsoft-uet.d.mts +0 -2
- package/dist/third-parties/microsoft-uet.d.mts.map +1 -1
- package/dist/third-parties/microsoft-uet.mjs +1 -2
- package/dist/third-parties/openai-pixel.cjs +1 -2
- package/dist/third-parties/openai-pixel.d.cts +0 -2
- package/dist/third-parties/openai-pixel.d.cts.map +1 -1
- package/dist/third-parties/openai-pixel.d.mts +0 -2
- package/dist/third-parties/openai-pixel.d.mts.map +1 -1
- package/dist/third-parties/openai-pixel.mjs +1 -2
- package/dist/third-parties/posthog.cjs +1 -2
- package/dist/third-parties/posthog.d.cts +0 -2
- package/dist/third-parties/posthog.d.cts.map +1 -1
- package/dist/third-parties/posthog.d.mts +0 -2
- package/dist/third-parties/posthog.d.mts.map +1 -1
- package/dist/third-parties/posthog.mjs +1 -2
- package/dist/third-parties/reddit-pixel.cjs +1 -2
- package/dist/third-parties/reddit-pixel.d.cts +0 -2
- package/dist/third-parties/reddit-pixel.d.cts.map +1 -1
- package/dist/third-parties/reddit-pixel.d.mts +0 -2
- package/dist/third-parties/reddit-pixel.d.mts.map +1 -1
- package/dist/third-parties/reddit-pixel.mjs +1 -2
- package/dist/track/fbq.cjs +1 -2
- package/dist/track/fbq.d.cts +0 -2
- package/dist/track/fbq.d.cts.map +1 -1
- package/dist/track/fbq.d.mts +0 -2
- package/dist/track/fbq.d.mts.map +1 -1
- package/dist/track/fbq.mjs +1 -2
- package/dist/track/gtag.cjs +1 -2
- package/dist/track/gtag.d.cts +0 -2
- package/dist/track/gtag.d.cts.map +1 -1
- package/dist/track/gtag.d.mts +0 -2
- package/dist/track/gtag.d.mts.map +1 -1
- package/dist/track/gtag.mjs +1 -2
- package/dist/track/index.cjs +1 -2
- package/dist/track/index.d.cts +0 -2
- package/dist/track/index.d.cts.map +1 -1
- package/dist/track/index.d.mts +0 -2
- package/dist/track/index.d.mts.map +1 -1
- package/dist/track/index.mjs +1 -2
- package/dist/track/lintrk.d.cts +0 -2
- package/dist/track/lintrk.d.cts.map +1 -1
- package/dist/track/lintrk.d.mts +0 -2
- package/dist/track/lintrk.d.mts.map +1 -1
- package/dist/track/oaiq.cjs +1 -2
- package/dist/track/oaiq.d.cts +0 -2
- package/dist/track/oaiq.d.cts.map +1 -1
- package/dist/track/oaiq.d.mts +0 -2
- package/dist/track/oaiq.d.mts.map +1 -1
- package/dist/track/oaiq.mjs +1 -2
- package/dist/track/once.cjs +1 -2
- package/dist/track/once.d.cts +0 -2
- package/dist/track/once.d.cts.map +1 -1
- package/dist/track/once.d.mts +0 -2
- package/dist/track/once.d.mts.map +1 -1
- package/dist/track/once.mjs +1 -2
- package/dist/track/rdt.cjs +1 -2
- package/dist/track/rdt.d.cts +0 -2
- package/dist/track/rdt.d.cts.map +1 -1
- package/dist/track/rdt.d.mts +0 -2
- package/dist/track/rdt.d.mts.map +1 -1
- package/dist/track/rdt.mjs +1 -2
- package/dist/track/types.d.cts +0 -2
- package/dist/track/types.d.cts.map +1 -1
- package/dist/track/types.d.mts +0 -2
- package/dist/track/types.d.mts.map +1 -1
- package/dist/track/uetq.cjs +1 -2
- package/dist/track/uetq.d.cts +0 -2
- package/dist/track/uetq.d.cts.map +1 -1
- package/dist/track/uetq.d.mts +0 -2
- package/dist/track/uetq.d.mts.map +1 -1
- package/dist/track/uetq.mjs +1 -2
- package/dist/utils/field.cjs +1 -2
- package/dist/utils/field.d.cts +0 -2
- package/dist/utils/field.d.cts.map +1 -1
- package/dist/utils/field.d.mts +0 -2
- package/dist/utils/field.d.mts.map +1 -1
- package/dist/utils/field.mjs +1 -2
- package/dist/utils/redact-url.cjs +1 -2
- package/dist/utils/redact-url.d.cts +0 -2
- package/dist/utils/redact-url.d.cts.map +1 -1
- package/dist/utils/redact-url.d.mts +0 -2
- package/dist/utils/redact-url.d.mts.map +1 -1
- package/dist/utils/redact-url.mjs +1 -2
- package/dist/utils/sha256.cjs +1 -2
- package/dist/utils/sha256.d.cts +0 -2
- package/dist/utils/sha256.d.cts.map +1 -1
- package/dist/utils/sha256.d.mts +0 -2
- package/dist/utils/sha256.d.mts.map +1 -1
- package/dist/utils/sha256.mjs +1 -2
- package/dist/visitor/id.cjs +1 -2
- package/dist/visitor/id.d.cts +0 -2
- package/dist/visitor/id.d.cts.map +1 -1
- package/dist/visitor/id.d.mts +0 -2
- package/dist/visitor/id.d.mts.map +1 -1
- package/dist/visitor/id.mjs +1 -2
- package/dist/visitor/index.cjs +1 -2
- package/dist/visitor/index.d.cts +0 -2
- package/dist/visitor/index.d.cts.map +1 -1
- package/dist/visitor/index.d.mts +0 -2
- package/dist/visitor/index.d.mts.map +1 -1
- package/dist/visitor/index.mjs +1 -2
- package/dist/visitor/types.d.cts +0 -2
- package/dist/visitor/types.d.cts.map +1 -1
- package/dist/visitor/types.d.mts +0 -2
- package/dist/visitor/types.d.mts.map +1 -1
- package/dist/web/index.cjs +2 -3
- package/dist/web/index.d.cts +0 -2
- package/dist/web/index.d.cts.map +1 -1
- package/dist/web/index.d.mts +0 -2
- package/dist/web/index.d.mts.map +1 -1
- package/dist/web/index.mjs +2 -3
- package/dist/web/page-key.cjs +1 -2
- package/dist/web/page-key.d.cts +0 -2
- package/dist/web/page-key.d.cts.map +1 -1
- package/dist/web/page-key.d.mts +0 -2
- package/dist/web/page-key.d.mts.map +1 -1
- package/dist/web/page-key.mjs +1 -2
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deep-link.d.mts","names":[],"sources":["../../src/native/deep-link.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"deep-link.d.mts","names":[],"sources":["../../src/native/deep-link.ts"],"mappings":";qBAoDa,UAAU;;EAErB,OAAO"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { redactUrl } from "../utils/redact-url.mjs";
|
|
2
2
|
import { AppState, Linking } from "react-native";
|
|
3
|
-
|
|
3
|
+
// src/native/deep-link.ts
|
|
4
4
|
/**
|
|
5
5
|
* The link that opened the app for this visit, the app's landing page: `getTags` merges its URL
|
|
6
6
|
* (as `page_location`) and utm into every event's tags, so the session it starts is
|
|
@@ -68,7 +68,6 @@ const deepLink = {
|
|
|
68
68
|
openUrl = url || void 0;
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
|
-
//#endregion
|
|
72
71
|
export { deepLink };
|
|
73
72
|
|
|
74
73
|
//# sourceMappingURL=deep-link.mjs.map
|
package/dist/native/fbsdk.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_track_fbq = require("../track/fbq.cjs");
|
|
3
3
|
let react_native_fbsdk_next = require("react-native-fbsdk-next");
|
|
4
|
-
|
|
4
|
+
// src/native/fbsdk.ts
|
|
5
5
|
/**
|
|
6
6
|
* ref: https://developers.facebook.com/docs/app-events/guides/maximize-in-app-ad-revenue/
|
|
7
7
|
*/
|
|
@@ -9,7 +9,6 @@ async function sendFBEvent(name, properties) {
|
|
|
9
9
|
const [_, fbEventName, fbEventProperties] = require_track_fbq.mapFBEvent(name, properties);
|
|
10
10
|
react_native_fbsdk_next.AppEventsLogger.logEvent(fbEventName, fbEventProperties);
|
|
11
11
|
}
|
|
12
|
-
//#endregion
|
|
13
12
|
exports.sendFBEvent = sendFBEvent;
|
|
14
13
|
|
|
15
14
|
//# sourceMappingURL=fbsdk.cjs.map
|
package/dist/native/fbsdk.d.cts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { EventName, TrackName, TrackProperties } from "../track/types.cjs";
|
|
2
|
-
//#region src/native/fbsdk.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* ref: https://developers.facebook.com/docs/app-events/guides/maximize-in-app-ad-revenue/
|
|
5
4
|
*/
|
|
6
5
|
export declare function sendFBEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): Promise<void>;
|
|
7
|
-
//#endregion
|
|
8
6
|
//# sourceMappingURL=fbsdk.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fbsdk.d.cts","names":[],"sources":["../../src/native/fbsdk.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fbsdk.d.cts","names":[],"sources":["../../src/native/fbsdk.ts"],"mappings":";;;;wBAOsB,YAAY,UAAU,WAC1C,MAAM,UAAU,IAChB,aAAa,gBAAgB,KAAE"}
|
package/dist/native/fbsdk.d.mts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { EventName, TrackName, TrackProperties } from "../track/types.mjs";
|
|
2
|
-
//#region src/native/fbsdk.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* ref: https://developers.facebook.com/docs/app-events/guides/maximize-in-app-ad-revenue/
|
|
5
4
|
*/
|
|
6
5
|
export declare function sendFBEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): Promise<void>;
|
|
7
|
-
//#endregion
|
|
8
6
|
//# sourceMappingURL=fbsdk.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fbsdk.d.mts","names":[],"sources":["../../src/native/fbsdk.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fbsdk.d.mts","names":[],"sources":["../../src/native/fbsdk.ts"],"mappings":";;;;wBAOsB,YAAY,UAAU,WAC1C,MAAM,UAAU,IAChB,aAAa,gBAAgB,KAAE"}
|
package/dist/native/fbsdk.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mapFBEvent } from "../track/fbq.mjs";
|
|
2
2
|
import { AppEventsLogger } from "react-native-fbsdk-next";
|
|
3
|
-
|
|
3
|
+
// src/native/fbsdk.ts
|
|
4
4
|
/**
|
|
5
5
|
* ref: https://developers.facebook.com/docs/app-events/guides/maximize-in-app-ad-revenue/
|
|
6
6
|
*/
|
|
@@ -8,7 +8,6 @@ async function sendFBEvent(name, properties) {
|
|
|
8
8
|
const [_, fbEventName, fbEventProperties] = mapFBEvent(name, properties);
|
|
9
9
|
AppEventsLogger.logEvent(fbEventName, fbEventProperties);
|
|
10
10
|
}
|
|
11
|
-
//#endregion
|
|
12
11
|
export { sendFBEvent };
|
|
13
12
|
|
|
14
13
|
//# sourceMappingURL=fbsdk.mjs.map
|
|
@@ -4,7 +4,7 @@ let expo_application = require("expo-application");
|
|
|
4
4
|
let expo_clipboard = require("expo-clipboard");
|
|
5
5
|
let expo_device = require("expo-device");
|
|
6
6
|
let expo_localization = require("expo-localization");
|
|
7
|
-
|
|
7
|
+
// src/native/fingerprint.ts
|
|
8
8
|
/**
|
|
9
9
|
* reference: https://docs.swmansion.com/detour/docs/Architecture/matching
|
|
10
10
|
*
|
|
@@ -39,7 +39,6 @@ async function getProbabilisticFingerprint(shouldUseClipboard = true) {
|
|
|
39
39
|
timestamp: Date.now()
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
//#endregion
|
|
43
42
|
exports.getDeterministicFingerprint = getDeterministicFingerprint;
|
|
44
43
|
exports.getProbabilisticFingerprint = getProbabilisticFingerprint;
|
|
45
44
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/native/fingerprint.d.ts
|
|
2
1
|
export type DeterministicFingerprint = {
|
|
3
2
|
click_id: string | null;
|
|
4
3
|
};
|
|
@@ -23,5 +22,4 @@ export type ProbabilisticFingerprint = {
|
|
|
23
22
|
};
|
|
24
23
|
export declare function getDeterministicFingerprint(): Promise<DeterministicFingerprint>;
|
|
25
24
|
export declare function getProbabilisticFingerprint(shouldUseClipboard?: boolean): Promise<ProbabilisticFingerprint>;
|
|
26
|
-
//#endregion
|
|
27
25
|
//# sourceMappingURL=fingerprint.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fingerprint.d.cts","names":[],"sources":["../../src/native/fingerprint.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fingerprint.d.cts","names":[],"sources":["../../src/native/fingerprint.ts"],"mappings":"A,YAkBY;EACV;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;wBAGoB,+BAA+B,QAAQ;wBAOvC,4BACpB,+BACC,QAAQ"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/native/fingerprint.d.ts
|
|
2
1
|
export type DeterministicFingerprint = {
|
|
3
2
|
click_id: string | null;
|
|
4
3
|
};
|
|
@@ -23,5 +22,4 @@ export type ProbabilisticFingerprint = {
|
|
|
23
22
|
};
|
|
24
23
|
export declare function getDeterministicFingerprint(): Promise<DeterministicFingerprint>;
|
|
25
24
|
export declare function getProbabilisticFingerprint(shouldUseClipboard?: boolean): Promise<ProbabilisticFingerprint>;
|
|
26
|
-
//#endregion
|
|
27
25
|
//# sourceMappingURL=fingerprint.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fingerprint.d.mts","names":[],"sources":["../../src/native/fingerprint.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fingerprint.d.mts","names":[],"sources":["../../src/native/fingerprint.ts"],"mappings":"A,YAkBY;EACV;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;wBAGoB,+BAA+B,QAAQ;wBAOvC,4BACpB,+BACC,QAAQ"}
|
|
@@ -3,7 +3,7 @@ import { getInstallReferrerAsync } from "expo-application";
|
|
|
3
3
|
import { getStringAsync } from "expo-clipboard";
|
|
4
4
|
import { manufacturer, modelId, modelName, osName, osVersion, supportedCpuArchitectures } from "expo-device";
|
|
5
5
|
import { getCalendars, getLocales } from "expo-localization";
|
|
6
|
-
|
|
6
|
+
// src/native/fingerprint.ts
|
|
7
7
|
/**
|
|
8
8
|
* reference: https://docs.swmansion.com/detour/docs/Architecture/matching
|
|
9
9
|
*
|
|
@@ -38,7 +38,6 @@ async function getProbabilisticFingerprint(shouldUseClipboard = true) {
|
|
|
38
38
|
timestamp: Date.now()
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
//#endregion
|
|
42
41
|
export { getDeterministicFingerprint, getProbabilisticFingerprint };
|
|
43
42
|
|
|
44
43
|
//# sourceMappingURL=fingerprint.mjs.map
|
package/dist/native/firebase.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let _react_native_firebase_analytics = require("@react-native-firebase/analytics");
|
|
3
|
-
|
|
3
|
+
// src/native/firebase.ts
|
|
4
4
|
const analytics = (0, _react_native_firebase_analytics.getAnalytics)();
|
|
5
5
|
/**
|
|
6
6
|
* A `ThirdPartyTracker` for Firebase Analytics. Synchronous: @react-native-firebase/analytics 26
|
|
@@ -15,7 +15,6 @@ function sendFirebaseEvent(name, properties) {
|
|
|
15
15
|
});
|
|
16
16
|
else (0, _react_native_firebase_analytics.logEvent)(analytics, name, properties);
|
|
17
17
|
}
|
|
18
|
-
//#endregion
|
|
19
18
|
exports.sendFirebaseEvent = sendFirebaseEvent;
|
|
20
19
|
|
|
21
20
|
//# sourceMappingURL=firebase.cjs.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventName, TrackName, TrackProperties } from "../track/types.cjs";
|
|
2
|
-
//#region src/native/firebase.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* A `ThirdPartyTracker` for Firebase Analytics. Synchronous: @react-native-firebase/analytics 26
|
|
5
4
|
* made the modular `logEvent` fire-and-forget (void), and a tracker's return is `void | boolean`
|
|
@@ -7,5 +6,4 @@ import { EventName, TrackName, TrackProperties } from "../track/types.cjs";
|
|
|
7
6
|
* that still `await` it keep compiling.
|
|
8
7
|
*/
|
|
9
8
|
export declare function sendFirebaseEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): void;
|
|
10
|
-
//#endregion
|
|
11
9
|
//# sourceMappingURL=firebase.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firebase.d.cts","names":[],"sources":["../../src/native/firebase.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"firebase.d.cts","names":[],"sources":["../../src/native/firebase.ts"],"mappings":";;;;;;;wBAYgB,kBAAkB,UAAU,WAC1C,MAAM,UAAU,IAChB,aAAa,gBAAgB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventName, TrackName, TrackProperties } from "../track/types.mjs";
|
|
2
|
-
//#region src/native/firebase.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* A `ThirdPartyTracker` for Firebase Analytics. Synchronous: @react-native-firebase/analytics 26
|
|
5
4
|
* made the modular `logEvent` fire-and-forget (void), and a tracker's return is `void | boolean`
|
|
@@ -7,5 +6,4 @@ import { EventName, TrackName, TrackProperties } from "../track/types.mjs";
|
|
|
7
6
|
* that still `await` it keep compiling.
|
|
8
7
|
*/
|
|
9
8
|
export declare function sendFirebaseEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): void;
|
|
10
|
-
//#endregion
|
|
11
9
|
//# sourceMappingURL=firebase.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firebase.d.mts","names":[],"sources":["../../src/native/firebase.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"firebase.d.mts","names":[],"sources":["../../src/native/firebase.ts"],"mappings":";;;;;;;wBAYgB,kBAAkB,UAAU,WAC1C,MAAM,UAAU,IAChB,aAAa,gBAAgB"}
|
package/dist/native/firebase.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getAnalytics, logEvent } from "@react-native-firebase/analytics";
|
|
2
|
-
|
|
2
|
+
// src/native/firebase.ts
|
|
3
3
|
const analytics = getAnalytics();
|
|
4
4
|
/**
|
|
5
5
|
* A `ThirdPartyTracker` for Firebase Analytics. Synchronous: @react-native-firebase/analytics 26
|
|
@@ -14,7 +14,6 @@ function sendFirebaseEvent(name, properties) {
|
|
|
14
14
|
});
|
|
15
15
|
else logEvent(analytics, name, properties);
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
17
|
export { sendFirebaseEvent };
|
|
19
18
|
|
|
20
19
|
//# sourceMappingURL=firebase.mjs.map
|
package/dist/native/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_hooks_use_app_analytics = require("../hooks/use-app-analytics.cjs");
|
|
2
3
|
const require_native_deep_link = require("./deep-link.cjs");
|
|
3
4
|
const require_native_fingerprint = require("./fingerprint.cjs");
|
|
4
5
|
const require_native_setup = require("./setup.cjs");
|
|
5
|
-
const require_hooks_use_app_analytics = require("../hooks/use-app-analytics.cjs");
|
|
6
6
|
exports.deepLink = require_native_deep_link.deepLink;
|
|
7
7
|
exports.getDeterministicFingerprint = require_native_fingerprint.getDeterministicFingerprint;
|
|
8
8
|
exports.getDeviceId = require_native_setup.getDeviceId;
|
package/dist/native/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { useAppAnalytics } from "../hooks/use-app-analytics.mjs";
|
|
1
2
|
import { deepLink } from "./deep-link.mjs";
|
|
2
3
|
import { getDeterministicFingerprint, getProbabilisticFingerprint } from "./fingerprint.mjs";
|
|
3
4
|
import { getDeviceId, getDeviceType, getTags, storage } from "./setup.mjs";
|
|
4
|
-
import { useAppAnalytics } from "../hooks/use-app-analytics.mjs";
|
|
5
5
|
export { deepLink, getDeterministicFingerprint, getDeviceId, getDeviceType, getProbabilisticFingerprint, getTags, storage, useAppAnalytics };
|
package/dist/native/posthog.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posthog.d.cts","names":[],"sources":["../../src/native/posthog.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"posthog.d.cts","names":[],"sources":["../../src/native/posthog.ts"],"mappings":"A,wBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posthog.d.mts","names":[],"sources":["../../src/native/posthog.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"posthog.d.mts","names":[],"sources":["../../src/native/posthog.ts"],"mappings":"A,wBAAgB"}
|
package/dist/native/posthog.mjs
CHANGED
package/dist/native/setup.cjs
CHANGED
|
@@ -8,7 +8,7 @@ let expo_localization = require("expo-localization");
|
|
|
8
8
|
require("expo-sqlite/localStorage/install");
|
|
9
9
|
let expo_crypto = require("expo-crypto");
|
|
10
10
|
let expo_tracking_transparency = require("expo-tracking-transparency");
|
|
11
|
-
|
|
11
|
+
// src/native/setup.ts
|
|
12
12
|
const map = /* @__PURE__ */ new Map();
|
|
13
13
|
const storage = {
|
|
14
14
|
getItem: (key) => {
|
|
@@ -137,7 +137,6 @@ async function getTags() {
|
|
|
137
137
|
require_setup_index.cache.tags = tags;
|
|
138
138
|
return tags;
|
|
139
139
|
}
|
|
140
|
-
//#endregion
|
|
141
140
|
exports.getDeviceId = getDeviceId;
|
|
142
141
|
exports.getDeviceType = getDeviceType;
|
|
143
142
|
exports.getTags = getTags;
|
package/dist/native/setup.d.cts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { TrackTags } from "../track/types.cjs";
|
|
2
2
|
import { Storage } from "../setup/index.cjs";
|
|
3
3
|
import "expo-sqlite/localStorage/install";
|
|
4
|
-
//#region src/native/setup.d.ts
|
|
5
4
|
export declare const storage: Storage;
|
|
6
5
|
export declare function getDeviceId(): Promise<string>;
|
|
7
6
|
export declare function getDeviceType(): string | undefined;
|
|
8
7
|
export declare function getTags(): Promise<TrackTags>;
|
|
9
|
-
//#endregion
|
|
10
8
|
//# sourceMappingURL=setup.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.cts","names":[],"sources":["../../src/native/setup.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"setup.d.cts","names":[],"sources":["../../src/native/setup.ts"],"mappings":";;;qBAqBa,SAAS;wBA2BN,eAAe;wBAkCf;wBA0CM,WAAW,QAAQ"}
|
package/dist/native/setup.d.mts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { TrackTags } from "../track/types.mjs";
|
|
2
2
|
import { Storage } from "../setup/index.mjs";
|
|
3
3
|
import "expo-sqlite/localStorage/install";
|
|
4
|
-
//#region src/native/setup.d.ts
|
|
5
4
|
export declare const storage: Storage;
|
|
6
5
|
export declare function getDeviceId(): Promise<string>;
|
|
7
6
|
export declare function getDeviceType(): string | undefined;
|
|
8
7
|
export declare function getTags(): Promise<TrackTags>;
|
|
9
|
-
//#endregion
|
|
10
8
|
//# sourceMappingURL=setup.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.mts","names":[],"sources":["../../src/native/setup.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"setup.d.mts","names":[],"sources":["../../src/native/setup.ts"],"mappings":";;;qBAqBa,SAAS;wBA2BN,eAAe;wBAkCf;wBA0CM,WAAW,QAAQ"}
|
package/dist/native/setup.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { getCalendars, getLocales } from "expo-localization";
|
|
|
7
7
|
import "expo-sqlite/localStorage/install";
|
|
8
8
|
import { randomUUID } from "expo-crypto";
|
|
9
9
|
import { getAdvertisingId } from "expo-tracking-transparency";
|
|
10
|
-
|
|
10
|
+
// src/native/setup.ts
|
|
11
11
|
const map = /* @__PURE__ */ new Map();
|
|
12
12
|
const storage = {
|
|
13
13
|
getItem: (key) => {
|
|
@@ -136,7 +136,6 @@ async function getTags() {
|
|
|
136
136
|
cache.tags = tags;
|
|
137
137
|
return tags;
|
|
138
138
|
}
|
|
139
|
-
//#endregion
|
|
140
139
|
export { getDeviceId, getDeviceType, getTags, storage };
|
|
141
140
|
|
|
142
141
|
//# sourceMappingURL=setup.mjs.map
|
package/dist/next/index.cjs
CHANGED
|
@@ -11,7 +11,7 @@ let next_script = require("next/script");
|
|
|
11
11
|
next_script = require_runtime.__toESM(next_script, 1);
|
|
12
12
|
let next_web_vitals = require("next/web-vitals");
|
|
13
13
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
14
|
-
|
|
14
|
+
// src/next/index.tsx
|
|
15
15
|
/**
|
|
16
16
|
* Its own component under a Suspense boundary: `useSearchParams` in a statically rendered route
|
|
17
17
|
* bails the whole tree out to client rendering unless something above it suspends, and Next
|
|
@@ -172,7 +172,6 @@ function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, hotjarId, reddi
|
|
|
172
172
|
})
|
|
173
173
|
] });
|
|
174
174
|
}
|
|
175
|
-
//#endregion
|
|
176
175
|
exports.Analytics = Analytics;
|
|
177
176
|
|
|
178
177
|
//# sourceMappingURL=index.cjs.map
|
package/dist/next/index.d.cts
CHANGED
|
@@ -2,7 +2,6 @@ import { GaId } from "../track/gtag.cjs";
|
|
|
2
2
|
import { PixelId } from "../track/fbq.cjs";
|
|
3
3
|
import { PixelId as PixelId$1 } from "../track/rdt.cjs";
|
|
4
4
|
import { UETConsent } from "../track/uetq.cjs";
|
|
5
|
-
//#region src/next/index.d.ts
|
|
6
5
|
interface Props {
|
|
7
6
|
gaId?: GaId;
|
|
8
7
|
gaSrc?: string;
|
|
@@ -29,6 +28,5 @@ interface Props {
|
|
|
29
28
|
reportWebVitals?: boolean;
|
|
30
29
|
}
|
|
31
30
|
export declare function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, hotjarId, redditPixelId, linkedInPartnerId, uetTagId, uetCustomerId, uetConsent, facebookAppId, reportWebVitals }: Props): import("react").JSX.Element;
|
|
32
|
-
//#endregion
|
|
33
31
|
export {};
|
|
34
32
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":["MetaPixelId","RedditPixelId"],"sources":["../../src/next/index.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":["MetaPixelId","RedditPixelId"],"sources":["../../src/next/index.tsx"],"mappings":";;;;UAeU;EACR,OAAO;EACP;EACA;EACA,cAAcA;EACd,gBAAgBC;EAChB;;EAEA;;EAEA;;;;;;;;;EASA,aAAa;EACb;EACA;EACA;EACA;;wBAec,YACd,MACA,OACA,OACA,WACA,aACA,UACA,eACA,mBACA,UACA,eACA,YACA,eACA,mBACC,wBAAK,IAAA"}
|
package/dist/next/index.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import { GaId } from "../track/gtag.mjs";
|
|
|
2
2
|
import { PixelId } from "../track/fbq.mjs";
|
|
3
3
|
import { PixelId as PixelId$1 } from "../track/rdt.mjs";
|
|
4
4
|
import { UETConsent } from "../track/uetq.mjs";
|
|
5
|
-
//#region src/next/index.d.ts
|
|
6
5
|
interface Props {
|
|
7
6
|
gaId?: GaId;
|
|
8
7
|
gaSrc?: string;
|
|
@@ -29,6 +28,5 @@ interface Props {
|
|
|
29
28
|
reportWebVitals?: boolean;
|
|
30
29
|
}
|
|
31
30
|
export declare function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, hotjarId, redditPixelId, linkedInPartnerId, uetTagId, uetCustomerId, uetConsent, facebookAppId, reportWebVitals }: Props): import("react").JSX.Element;
|
|
32
|
-
//#endregion
|
|
33
31
|
export {};
|
|
34
32
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":["MetaPixelId","RedditPixelId"],"sources":["../../src/next/index.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":["MetaPixelId","RedditPixelId"],"sources":["../../src/next/index.tsx"],"mappings":";;;;UAeU;EACR,OAAO;EACP;EACA;EACA,cAAcA;EACd,gBAAgBC;EAChB;;EAEA;;EAEA;;;;;;;;;EASA,aAAa;EACb;EACA;EACA;EACA;;wBAec,YACd,MACA,OACA,OACA,WACA,aACA,UACA,eACA,mBACA,UACA,eACA,YACA,eACA,mBACC,wBAAK,IAAA"}
|
package/dist/next/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { usePathname, useSearchParams } from "next/navigation";
|
|
|
8
8
|
import Script from "next/script";
|
|
9
9
|
import { useReportWebVitals } from "next/web-vitals";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
|
|
11
|
+
// src/next/index.tsx
|
|
12
12
|
/**
|
|
13
13
|
* Its own component under a Suspense boundary: `useSearchParams` in a statically rendered route
|
|
14
14
|
* bails the whole tree out to client rendering unless something above it suspends, and Next
|
|
@@ -169,7 +169,6 @@ function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, hotjarId, reddi
|
|
|
169
169
|
})
|
|
170
170
|
] });
|
|
171
171
|
}
|
|
172
|
-
//#endregion
|
|
173
172
|
export { Analytics };
|
|
174
173
|
|
|
175
174
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../node_modules/.pnpm/bowser@2.14.1/node_modules/bowser/es5.js
|
|
2
2
|
var require_es5 = /* @__PURE__ */ require("../../../../../_virtual/_rolldown/runtime.cjs").__commonJSMin(((exports, module, this$1) => {
|
|
3
3
|
(function(e, t) {
|
|
4
4
|
"object" == typeof exports && "object" == typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? exports.bowser = t() : e.bowser = t();
|
|
@@ -1714,7 +1714,6 @@ var require_es5 = /* @__PURE__ */ require("../../../../../_virtual/_rolldown/run
|
|
|
1714
1714
|
});
|
|
1715
1715
|
}));
|
|
1716
1716
|
}));
|
|
1717
|
-
//#endregion
|
|
1718
1717
|
Object.defineProperty(exports, "default", {
|
|
1719
1718
|
enumerable: true,
|
|
1720
1719
|
get: function() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
-
|
|
2
|
+
// ../../node_modules/.pnpm/bowser@2.14.1/node_modules/bowser/es5.js
|
|
3
3
|
var require_es5 = /* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
|
|
4
4
|
(function(e, t) {
|
|
5
5
|
"object" == typeof exports && "object" == typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? exports.bowser = t() : e.bowser = t();
|
|
@@ -1715,7 +1715,6 @@ var require_es5 = /* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
|
|
|
1715
1715
|
});
|
|
1716
1716
|
}));
|
|
1717
1717
|
}));
|
|
1718
|
-
//#endregion
|
|
1719
1718
|
export default require_es5();
|
|
1720
1719
|
export { require_es5 };
|
|
1721
1720
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_track_index = require("../track/index.cjs");
|
|
3
3
|
const require_hooks_use_outbound_click_analytics = require("../hooks/use-outbound-click-analytics.cjs");
|
|
4
|
+
const require_hooks_use_report_web_vitals = require("../hooks/use-report-web-vitals.cjs");
|
|
4
5
|
const require_hooks_use_uet_id_sync = require("../hooks/use-uet-id-sync.cjs");
|
|
5
6
|
const require_hooks_use_web_analytics = require("../hooks/use-web-analytics.cjs");
|
|
6
|
-
const require_hooks_use_report_web_vitals = require("../hooks/use-report-web-vitals.cjs");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
let react_router = require("react-router");
|
|
9
|
-
|
|
9
|
+
// src/react-router/index.tsx
|
|
10
10
|
function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, redditPixelId, linkedInPartnerId, uetTagId, uetCustomerId, hotjarId, facebookAppId, reportWebVitals = true }) {
|
|
11
11
|
const { pathname, search } = (0, react_router.useLocation)();
|
|
12
12
|
require_hooks_use_web_analytics.useWebAnalytics(pathname, search);
|
|
@@ -155,7 +155,6 @@ function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, redditPixelId,
|
|
|
155
155
|
})
|
|
156
156
|
] });
|
|
157
157
|
}
|
|
158
|
-
//#endregion
|
|
159
158
|
exports.Analytics = Analytics;
|
|
160
159
|
|
|
161
160
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { GaId } from "../track/gtag.cjs";
|
|
2
2
|
import { PixelId } from "../track/fbq.cjs";
|
|
3
3
|
import { PixelId as PixelId$1 } from "../track/rdt.cjs";
|
|
4
|
-
//#region src/react-router/index.d.ts
|
|
5
4
|
interface Props {
|
|
6
5
|
gaId?: GaId;
|
|
7
6
|
gaSrc?: string;
|
|
@@ -19,6 +18,5 @@ interface Props {
|
|
|
19
18
|
reportWebVitals?: boolean;
|
|
20
19
|
}
|
|
21
20
|
export declare function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, redditPixelId, linkedInPartnerId, uetTagId, uetCustomerId, hotjarId, facebookAppId, reportWebVitals }: Props): import("react").JSX.Element;
|
|
22
|
-
//#endregion
|
|
23
21
|
export {};
|
|
24
22
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":["MetaPixelId","RedditPixelId"],"sources":["../../src/react-router/index.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":["MetaPixelId","RedditPixelId"],"sources":["../../src/react-router/index.tsx"],"mappings":";;;UAUU;EACR,OAAO;EACP;EACA,cAAcA;EACd,gBAAgBC;EAChB;;EAEA;;EAEA;EACA;EACA;EACA;EACA;EACA;;wBAGc,YACd,MACA,OACA,OACA,WACA,aACA,eACA,mBACA,UACA,eACA,UACA,eACA,mBACC,wBAAK,IAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { GaId } from "../track/gtag.mjs";
|
|
2
2
|
import { PixelId } from "../track/fbq.mjs";
|
|
3
3
|
import { PixelId as PixelId$1 } from "../track/rdt.mjs";
|
|
4
|
-
//#region src/react-router/index.d.ts
|
|
5
4
|
interface Props {
|
|
6
5
|
gaId?: GaId;
|
|
7
6
|
gaSrc?: string;
|
|
@@ -19,6 +18,5 @@ interface Props {
|
|
|
19
18
|
reportWebVitals?: boolean;
|
|
20
19
|
}
|
|
21
20
|
export declare function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, redditPixelId, linkedInPartnerId, uetTagId, uetCustomerId, hotjarId, facebookAppId, reportWebVitals }: Props): import("react").JSX.Element;
|
|
22
|
-
//#endregion
|
|
23
21
|
export {};
|
|
24
22
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":["MetaPixelId","RedditPixelId"],"sources":["../../src/react-router/index.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":["MetaPixelId","RedditPixelId"],"sources":["../../src/react-router/index.tsx"],"mappings":";;;UAUU;EACR,OAAO;EACP;EACA,cAAcA;EACd,gBAAgBC;EAChB;;EAEA;;EAEA;EACA;EACA;EACA;EACA;EACA;;wBAGc,YACd,MACA,OACA,OACA,WACA,aACA,eACA,mBACA,UACA,eACA,UACA,eACA,mBACC,wBAAK,IAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { track } from "../track/index.mjs";
|
|
2
2
|
import { useOutboundClickAnalytics } from "../hooks/use-outbound-click-analytics.mjs";
|
|
3
|
+
import { useReportWebVitals } from "../hooks/use-report-web-vitals.mjs";
|
|
3
4
|
import { useUETIdSync } from "../hooks/use-uet-id-sync.mjs";
|
|
4
5
|
import { useWebAnalytics } from "../hooks/use-web-analytics.mjs";
|
|
5
|
-
import { useReportWebVitals } from "../hooks/use-report-web-vitals.mjs";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { useLocation } from "react-router";
|
|
8
|
-
|
|
8
|
+
// src/react-router/index.tsx
|
|
9
9
|
function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, redditPixelId, linkedInPartnerId, uetTagId, uetCustomerId, hotjarId, facebookAppId, reportWebVitals = true }) {
|
|
10
10
|
const { pathname, search } = useLocation();
|
|
11
11
|
useWebAnalytics(pathname, search);
|
|
@@ -154,7 +154,6 @@ function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, redditPixelId,
|
|
|
154
154
|
})
|
|
155
155
|
] });
|
|
156
156
|
}
|
|
157
|
-
//#endregion
|
|
158
157
|
export { Analytics };
|
|
159
158
|
|
|
160
159
|
//# sourceMappingURL=index.mjs.map
|
package/dist/schema/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let zod_mini = require("zod/mini");
|
|
3
|
-
|
|
3
|
+
// src/schema/index.ts
|
|
4
4
|
const MAX_KEY_LENGTH = 128;
|
|
5
5
|
const MAX_VALUE_LENGTH = 512;
|
|
6
6
|
const MAX_PROPERTIES = 64;
|
|
@@ -307,7 +307,6 @@ const createLinkSchema = (0, zod_mini.object)({
|
|
|
307
307
|
* */
|
|
308
308
|
utm_marketing_tactic: (0, zod_mini.optional)(noEmptyString)
|
|
309
309
|
});
|
|
310
|
-
//#endregion
|
|
311
310
|
exports.ALL_ENVIRONMENTS = ALL_ENVIRONMENTS;
|
|
312
311
|
exports.ALL_PLATFORMS = ALL_PLATFORMS;
|
|
313
312
|
exports.createFeedbackSchema = createFeedbackSchema;
|
package/dist/schema/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { iso, z } from "zod/mini";
|
|
2
|
-
//#region src/schema/index.d.ts
|
|
3
2
|
export declare const ALL_PLATFORMS: ["ios", "android", "web", "macos", "windows", "linux", "unknown"];
|
|
4
3
|
export declare const ALL_ENVIRONMENTS: ["development", "production"];
|
|
5
4
|
export declare const tagsSchema: z.ZodMiniObject<{
|
|
@@ -601,5 +600,4 @@ export type CreateLinkDTO = z.output<typeof createLinkSchema>;
|
|
|
601
600
|
export type CreateVisitorDTO = z.output<typeof createVisitorSchema>;
|
|
602
601
|
export type UserProvidedDataDTO = z.output<typeof userProvidedDataSchema>;
|
|
603
602
|
export type UpdateVisitorDTO = z.output<typeof updateVisitorSchema>;
|
|
604
|
-
//#endregion
|
|
605
603
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/schema/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/schema/index.ts"],"mappings":";qBAkGa;qBAUA;qBAEA,YAAU,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwGrB,EAAA,KAAA;qBAEW,kBAAgB,EAAA,gBAAA,EAAA,YAAA,EAAA,cAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA,YAAA,EAAA,uBAAA,EAAA,mCAAA,EAAA,uBAAA,EAAA,yBAAA,EAAA,aAAA,EAAA,YAAA,EAAA,aAAA,EAAA,YAAA,EAAA,cAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA,YAAA,EAAA,uBAAA,EAAA,mCAAA,EAAA,uBAAA,EAAA,yBAAA,EAAA,gBAAA,EAAA,iBAAA,kDAAA,qDAAA,EAAA,iBAAA,oDAAA,yDAAA,EAAA,iBAAA,2CAAA,4DAAA,2CAAA;qBAoChB,wBAAsB,EAAA,YAAA,EAAA,aAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA+BtB,qBAAmB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAK9B,EAAA,KAAA;;;;;;;;;;;qBA6BW,wBAAsB,EAAA;;;;;;;;;;;;;;;;;;;;GAIjC,EAAA,KAAA;qBAEW,qBAAmB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAS9B,EAAA,KAAA;qBAEW,sBAAoB,EAAA;;;;GAM/B,EAAA,KAAA;;;;;qBAWW,kBAAgB,EAAA;;;;;;;;;;;GA+C3B,EAAA,KAAA;YAEU,sBAAsB,EAAE,cAAc;YACtC,oBAAoB,EAAE,cAAc;YACpC,gBAAgB,EAAE,cAAc;YAChC,mBAAmB,EAAE,cAAc;YACnC,sBAAsB,EAAE,cAAc;YACtC,mBAAmB,EAAE,cAAc"}
|
package/dist/schema/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { iso, z } from "zod/mini";
|
|
2
|
-
//#region src/schema/index.d.ts
|
|
3
2
|
export declare const ALL_PLATFORMS: ["ios", "android", "web", "macos", "windows", "linux", "unknown"];
|
|
4
3
|
export declare const ALL_ENVIRONMENTS: ["development", "production"];
|
|
5
4
|
export declare const tagsSchema: z.ZodMiniObject<{
|
|
@@ -601,5 +600,4 @@ export type CreateLinkDTO = z.output<typeof createLinkSchema>;
|
|
|
601
600
|
export type CreateVisitorDTO = z.output<typeof createVisitorSchema>;
|
|
602
601
|
export type UserProvidedDataDTO = z.output<typeof userProvidedDataSchema>;
|
|
603
602
|
export type UpdateVisitorDTO = z.output<typeof updateVisitorSchema>;
|
|
604
|
-
//#endregion
|
|
605
603
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/schema/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/schema/index.ts"],"mappings":";qBAkGa;qBAUA;qBAEA,YAAU,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwGrB,EAAA,KAAA;qBAEW,kBAAgB,EAAA,gBAAA,EAAA,YAAA,EAAA,cAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA,YAAA,EAAA,uBAAA,EAAA,mCAAA,EAAA,uBAAA,EAAA,yBAAA,EAAA,aAAA,EAAA,YAAA,EAAA,aAAA,EAAA,YAAA,EAAA,cAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA,YAAA,EAAA,uBAAA,EAAA,mCAAA,EAAA,uBAAA,EAAA,yBAAA,EAAA,gBAAA,EAAA,iBAAA,kDAAA,qDAAA,EAAA,iBAAA,oDAAA,yDAAA,EAAA,iBAAA,2CAAA,4DAAA,2CAAA;qBAoChB,wBAAsB,EAAA,YAAA,EAAA,aAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA+BtB,qBAAmB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAK9B,EAAA,KAAA;;;;;;;;;;;qBA6BW,wBAAsB,EAAA;;;;;;;;;;;;;;;;;;;;GAIjC,EAAA,KAAA;qBAEW,qBAAmB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAS9B,EAAA,KAAA;qBAEW,sBAAoB,EAAA;;;;GAM/B,EAAA,KAAA;;;;;qBAWW,kBAAgB,EAAA;;;;;;;;;;;GA+C3B,EAAA,KAAA;YAEU,sBAAsB,EAAE,cAAc;YACtC,oBAAoB,EAAE,cAAc;YACpC,gBAAgB,EAAE,cAAc;YAChC,mBAAmB,EAAE,cAAc;YACnC,sBAAsB,EAAE,cAAc;YACtC,mBAAmB,EAAE,cAAc"}
|