@shware/analytics 8.12.0 → 8.13.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/attribution/classify.cjs +35 -26
- package/dist/attribution/classify.cjs.map +1 -1
- package/dist/attribution/classify.d.cts +15 -9
- package/dist/attribution/classify.d.cts.map +1 -1
- package/dist/attribution/classify.d.mts +15 -9
- package/dist/attribution/classify.d.mts.map +1 -1
- package/dist/attribution/classify.mjs +36 -27
- package/dist/attribution/classify.mjs.map +1 -1
- package/dist/attribution/index.cjs +2 -0
- package/dist/attribution/index.d.cts +2 -2
- package/dist/attribution/index.d.mts +2 -2
- package/dist/attribution/index.mjs +2 -2
- package/dist/attribution/vocabulary.cjs +207 -34
- package/dist/attribution/vocabulary.cjs.map +1 -1
- package/dist/attribution/vocabulary.d.cts +75 -31
- package/dist/attribution/vocabulary.d.cts.map +1 -1
- package/dist/attribution/vocabulary.d.mts +75 -31
- package/dist/attribution/vocabulary.d.mts.map +1 -1
- package/dist/attribution/vocabulary.mjs +206 -35
- package/dist/attribution/vocabulary.mjs.map +1 -1
- package/dist/click-id/index.d.cts +18 -19
- package/dist/click-id/index.d.cts.map +1 -1
- package/dist/click-id/index.d.mts +18 -19
- package/dist/click-id/index.d.mts.map +1 -1
- package/dist/constants/storage.d.cts +1 -2
- package/dist/constants/storage.d.cts.map +1 -1
- package/dist/constants/storage.d.mts +1 -2
- package/dist/constants/storage.d.mts.map +1 -1
- package/dist/feedback/index.d.cts +1 -2
- package/dist/feedback/index.d.cts.map +1 -1
- package/dist/feedback/index.d.mts +1 -2
- package/dist/feedback/index.d.mts.map +1 -1
- package/dist/hooks/use-app-analytics.d.cts +1 -2
- package/dist/hooks/use-app-analytics.d.cts.map +1 -1
- package/dist/hooks/use-app-analytics.d.mts +1 -2
- package/dist/hooks/use-app-analytics.d.mts.map +1 -1
- package/dist/hooks/use-outbound-click-analytics.d.cts +1 -2
- package/dist/hooks/use-outbound-click-analytics.d.cts.map +1 -1
- package/dist/hooks/use-outbound-click-analytics.d.mts +1 -2
- package/dist/hooks/use-outbound-click-analytics.d.mts.map +1 -1
- package/dist/hooks/use-previous.d.cts +1 -2
- package/dist/hooks/use-previous.d.cts.map +1 -1
- package/dist/hooks/use-previous.d.mts +1 -2
- package/dist/hooks/use-previous.d.mts.map +1 -1
- package/dist/hooks/use-report-web-vitals.d.cts +1 -2
- package/dist/hooks/use-report-web-vitals.d.cts.map +1 -1
- package/dist/hooks/use-report-web-vitals.d.mts +1 -2
- package/dist/hooks/use-report-web-vitals.d.mts.map +1 -1
- package/dist/hooks/use-track-impression.d.cts +1 -2
- package/dist/hooks/use-track-impression.d.cts.map +1 -1
- package/dist/hooks/use-track-impression.d.mts +1 -2
- package/dist/hooks/use-track-impression.d.mts.map +1 -1
- package/dist/hooks/use-uet-id-sync.d.cts +1 -2
- package/dist/hooks/use-uet-id-sync.d.cts.map +1 -1
- package/dist/hooks/use-uet-id-sync.d.mts +1 -2
- package/dist/hooks/use-uet-id-sync.d.mts.map +1 -1
- package/dist/hooks/use-web-analytics.d.cts +1 -2
- package/dist/hooks/use-web-analytics.d.cts.map +1 -1
- package/dist/hooks/use-web-analytics.d.mts +1 -2
- package/dist/hooks/use-web-analytics.d.mts.map +1 -1
- package/dist/link/index.d.cts +3 -4
- package/dist/link/index.d.cts.map +1 -1
- package/dist/link/index.d.mts +3 -4
- package/dist/link/index.d.mts.map +1 -1
- package/dist/native/fbsdk.d.cts +1 -2
- package/dist/native/fbsdk.d.cts.map +1 -1
- package/dist/native/fbsdk.d.mts +1 -2
- package/dist/native/fbsdk.d.mts.map +1 -1
- package/dist/native/fingerprint.d.cts +4 -5
- package/dist/native/fingerprint.d.cts.map +1 -1
- package/dist/native/fingerprint.d.mts +4 -5
- package/dist/native/fingerprint.d.mts.map +1 -1
- package/dist/native/firebase.d.cts +1 -2
- package/dist/native/firebase.d.cts.map +1 -1
- package/dist/native/firebase.d.mts +1 -2
- package/dist/native/firebase.d.mts.map +1 -1
- package/dist/native/posthog.d.cts +1 -2
- package/dist/native/posthog.d.cts.map +1 -1
- package/dist/native/posthog.d.mts +1 -2
- package/dist/native/posthog.d.mts.map +1 -1
- package/dist/native/setup.d.cts +4 -5
- package/dist/native/setup.d.cts.map +1 -1
- package/dist/native/setup.d.mts +4 -5
- package/dist/native/setup.d.mts.map +1 -1
- package/dist/next/index.cjs +14 -14
- package/dist/next/index.cjs.map +1 -1
- package/dist/next/index.d.cts +1 -2
- package/dist/next/index.d.cts.map +1 -1
- package/dist/next/index.d.mts +1 -2
- package/dist/next/index.d.mts.map +1 -1
- package/dist/next/index.mjs +3 -3
- package/dist/react-router/index.d.cts +1 -2
- package/dist/react-router/index.d.cts.map +1 -1
- package/dist/react-router/index.d.mts +1 -2
- package/dist/react-router/index.d.mts.map +1 -1
- package/dist/schema/index.d.cts +16 -17
- package/dist/schema/index.d.cts.map +1 -1
- package/dist/schema/index.d.mts +16 -17
- package/dist/schema/index.d.mts.map +1 -1
- package/dist/server/action-source.d.cts +3 -4
- package/dist/server/action-source.d.cts.map +1 -1
- package/dist/server/action-source.d.mts +3 -4
- package/dist/server/action-source.d.mts.map +1 -1
- package/dist/server/google-data-manager.d.cts +9 -10
- package/dist/server/google-data-manager.d.cts.map +1 -1
- package/dist/server/google-data-manager.d.mts +9 -10
- package/dist/server/google-data-manager.d.mts.map +1 -1
- package/dist/server/linkedin-conversions-api.d.cts +4 -5
- package/dist/server/linkedin-conversions-api.d.cts.map +1 -1
- package/dist/server/linkedin-conversions-api.d.mts +4 -5
- package/dist/server/linkedin-conversions-api.d.mts.map +1 -1
- package/dist/server/meta-capi.d.cts +5 -6
- package/dist/server/meta-capi.d.cts.map +1 -1
- package/dist/server/meta-capi.d.mts +5 -6
- package/dist/server/meta-capi.d.mts.map +1 -1
- package/dist/server/meta-conversions-api.d.cts +4 -5
- package/dist/server/meta-conversions-api.d.cts.map +1 -1
- package/dist/server/meta-conversions-api.d.mts +4 -5
- package/dist/server/meta-conversions-api.d.mts.map +1 -1
- package/dist/server/microsoft-conversions-api.d.cts +11 -12
- package/dist/server/microsoft-conversions-api.d.cts.map +1 -1
- package/dist/server/microsoft-conversions-api.d.mts +11 -12
- package/dist/server/microsoft-conversions-api.d.mts.map +1 -1
- package/dist/server/openai-conversions-api.d.cts +5 -6
- package/dist/server/openai-conversions-api.d.cts.map +1 -1
- package/dist/server/openai-conversions-api.d.mts +5 -6
- package/dist/server/openai-conversions-api.d.mts.map +1 -1
- package/dist/server/page-location.d.cts +1 -2
- package/dist/server/page-location.d.cts.map +1 -1
- package/dist/server/page-location.d.mts +1 -2
- package/dist/server/page-location.d.mts.map +1 -1
- package/dist/server/reddit-conversions-api.d.cts +4 -5
- package/dist/server/reddit-conversions-api.d.cts.map +1 -1
- package/dist/server/reddit-conversions-api.d.mts +4 -5
- package/dist/server/reddit-conversions-api.d.mts.map +1 -1
- package/dist/setup/index.d.cts +5 -6
- package/dist/setup/index.d.cts.map +1 -1
- package/dist/setup/index.d.mts +5 -6
- package/dist/setup/index.d.mts.map +1 -1
- package/dist/setup/session.d.cts +2 -3
- package/dist/setup/session.d.cts.map +1 -1
- package/dist/setup/session.d.mts +2 -3
- package/dist/setup/session.d.mts.map +1 -1
- package/dist/tanstack/analytics.d.cts +1 -2
- package/dist/tanstack/analytics.d.cts.map +1 -1
- package/dist/tanstack/analytics.d.mts +1 -2
- package/dist/tanstack/analytics.d.mts.map +1 -1
- package/dist/tanstack/middleware.d.cts +3 -4
- package/dist/tanstack/middleware.d.cts.map +1 -1
- package/dist/tanstack/middleware.d.mts +3 -4
- package/dist/tanstack/middleware.d.mts.map +1 -1
- package/dist/test/setup.d.cts +3 -4
- package/dist/test/setup.d.cts.map +1 -1
- package/dist/test/setup.d.mts +3 -4
- package/dist/test/setup.d.mts.map +1 -1
- package/dist/third-parties/google-analytics.d.cts +2 -3
- package/dist/third-parties/google-analytics.d.cts.map +1 -1
- package/dist/third-parties/google-analytics.d.mts +2 -3
- package/dist/third-parties/google-analytics.d.mts.map +1 -1
- package/dist/third-parties/ignored-events.d.cts +1 -2
- package/dist/third-parties/ignored-events.d.cts.map +1 -1
- package/dist/third-parties/ignored-events.d.mts +1 -2
- package/dist/third-parties/ignored-events.d.mts.map +1 -1
- package/dist/third-parties/linkedin-insight-tag.d.cts +3 -4
- package/dist/third-parties/linkedin-insight-tag.d.cts.map +1 -1
- package/dist/third-parties/linkedin-insight-tag.d.mts +3 -4
- package/dist/third-parties/linkedin-insight-tag.d.mts.map +1 -1
- package/dist/third-parties/meta-pixel.d.cts +2 -3
- package/dist/third-parties/meta-pixel.d.cts.map +1 -1
- package/dist/third-parties/meta-pixel.d.mts +2 -3
- package/dist/third-parties/meta-pixel.d.mts.map +1 -1
- package/dist/third-parties/microsoft-uet.d.cts +6 -7
- package/dist/third-parties/microsoft-uet.d.cts.map +1 -1
- package/dist/third-parties/microsoft-uet.d.mts +6 -7
- package/dist/third-parties/microsoft-uet.d.mts.map +1 -1
- package/dist/third-parties/openai-pixel.d.cts +2 -3
- package/dist/third-parties/openai-pixel.d.cts.map +1 -1
- package/dist/third-parties/openai-pixel.d.mts +2 -3
- package/dist/third-parties/openai-pixel.d.mts.map +1 -1
- package/dist/third-parties/posthog.d.cts +2 -3
- package/dist/third-parties/posthog.d.cts.map +1 -1
- package/dist/third-parties/posthog.d.mts +2 -3
- package/dist/third-parties/posthog.d.mts.map +1 -1
- package/dist/third-parties/reddit-pixel.d.cts +2 -3
- package/dist/third-parties/reddit-pixel.d.cts.map +1 -1
- package/dist/third-parties/reddit-pixel.d.mts +2 -3
- package/dist/third-parties/reddit-pixel.d.mts.map +1 -1
- package/dist/track/fbq.d.cts +10 -11
- package/dist/track/fbq.d.cts.map +1 -1
- package/dist/track/fbq.d.mts +10 -11
- package/dist/track/fbq.d.mts.map +1 -1
- package/dist/track/gtag.d.cts +26 -27
- package/dist/track/gtag.d.cts.map +1 -1
- package/dist/track/gtag.d.mts +26 -27
- package/dist/track/gtag.d.mts.map +1 -1
- package/dist/track/index.d.cts +4 -5
- package/dist/track/index.d.cts.map +1 -1
- package/dist/track/index.d.mts +4 -5
- package/dist/track/index.d.mts.map +1 -1
- package/dist/track/lintrk.d.cts +1 -2
- package/dist/track/lintrk.d.cts.map +1 -1
- package/dist/track/lintrk.d.mts +1 -2
- package/dist/track/lintrk.d.mts.map +1 -1
- package/dist/track/oaiq.d.cts +17 -18
- package/dist/track/oaiq.d.cts.map +1 -1
- package/dist/track/oaiq.d.mts +17 -18
- package/dist/track/oaiq.d.mts.map +1 -1
- package/dist/track/rdt.d.cts +10 -11
- package/dist/track/rdt.d.cts.map +1 -1
- package/dist/track/rdt.d.mts +10 -11
- package/dist/track/rdt.d.mts.map +1 -1
- package/dist/track/types.d.cts +20 -21
- package/dist/track/types.d.cts.map +1 -1
- package/dist/track/types.d.mts +20 -21
- package/dist/track/types.d.mts.map +1 -1
- package/dist/track/uetq.d.cts +8 -9
- package/dist/track/uetq.d.cts.map +1 -1
- package/dist/track/uetq.d.mts +8 -9
- package/dist/track/uetq.d.mts.map +1 -1
- package/dist/utils/field.d.cts +1 -2
- package/dist/utils/field.d.cts.map +1 -1
- package/dist/utils/field.d.mts +1 -2
- package/dist/utils/field.d.mts.map +1 -1
- package/dist/utils/sha256.d.cts +1 -2
- package/dist/utils/sha256.d.cts.map +1 -1
- package/dist/utils/sha256.d.mts +1 -2
- package/dist/utils/sha256.d.mts.map +1 -1
- package/dist/utils/stripe.d.cts +2 -3
- package/dist/utils/stripe.d.cts.map +1 -1
- package/dist/utils/stripe.d.mts +2 -3
- package/dist/utils/stripe.d.mts.map +1 -1
- package/dist/visitor/index.d.cts +2 -3
- package/dist/visitor/index.d.cts.map +1 -1
- package/dist/visitor/index.d.mts +2 -3
- package/dist/visitor/index.d.mts.map +1 -1
- package/dist/visitor/types.d.cts +4 -5
- package/dist/visitor/types.d.cts.map +1 -1
- package/dist/visitor/types.d.mts +4 -5
- package/dist/visitor/types.d.mts.map +1 -1
- package/dist/web/index.d.cts +3 -4
- package/dist/web/index.d.cts.map +1 -1
- package/dist/web/index.d.mts +3 -4
- package/dist/web/index.d.mts.map +1 -1
- package/dist/web/page-key.d.cts +1 -2
- package/dist/web/page-key.d.cts.map +1 -1
- package/dist/web/page-key.d.mts +1 -2
- package/dist/web/page-key.d.mts.map +1 -1
- package/package.json +27 -27
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reddit-conversions-api.d.mts","names":[],"sources":["../../src/server/reddit-conversions-api.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"reddit-conversions-api.d.mts","names":[],"sources":["../../src/server/reddit-conversions-api.ts"],"mappings":";;;;;;;;iBAWiB;;EAEf;;EAGA;EAEA;EAEA;IACE,eAAe;IACf;;;;;;;EAQF;IACE;IACA;IACA;IACA;IACA;MAAa;MAAY;MAAe;;;EAG1C;IACE;IACA;IACA;IACA;IACA;;IAGA;;IAGA;;;;;;IAMA;IAEA;MAAsB;MAAe;;;;;;IAMrC;MACE;MACA;MACA;;;;iBAKW;EACf;IAAQ;IAAkB,QAAQ;;;wBAGpB,eAEd,OAAO,iBACP,MAAM,kBACN,eAAe,oBACd;wBAgDmB,WACpB,qBACA,iBAEA,QAAQ,mBACR,OAAM,kBACN,iBACA,eAAe,oBAAiB"}
|
package/dist/setup/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Environment, Platform, ThirdPartyTracker, TrackTags } from "../track/types.cjs";
|
|
2
2
|
import { ThirdPartyUserSetter, Visitor } from "../visitor/types.cjs";
|
|
3
3
|
//#region src/setup/index.d.ts
|
|
4
|
-
interface Storage {
|
|
4
|
+
export interface Storage {
|
|
5
5
|
getItem: (key: string) => string | null;
|
|
6
6
|
setItem: (key: string, value: string) => void;
|
|
7
7
|
}
|
|
8
|
-
interface Options {
|
|
8
|
+
export interface Options {
|
|
9
9
|
release: string;
|
|
10
10
|
storage: Storage;
|
|
11
11
|
endpoint: string;
|
|
@@ -33,9 +33,8 @@ interface Cache {
|
|
|
33
33
|
tags: TrackTags | null;
|
|
34
34
|
visitor: Visitor | null;
|
|
35
35
|
}
|
|
36
|
-
declare const cache: Cache;
|
|
37
|
-
declare const config: Config;
|
|
38
|
-
declare function setupAnalytics(init: Options): void;
|
|
36
|
+
export declare const cache: Cache;
|
|
37
|
+
export declare const config: Config;
|
|
38
|
+
export declare function setupAnalytics(init: Options): void;
|
|
39
39
|
//#endregion
|
|
40
|
-
export { Options, Storage, cache, config, setupAnalytics };
|
|
41
40
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/setup/index.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/setup/index.ts"],"mappings":";;;iBAGiB;EACf,UAAU;EACV,UAAU,aAAa;;iBAGR;EACf;EACA,SAAS;EACT;EACA,UAAU;EACV,aAAa;EACb,eAAe,YAAY,QAAQ;EACnC,4BAA4B;EAC5B,mBAAmB,yBAAyB,QAAQ;EACpD,qBAAqB;EACrB,wBAAwB;;UAGhB;EACR;EACA;EACA,SAAS;EACT,UAAU;EACV,aAAa;EACb,eAAe,YAAY,QAAQ;EACnC,4BAA4B;EAC5B,kBAAkB,yBAAyB,QAAQ;EACnD,oBAAoB;EACpB,uBAAuB;;UAGf;EACR,MAAM;EACN,SAAS;;qBAGE,OAAO;qBAMP,QAAQ;wBAcL,eAAe,MAAM"}
|
package/dist/setup/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Environment, Platform, ThirdPartyTracker, TrackTags } from "../track/types.mjs";
|
|
2
2
|
import { ThirdPartyUserSetter, Visitor } from "../visitor/types.mjs";
|
|
3
3
|
//#region src/setup/index.d.ts
|
|
4
|
-
interface Storage {
|
|
4
|
+
export interface Storage {
|
|
5
5
|
getItem: (key: string) => string | null;
|
|
6
6
|
setItem: (key: string, value: string) => void;
|
|
7
7
|
}
|
|
8
|
-
interface Options {
|
|
8
|
+
export interface Options {
|
|
9
9
|
release: string;
|
|
10
10
|
storage: Storage;
|
|
11
11
|
endpoint: string;
|
|
@@ -33,9 +33,8 @@ interface Cache {
|
|
|
33
33
|
tags: TrackTags | null;
|
|
34
34
|
visitor: Visitor | null;
|
|
35
35
|
}
|
|
36
|
-
declare const cache: Cache;
|
|
37
|
-
declare const config: Config;
|
|
38
|
-
declare function setupAnalytics(init: Options): void;
|
|
36
|
+
export declare const cache: Cache;
|
|
37
|
+
export declare const config: Config;
|
|
38
|
+
export declare function setupAnalytics(init: Options): void;
|
|
39
39
|
//#endregion
|
|
40
|
-
export { Options, Storage, cache, config, setupAnalytics };
|
|
41
40
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/setup/index.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/setup/index.ts"],"mappings":";;;iBAGiB;EACf,UAAU;EACV,UAAU,aAAa;;iBAGR;EACf;EACA,SAAS;EACT;EACA,UAAU;EACV,aAAa;EACb,eAAe,YAAY,QAAQ;EACnC,4BAA4B;EAC5B,mBAAmB,yBAAyB,QAAQ;EACpD,qBAAqB;EACrB,wBAAwB;;UAGhB;EACR;EACA;EACA,SAAS;EACT,UAAU;EACV,aAAa;EACb,eAAe,YAAY,QAAQ;EACnC,4BAA4B;EAC5B,kBAAkB,yBAAyB,QAAQ;EACnD,oBAAoB;EACpB,uBAAuB;;UAGf;EACR,MAAM;EACN,SAAS;;qBAGE,OAAO;qBAMP,QAAQ;wBAcL,eAAe,MAAM"}
|
package/dist/setup/session.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/setup/session.d.ts
|
|
2
|
-
declare const SESSION_TIMEOUT: number;
|
|
2
|
+
export declare const SESSION_TIMEOUT: number;
|
|
3
3
|
/** The session an event belongs to, and whether that event is the one that started it. */
|
|
4
4
|
interface SessionForEvent {
|
|
5
5
|
id: string;
|
|
@@ -68,7 +68,6 @@ declare class Session {
|
|
|
68
68
|
* module singletons, so calling `track()` on a server shares one session and one
|
|
69
69
|
* visitor across every request the isolate serves. Import it there; do not track.
|
|
70
70
|
*/
|
|
71
|
-
declare function getSession(): Session;
|
|
71
|
+
export declare function getSession(): Session;
|
|
72
72
|
//#endregion
|
|
73
|
-
export { SESSION_TIMEOUT, getSession };
|
|
74
73
|
//# sourceMappingURL=session.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.cts","names":[],"sources":["../../src/setup/session.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"session.d.cts","names":[],"sources":["../../src/setup/session.ts"],"mappings":";qBAIa;;UAiBH;EACR;EACA;;cA8BI;;;;;;;;;UASI;UACA;UAEA;UACA;UACA;EAER;;;;;;;EAeA,QAAK,mBAAqB,2BAA8B;;;;;;;EA4BxD;EAWA;EAEA,eAAY;EAIZ;EAWA;EAKA;EAKA;EAKA;EAKA,mBAAgB,OAAW;EAK3B;;;;;;;;;;;;;;;;;;;;;;;;;;wBAkCc,cAAU"}
|
package/dist/setup/session.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/setup/session.d.ts
|
|
2
|
-
declare const SESSION_TIMEOUT: number;
|
|
2
|
+
export declare const SESSION_TIMEOUT: number;
|
|
3
3
|
/** The session an event belongs to, and whether that event is the one that started it. */
|
|
4
4
|
interface SessionForEvent {
|
|
5
5
|
id: string;
|
|
@@ -68,7 +68,6 @@ declare class Session {
|
|
|
68
68
|
* module singletons, so calling `track()` on a server shares one session and one
|
|
69
69
|
* visitor across every request the isolate serves. Import it there; do not track.
|
|
70
70
|
*/
|
|
71
|
-
declare function getSession(): Session;
|
|
71
|
+
export declare function getSession(): Session;
|
|
72
72
|
//#endregion
|
|
73
|
-
export { SESSION_TIMEOUT, getSession };
|
|
74
73
|
//# sourceMappingURL=session.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.mts","names":[],"sources":["../../src/setup/session.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"session.d.mts","names":[],"sources":["../../src/setup/session.ts"],"mappings":";qBAIa;;UAiBH;EACR;EACA;;cA8BI;;;;;;;;;UASI;UACA;UAEA;UACA;UACA;EAER;;;;;;;EAeA,QAAK,mBAAqB,2BAA8B;;;;;;;EA4BxD;EAWA;EAEA,eAAY;EAIZ;EAWA;EAKA;EAKA;EAKA;EAKA,mBAAgB,OAAW;EAK3B;;;;;;;;;;;;;;;;;;;;;;;;;;wBAkCc,cAAU"}
|
|
@@ -20,7 +20,6 @@ interface Props {
|
|
|
20
20
|
debugMode?: boolean;
|
|
21
21
|
reportWebVitals?: boolean;
|
|
22
22
|
}
|
|
23
|
-
declare function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, openaiPixelId, redditPixelId, linkedInPartnerId, uetTagId, uetCustomerId, hotjarId, facebookAppId, reportWebVitals }: Props): import("react").JSX.Element;
|
|
23
|
+
export declare function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, openaiPixelId, redditPixelId, linkedInPartnerId, uetTagId, uetCustomerId, hotjarId, facebookAppId, reportWebVitals }: Props): import("react").JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
|
-
export { Analytics };
|
|
26
25
|
//# sourceMappingURL=analytics.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.cts","names":[],"sources":["../../src/tanstack/analytics.tsx"],"mappings":";;;;UAUU;EACR,OAAO;EACP;EACA,QAAQ;EACR,
|
|
1
|
+
{"version":3,"file":"analytics.d.cts","names":["MetaPixelId","RedditPixelId"],"sources":["../../src/tanstack/analytics.tsx"],"mappings":";;;;UAUU;EACR,OAAO;EACP;EACA,QAAQ;EACR,cAAcA;EACd;EACA,gBAAgBC;EAChB;;EAEA;;EAEA;EACA;EACA;EACA;EACA;EACA;;wBAGc,YACd,MACA,OACA,OACA,WACA,aACA,eACA,eACA,mBACA,UACA,eACA,UACA,eACA,mBACC,wBAAK,IAAA"}
|
|
@@ -20,7 +20,6 @@ interface Props {
|
|
|
20
20
|
debugMode?: boolean;
|
|
21
21
|
reportWebVitals?: boolean;
|
|
22
22
|
}
|
|
23
|
-
declare function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, openaiPixelId, redditPixelId, linkedInPartnerId, uetTagId, uetCustomerId, hotjarId, facebookAppId, reportWebVitals }: Props): import("react").JSX.Element;
|
|
23
|
+
export declare function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, openaiPixelId, redditPixelId, linkedInPartnerId, uetTagId, uetCustomerId, hotjarId, facebookAppId, reportWebVitals }: Props): import("react").JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
|
-
export { Analytics };
|
|
26
25
|
//# sourceMappingURL=analytics.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.mts","names":[],"sources":["../../src/tanstack/analytics.tsx"],"mappings":";;;;UAUU;EACR,OAAO;EACP;EACA,QAAQ;EACR,
|
|
1
|
+
{"version":3,"file":"analytics.d.mts","names":["MetaPixelId","RedditPixelId"],"sources":["../../src/tanstack/analytics.tsx"],"mappings":";;;;UAUU;EACR,OAAO;EACP;EACA,QAAQ;EACR,cAAcA;EACd;EACA,gBAAgBC;EAChB;;EAEA;;EAEA;EACA;EACA;EACA;EACA;EACA;;wBAGc,YACd,MACA,OACA,OACA,WACA,aACA,eACA,eACA,mBACA,UACA,eACA,UACA,eACA,mBACC,wBAAK,IAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/tanstack/middleware.d.ts
|
|
2
|
-
interface ClickIdMiddlewareOptions {
|
|
2
|
+
export interface ClickIdMiddlewareOptions {
|
|
3
3
|
/** `Domain` attribute for the cookies, e.g. `.shware.io`. Omit for a host-only cookie. */
|
|
4
4
|
domain?: string;
|
|
5
5
|
/** `Secure` attribute, default true. Set false only for local http testing. */
|
|
@@ -47,9 +47,8 @@ interface ClickIdMiddlewareOptions {
|
|
|
47
47
|
*
|
|
48
48
|
* reference: https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc
|
|
49
49
|
*/
|
|
50
|
-
declare function createClickIdMiddleware(options?: ClickIdMiddlewareOptions): import("@tanstack/react-start").RequestMiddlewareAfterServer<{}, undefined, undefined>;
|
|
50
|
+
export declare function createClickIdMiddleware(options?: ClickIdMiddlewareOptions): import("@tanstack/react-start").RequestMiddlewareAfterServer<{}, undefined, undefined>;
|
|
51
51
|
/** Ready-to-register middleware with default options. */
|
|
52
|
-
declare const clickIdMiddleware: import("@tanstack/react-start").RequestMiddlewareAfterServer<{}, undefined, undefined>;
|
|
52
|
+
export declare const clickIdMiddleware: import("@tanstack/react-start").RequestMiddlewareAfterServer<{}, undefined, undefined>;
|
|
53
53
|
//#endregion
|
|
54
|
-
export { ClickIdMiddlewareOptions, clickIdMiddleware, createClickIdMiddleware };
|
|
55
54
|
//# sourceMappingURL=middleware.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.d.cts","names":[],"sources":["../../src/tanstack/middleware.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"middleware.d.cts","names":[],"sources":["../../src/tanstack/middleware.ts"],"mappings":";iBAGiB;;EAEf;;EAEA;;EAEA;;;;;;;;EAQA;;;;;;EAMA;;;;;EAKA,iBAAiB,SAAS;;;;;;;;;;;;;;;;;;;;;;;wBAwBZ,wBAAwB,UAAS,2DAA6B;;qBAkCjE,mDAAiB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/tanstack/middleware.d.ts
|
|
2
|
-
interface ClickIdMiddlewareOptions {
|
|
2
|
+
export interface ClickIdMiddlewareOptions {
|
|
3
3
|
/** `Domain` attribute for the cookies, e.g. `.shware.io`. Omit for a host-only cookie. */
|
|
4
4
|
domain?: string;
|
|
5
5
|
/** `Secure` attribute, default true. Set false only for local http testing. */
|
|
@@ -47,9 +47,8 @@ interface ClickIdMiddlewareOptions {
|
|
|
47
47
|
*
|
|
48
48
|
* reference: https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc
|
|
49
49
|
*/
|
|
50
|
-
declare function createClickIdMiddleware(options?: ClickIdMiddlewareOptions): import("@tanstack/react-start").RequestMiddlewareAfterServer<{}, undefined, undefined>;
|
|
50
|
+
export declare function createClickIdMiddleware(options?: ClickIdMiddlewareOptions): import("@tanstack/react-start").RequestMiddlewareAfterServer<{}, undefined, undefined>;
|
|
51
51
|
/** Ready-to-register middleware with default options. */
|
|
52
|
-
declare const clickIdMiddleware: import("@tanstack/react-start").RequestMiddlewareAfterServer<{}, undefined, undefined>;
|
|
52
|
+
export declare const clickIdMiddleware: import("@tanstack/react-start").RequestMiddlewareAfterServer<{}, undefined, undefined>;
|
|
53
53
|
//#endregion
|
|
54
|
-
export { ClickIdMiddlewareOptions, clickIdMiddleware, createClickIdMiddleware };
|
|
55
54
|
//# sourceMappingURL=middleware.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.d.mts","names":[],"sources":["../../src/tanstack/middleware.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"middleware.d.mts","names":[],"sources":["../../src/tanstack/middleware.ts"],"mappings":";iBAGiB;;EAEf;;EAEA;;EAEA;;;;;;;;EAQA;;;;;;EAMA;;;;;EAKA,iBAAiB,SAAS;;;;;;;;;;;;;;;;;;;;;;;wBAwBZ,wBAAwB,UAAS,2DAA6B;;qBAkCjE,mDAAiB"}
|
package/dist/test/setup.d.cts
CHANGED
|
@@ -6,14 +6,13 @@ import { Options } from "../setup/index.cjs";
|
|
|
6
6
|
* `vi.resetModules()` and dynamic imports; this file only provides the pieces every test hands to
|
|
7
7
|
* `setupAnalytics`, and is itself imported dynamically so it joins the same module graph.
|
|
8
8
|
*/
|
|
9
|
-
declare function memoryStorage(seed?: Record<string, string>): {
|
|
9
|
+
export declare function memoryStorage(seed?: Record<string, string>): {
|
|
10
10
|
map: Map<string, string>;
|
|
11
11
|
getItem: (key: string) => string | null;
|
|
12
12
|
setItem: (key: string, value: string) => void;
|
|
13
13
|
};
|
|
14
|
-
declare function baseOptions(overrides?: Partial<Options>): Options;
|
|
14
|
+
export declare function baseOptions(overrides?: Partial<Options>): Options;
|
|
15
15
|
/** A minimal ok Response whose json body is `data`. */
|
|
16
|
-
declare function jsonResponse(data: unknown, status?: number): Response;
|
|
16
|
+
export declare function jsonResponse(data: unknown, status?: number): Response;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { baseOptions, jsonResponse, memoryStorage };
|
|
19
18
|
//# sourceMappingURL=setup.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.cts","names":[],"sources":["../../src/test/setup.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"setup.d.cts","names":[],"sources":["../../src/test/setup.ts"],"mappings":";;;;;;;;wBASgB,cAAc,OAAM;OAAA;EAIjB,UAAA;EACA,UAAA,aAAM;;wBAMT,YAAY,YAAW,QAAQ,WAAgB;;wBAc/C,aAAa,eAAe,kBAAY"}
|
package/dist/test/setup.d.mts
CHANGED
|
@@ -6,14 +6,13 @@ import { Options } from "../setup/index.mjs";
|
|
|
6
6
|
* `vi.resetModules()` and dynamic imports; this file only provides the pieces every test hands to
|
|
7
7
|
* `setupAnalytics`, and is itself imported dynamically so it joins the same module graph.
|
|
8
8
|
*/
|
|
9
|
-
declare function memoryStorage(seed?: Record<string, string>): {
|
|
9
|
+
export declare function memoryStorage(seed?: Record<string, string>): {
|
|
10
10
|
map: Map<string, string>;
|
|
11
11
|
getItem: (key: string) => string | null;
|
|
12
12
|
setItem: (key: string, value: string) => void;
|
|
13
13
|
};
|
|
14
|
-
declare function baseOptions(overrides?: Partial<Options>): Options;
|
|
14
|
+
export declare function baseOptions(overrides?: Partial<Options>): Options;
|
|
15
15
|
/** A minimal ok Response whose json body is `data`. */
|
|
16
|
-
declare function jsonResponse(data: unknown, status?: number): Response;
|
|
16
|
+
export declare function jsonResponse(data: unknown, status?: number): Response;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { baseOptions, jsonResponse, memoryStorage };
|
|
19
18
|
//# sourceMappingURL=setup.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.mts","names":[],"sources":["../../src/test/setup.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"setup.d.mts","names":[],"sources":["../../src/test/setup.ts"],"mappings":";;;;;;;;wBASgB,cAAc,OAAM;OAAA;EAIjB,UAAA;EACA,UAAA,aAAM;;wBAMT,YAAY,YAAW,QAAQ,WAAgB;;wBAc/C,aAAa,eAAe,kBAAY"}
|
|
@@ -8,8 +8,7 @@ declare global {
|
|
|
8
8
|
gtag?: Gtag['gtag'];
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare function sendGAEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): void;
|
|
12
|
-
declare function setGAUser({ user_id, user_data, properties }: UpdateVisitorDTO): void;
|
|
11
|
+
export declare function sendGAEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): void;
|
|
12
|
+
export declare function setGAUser({ user_id, user_data, properties }: UpdateVisitorDTO): void;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { sendGAEvent, setGAUser };
|
|
15
14
|
//# sourceMappingURL=google-analytics.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google-analytics.d.cts","names":[],"sources":["../../src/third-parties/google-analytics.ts"],"mappings":";;;;QAIQ;YACI;;IAER,OAAO;;;
|
|
1
|
+
{"version":3,"file":"google-analytics.d.cts","names":[],"sources":["../../src/third-parties/google-analytics.ts"],"mappings":";;;;QAIQ;YACI;;IAER,OAAO;;;wBAIK,YAAY,UAAU,WACpC,MAAM,UAAU,IAChB,aAAa,gBAAgB;wBASf,YAAY,SAAS,WAAW,cAAc"}
|
|
@@ -8,8 +8,7 @@ declare global {
|
|
|
8
8
|
gtag?: Gtag['gtag'];
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare function sendGAEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): void;
|
|
12
|
-
declare function setGAUser({ user_id, user_data, properties }: UpdateVisitorDTO): void;
|
|
11
|
+
export declare function sendGAEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): void;
|
|
12
|
+
export declare function setGAUser({ user_id, user_data, properties }: UpdateVisitorDTO): void;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { sendGAEvent, setGAUser };
|
|
15
14
|
//# sourceMappingURL=google-analytics.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google-analytics.d.mts","names":[],"sources":["../../src/third-parties/google-analytics.ts"],"mappings":";;;;QAIQ;YACI;;IAER,OAAO;;;
|
|
1
|
+
{"version":3,"file":"google-analytics.d.mts","names":[],"sources":["../../src/third-parties/google-analytics.ts"],"mappings":";;;;QAIQ;YACI;;IAER,OAAO;;;wBAIK,YAAY,UAAU,WACpC,MAAM,UAAU,IAChB,aAAa,gBAAgB;wBASf,YAAY,SAAS,WAAW,cAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ignored-events.d.cts","names":[],"sources":["../../src/third-parties/ignored-events.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"ignored-events.d.cts","names":[],"sources":["../../src/third-parties/ignored-events.ts"],"mappings":";qBA+Ca"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ignored-events.d.mts","names":[],"sources":["../../src/third-parties/ignored-events.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"ignored-events.d.mts","names":[],"sources":["../../src/third-parties/ignored-events.ts"],"mappings":";qBA+Ca"}
|
|
@@ -17,9 +17,8 @@ declare global {
|
|
|
17
17
|
* add_to_wishlist: 789,
|
|
18
18
|
* }
|
|
19
19
|
*/
|
|
20
|
-
type LinkedinConversionConfig = Record<Lowercase<string>, number>;
|
|
21
|
-
declare function sendLinkedinEvent(config: LinkedinConversionConfig): <T extends EventName>(name: TrackName<T>, _properties?: TrackProperties<T>, event_id?: string) => void;
|
|
22
|
-
declare function setLinkedinUser({ user_data }: UpdateVisitorDTO): void;
|
|
20
|
+
export type LinkedinConversionConfig = Record<Lowercase<string>, number>;
|
|
21
|
+
export declare function sendLinkedinEvent(config: LinkedinConversionConfig): <T extends EventName>(name: TrackName<T>, _properties?: TrackProperties<T>, event_id?: string) => void;
|
|
22
|
+
export declare function setLinkedinUser({ user_data }: UpdateVisitorDTO): void;
|
|
23
23
|
//#endregion
|
|
24
|
-
export { LinkedinConversionConfig, sendLinkedinEvent, setLinkedinUser };
|
|
25
24
|
//# sourceMappingURL=linkedin-insight-tag.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkedin-insight-tag.d.cts","names":[],"sources":["../../src/third-parties/linkedin-insight-tag.ts"],"mappings":";;;;QAKQ;YACI;;IAER,SAAS;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"linkedin-insight-tag.d.cts","names":[],"sources":["../../src/third-parties/linkedin-insight-tag.ts"],"mappings":";;;;QAKQ;YACI;;IAER,SAAS;;;;;;;;;;;;YAaD,2BAA2B,OAAO;wBAE9B,kBAAkB,QAAQ,4BAChC,UAAU,WAAS,MACnB,UAAU,IAAE,cACJ,gBAAgB,IAAE;wBAgBpB,kBAAkB,aAAa"}
|
|
@@ -17,9 +17,8 @@ declare global {
|
|
|
17
17
|
* add_to_wishlist: 789,
|
|
18
18
|
* }
|
|
19
19
|
*/
|
|
20
|
-
type LinkedinConversionConfig = Record<Lowercase<string>, number>;
|
|
21
|
-
declare function sendLinkedinEvent(config: LinkedinConversionConfig): <T extends EventName>(name: TrackName<T>, _properties?: TrackProperties<T>, event_id?: string) => void;
|
|
22
|
-
declare function setLinkedinUser({ user_data }: UpdateVisitorDTO): void;
|
|
20
|
+
export type LinkedinConversionConfig = Record<Lowercase<string>, number>;
|
|
21
|
+
export declare function sendLinkedinEvent(config: LinkedinConversionConfig): <T extends EventName>(name: TrackName<T>, _properties?: TrackProperties<T>, event_id?: string) => void;
|
|
22
|
+
export declare function setLinkedinUser({ user_data }: UpdateVisitorDTO): void;
|
|
23
23
|
//#endregion
|
|
24
|
-
export { LinkedinConversionConfig, sendLinkedinEvent, setLinkedinUser };
|
|
25
24
|
//# sourceMappingURL=linkedin-insight-tag.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkedin-insight-tag.d.mts","names":[],"sources":["../../src/third-parties/linkedin-insight-tag.ts"],"mappings":";;;;QAKQ;YACI;;IAER,SAAS;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"linkedin-insight-tag.d.mts","names":[],"sources":["../../src/third-parties/linkedin-insight-tag.ts"],"mappings":";;;;QAKQ;YACI;;IAER,SAAS;;;;;;;;;;;;YAaD,2BAA2B,OAAO;wBAE9B,kBAAkB,QAAQ,4BAChC,UAAU,WAAS,MACnB,UAAU,IAAE,cACJ,gBAAgB,IAAE;wBAgBpB,kBAAkB,aAAa"}
|
|
@@ -8,8 +8,7 @@ declare global {
|
|
|
8
8
|
fbq?: FBQ['fbq'];
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare function sendFBEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, event_id?: string): void;
|
|
12
|
-
declare function setFBUser(pixelId: PixelId): ({ user_id, user_data }: UpdateVisitorDTO) => void;
|
|
11
|
+
export declare function sendFBEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, event_id?: string): void;
|
|
12
|
+
export declare function setFBUser(pixelId: PixelId): ({ user_id, user_data }: UpdateVisitorDTO) => void;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { sendFBEvent, setFBUser };
|
|
15
14
|
//# sourceMappingURL=meta-pixel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-pixel.d.cts","names":[],"sources":["../../src/third-parties/meta-pixel.ts"],"mappings":";;;;QAKQ;YACI;;IAER,MAAM;;;
|
|
1
|
+
{"version":3,"file":"meta-pixel.d.cts","names":[],"sources":["../../src/third-parties/meta-pixel.ts"],"mappings":";;;;QAKQ;YACI;;IAER,MAAM;;;wBAMM,YAAY,UAAU,WACpC,MAAM,UAAU,IAChB,aAAa,gBAAgB,IAC7B;wBAuBc,UAAU,SAAS,aAAO,SAAA,aACR"}
|
|
@@ -8,8 +8,7 @@ declare global {
|
|
|
8
8
|
fbq?: FBQ['fbq'];
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare function sendFBEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, event_id?: string): void;
|
|
12
|
-
declare function setFBUser(pixelId: PixelId): ({ user_id, user_data }: UpdateVisitorDTO) => void;
|
|
11
|
+
export declare function sendFBEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, event_id?: string): void;
|
|
12
|
+
export declare function setFBUser(pixelId: PixelId): ({ user_id, user_data }: UpdateVisitorDTO) => void;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { sendFBEvent, setFBUser };
|
|
15
14
|
//# sourceMappingURL=meta-pixel.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-pixel.d.mts","names":[],"sources":["../../src/third-parties/meta-pixel.ts"],"mappings":";;;;QAKQ;YACI;;IAER,MAAM;;;
|
|
1
|
+
{"version":3,"file":"meta-pixel.d.mts","names":[],"sources":["../../src/third-parties/meta-pixel.ts"],"mappings":";;;;QAKQ;YACI;;IAER,MAAM;;;wBAMM,YAAY,UAAU,WACpC,MAAM,UAAU,IAChB,aAAa,gBAAgB,IAC7B;wBAuBc,UAAU,SAAS,aAAO,SAAA,aACR"}
|
|
@@ -23,7 +23,7 @@ declare global {
|
|
|
23
23
|
* Microsoft's generated snippet), on every history change — forwarding the SDK's own page views
|
|
24
24
|
* would report each page twice. The tag owns page loads; this tracker owns everything else.
|
|
25
25
|
*/
|
|
26
|
-
declare function sendUETEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, eventId?: string): void;
|
|
26
|
+
export declare function sendUETEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, eventId?: string): void;
|
|
27
27
|
/**
|
|
28
28
|
* Enhanced conversions: hand the tag the visitor's email and phone so Microsoft can match a
|
|
29
29
|
* conversion to an ad click without a third-party cookie. A `set` applies to every event fired
|
|
@@ -35,15 +35,15 @@ declare function sendUETEvent<T extends EventName>(name: TrackName<T>, propertie
|
|
|
35
35
|
* bound to its tag by the snippet and `set` addresses whichever tag drains `uetq`, so there is
|
|
36
36
|
* nothing to bind first.
|
|
37
37
|
*/
|
|
38
|
-
declare function setUETUser({ user_id, user_data }: UpdateVisitorDTO): void;
|
|
38
|
+
export declare function setUETUser({ user_id, user_data }: UpdateVisitorDTO): void;
|
|
39
39
|
/**
|
|
40
40
|
* UET consent mode. Push `default` before the tag loads (the tag processes `consent` early, ahead
|
|
41
41
|
* of the queued events) and `update` when the visitor decides. With `ad_storage: 'denied'` the
|
|
42
42
|
* tag neither writes its cookies nor reads the `msclkid` from the URL.
|
|
43
43
|
* https://help.ads.microsoft.com/#apex/ads/en/60119/1
|
|
44
44
|
*/
|
|
45
|
-
declare function setUETConsent(mode: 'default' | 'update', consent: UETConsent): void;
|
|
46
|
-
declare function configureUET(options: {
|
|
45
|
+
export declare function setUETConsent(mode: 'default' | 'update', consent: UETConsent): void;
|
|
46
|
+
export declare function configureUET(options: {
|
|
47
47
|
customerId?: string | number;
|
|
48
48
|
}): void;
|
|
49
49
|
/**
|
|
@@ -52,13 +52,12 @@ declare function configureUET(options: {
|
|
|
52
52
|
* it on mount so every visit syncs at least once, anonymous visitors included (they are who
|
|
53
53
|
* remarketing audiences are built from), and `setUETUser` runs it again on sign-in.
|
|
54
54
|
*/
|
|
55
|
-
declare function syncUETVisitor(userId?: string): Promise<void>;
|
|
56
|
-
declare function sendUETIdSync(options: {
|
|
55
|
+
export declare function syncUETVisitor(userId?: string): Promise<void>;
|
|
56
|
+
export declare function sendUETIdSync(options: {
|
|
57
57
|
customerId: string | number;
|
|
58
58
|
visitorId: string;
|
|
59
59
|
/** The signed-in user's id, raw; hashed before it leaves the page. */
|
|
60
60
|
userId?: string;
|
|
61
61
|
}): void;
|
|
62
62
|
//#endregion
|
|
63
|
-
export { configureUET, sendUETEvent, sendUETIdSync, setUETConsent, setUETUser, syncUETVisitor };
|
|
64
63
|
//# sourceMappingURL=microsoft-uet.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"microsoft-uet.d.cts","names":[],"sources":["../../src/third-parties/microsoft-uet.ts"],"mappings":";;;;QAOQ;YACI;;;;;IAKR,OAAO;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"microsoft-uet.d.cts","names":[],"sources":["../../src/third-parties/microsoft-uet.ts"],"mappings":";;;;QAOQ;YACI;;;;;IAKR,OAAO;;;;;;;;;;;;;;;wBA4BK,aAAa,UAAU,WACrC,MAAM,UAAU,IAChB,aAAa,gBAAgB,IAC7B;;;;;;;;;;;;wBAwBc,aAAa,SAAS,aAAa;;;;;;;wBAsBnC,cAAc,4BAA4B,SAAS;wBA6BnD,aAAa;EAAW;;;;;;;;wBAUlB,eAAe,kBAAkB;wBAUvC,cAAc;EAC5B;EACA;;EAEA"}
|
|
@@ -23,7 +23,7 @@ declare global {
|
|
|
23
23
|
* Microsoft's generated snippet), on every history change — forwarding the SDK's own page views
|
|
24
24
|
* would report each page twice. The tag owns page loads; this tracker owns everything else.
|
|
25
25
|
*/
|
|
26
|
-
declare function sendUETEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, eventId?: string): void;
|
|
26
|
+
export declare function sendUETEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, eventId?: string): void;
|
|
27
27
|
/**
|
|
28
28
|
* Enhanced conversions: hand the tag the visitor's email and phone so Microsoft can match a
|
|
29
29
|
* conversion to an ad click without a third-party cookie. A `set` applies to every event fired
|
|
@@ -35,15 +35,15 @@ declare function sendUETEvent<T extends EventName>(name: TrackName<T>, propertie
|
|
|
35
35
|
* bound to its tag by the snippet and `set` addresses whichever tag drains `uetq`, so there is
|
|
36
36
|
* nothing to bind first.
|
|
37
37
|
*/
|
|
38
|
-
declare function setUETUser({ user_id, user_data }: UpdateVisitorDTO): void;
|
|
38
|
+
export declare function setUETUser({ user_id, user_data }: UpdateVisitorDTO): void;
|
|
39
39
|
/**
|
|
40
40
|
* UET consent mode. Push `default` before the tag loads (the tag processes `consent` early, ahead
|
|
41
41
|
* of the queued events) and `update` when the visitor decides. With `ad_storage: 'denied'` the
|
|
42
42
|
* tag neither writes its cookies nor reads the `msclkid` from the URL.
|
|
43
43
|
* https://help.ads.microsoft.com/#apex/ads/en/60119/1
|
|
44
44
|
*/
|
|
45
|
-
declare function setUETConsent(mode: 'default' | 'update', consent: UETConsent): void;
|
|
46
|
-
declare function configureUET(options: {
|
|
45
|
+
export declare function setUETConsent(mode: 'default' | 'update', consent: UETConsent): void;
|
|
46
|
+
export declare function configureUET(options: {
|
|
47
47
|
customerId?: string | number;
|
|
48
48
|
}): void;
|
|
49
49
|
/**
|
|
@@ -52,13 +52,12 @@ declare function configureUET(options: {
|
|
|
52
52
|
* it on mount so every visit syncs at least once, anonymous visitors included (they are who
|
|
53
53
|
* remarketing audiences are built from), and `setUETUser` runs it again on sign-in.
|
|
54
54
|
*/
|
|
55
|
-
declare function syncUETVisitor(userId?: string): Promise<void>;
|
|
56
|
-
declare function sendUETIdSync(options: {
|
|
55
|
+
export declare function syncUETVisitor(userId?: string): Promise<void>;
|
|
56
|
+
export declare function sendUETIdSync(options: {
|
|
57
57
|
customerId: string | number;
|
|
58
58
|
visitorId: string;
|
|
59
59
|
/** The signed-in user's id, raw; hashed before it leaves the page. */
|
|
60
60
|
userId?: string;
|
|
61
61
|
}): void;
|
|
62
62
|
//#endregion
|
|
63
|
-
export { configureUET, sendUETEvent, sendUETIdSync, setUETConsent, setUETUser, syncUETVisitor };
|
|
64
63
|
//# sourceMappingURL=microsoft-uet.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"microsoft-uet.d.mts","names":[],"sources":["../../src/third-parties/microsoft-uet.ts"],"mappings":";;;;QAOQ;YACI;;;;;IAKR,OAAO;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"microsoft-uet.d.mts","names":[],"sources":["../../src/third-parties/microsoft-uet.ts"],"mappings":";;;;QAOQ;YACI;;;;;IAKR,OAAO;;;;;;;;;;;;;;;wBA4BK,aAAa,UAAU,WACrC,MAAM,UAAU,IAChB,aAAa,gBAAgB,IAC7B;;;;;;;;;;;;wBAwBc,aAAa,SAAS,aAAa;;;;;;;wBAsBnC,cAAc,4BAA4B,SAAS;wBA6BnD,aAAa;EAAW;;;;;;;;wBAUlB,eAAe,kBAAkB;wBAUvC,cAAc;EAC5B;EACA;;EAEA"}
|
|
@@ -13,13 +13,12 @@ declare global {
|
|
|
13
13
|
* `eventId` is reused as the OpenAI `event_id` so browser events deduplicate against the
|
|
14
14
|
* Conversions API. https://developers.openai.com/ads/measurement-pixel
|
|
15
15
|
*/
|
|
16
|
-
declare function sendOpenAIEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, eventId?: string): void;
|
|
16
|
+
export declare function sendOpenAIEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, eventId?: string): void;
|
|
17
17
|
/**
|
|
18
18
|
* Re-initialize the pixel with hashed user identity for better conversion matching. Email and
|
|
19
19
|
* external id are hashed client-side; geographic fields are sent raw. Hashing is asynchronous,
|
|
20
20
|
* so the `init` call is deferred until the digests resolve.
|
|
21
21
|
*/
|
|
22
|
-
declare function setOpenAIUser(pixelId: string): ({ user_id, user_data }: UpdateVisitorDTO) => void;
|
|
22
|
+
export declare function setOpenAIUser(pixelId: string): ({ user_id, user_data }: UpdateVisitorDTO) => void;
|
|
23
23
|
//#endregion
|
|
24
|
-
export { sendOpenAIEvent, setOpenAIUser };
|
|
25
24
|
//# sourceMappingURL=openai-pixel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai-pixel.d.cts","names":[],"sources":["../../src/third-parties/openai-pixel.ts"],"mappings":";;;;QAMQ;YACI;;IAER,OAAO;;;;;;;;
|
|
1
|
+
{"version":3,"file":"openai-pixel.d.cts","names":[],"sources":["../../src/third-parties/openai-pixel.ts"],"mappings":";;;;QAMQ;YACI;;IAER,OAAO;;;;;;;;wBAeK,gBAAgB,UAAU,WACxC,MAAM,UAAU,IAChB,aAAa,gBAAgB,IAC7B;;;;;;wBAuBc,cAAc,qBAAe,SAAA,aACX"}
|
|
@@ -13,13 +13,12 @@ declare global {
|
|
|
13
13
|
* `eventId` is reused as the OpenAI `event_id` so browser events deduplicate against the
|
|
14
14
|
* Conversions API. https://developers.openai.com/ads/measurement-pixel
|
|
15
15
|
*/
|
|
16
|
-
declare function sendOpenAIEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, eventId?: string): void;
|
|
16
|
+
export declare function sendOpenAIEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, eventId?: string): void;
|
|
17
17
|
/**
|
|
18
18
|
* Re-initialize the pixel with hashed user identity for better conversion matching. Email and
|
|
19
19
|
* external id are hashed client-side; geographic fields are sent raw. Hashing is asynchronous,
|
|
20
20
|
* so the `init` call is deferred until the digests resolve.
|
|
21
21
|
*/
|
|
22
|
-
declare function setOpenAIUser(pixelId: string): ({ user_id, user_data }: UpdateVisitorDTO) => void;
|
|
22
|
+
export declare function setOpenAIUser(pixelId: string): ({ user_id, user_data }: UpdateVisitorDTO) => void;
|
|
23
23
|
//#endregion
|
|
24
|
-
export { sendOpenAIEvent, setOpenAIUser };
|
|
25
24
|
//# sourceMappingURL=openai-pixel.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai-pixel.d.mts","names":[],"sources":["../../src/third-parties/openai-pixel.ts"],"mappings":";;;;QAMQ;YACI;;IAER,OAAO;;;;;;;;
|
|
1
|
+
{"version":3,"file":"openai-pixel.d.mts","names":[],"sources":["../../src/third-parties/openai-pixel.ts"],"mappings":";;;;QAMQ;YACI;;IAER,OAAO;;;;;;;;wBAeK,gBAAgB,UAAU,WACxC,MAAM,UAAU,IAChB,aAAa,gBAAgB,IAC7B;;;;;;wBAuBc,cAAc,qBAAe,SAAA,aACX"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { EventName, TrackName, TrackProperties } from "../track/types.cjs";
|
|
2
2
|
import { VisitorIdentity } from "../visitor/types.cjs";
|
|
3
3
|
//#region src/third-parties/posthog.d.ts
|
|
4
|
-
declare function sendPosthogEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): void;
|
|
4
|
+
export declare function sendPosthogEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): void;
|
|
5
5
|
/**
|
|
6
6
|
* Identify the visitor to PostHog as the person the server says it is — `distinct_id`, the user's
|
|
7
7
|
* id once someone has signed in. Only then: identifying an anonymous visitor by its own id would
|
|
8
8
|
* make PostHog treat it as an identified person, and PostHog does not merge one identified person
|
|
9
9
|
* into another when the user later signs in, so the pre-sign-in events would stay split off.
|
|
10
10
|
*/
|
|
11
|
-
declare function setPosthogUser({ user_id, distinct_id, user_data }: VisitorIdentity): void;
|
|
11
|
+
export declare function setPosthogUser({ user_id, distinct_id, user_data }: VisitorIdentity): void;
|
|
12
12
|
//#endregion
|
|
13
|
-
export { sendPosthogEvent, setPosthogUser };
|
|
14
13
|
//# sourceMappingURL=posthog.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posthog.d.cts","names":[],"sources":["../../src/third-parties/posthog.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"posthog.d.cts","names":[],"sources":["../../src/third-parties/posthog.ts"],"mappings":";;;wBAOgB,iBAAiB,UAAU,WACzC,MAAM,UAAU,IAChB,aAAa,gBAAgB;;;;;;;wBAsBf,iBAAiB,SAAS,aAAa,aAAa"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { EventName, TrackName, TrackProperties } from "../track/types.mjs";
|
|
2
2
|
import { VisitorIdentity } from "../visitor/types.mjs";
|
|
3
3
|
//#region src/third-parties/posthog.d.ts
|
|
4
|
-
declare function sendPosthogEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): void;
|
|
4
|
+
export declare function sendPosthogEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): void;
|
|
5
5
|
/**
|
|
6
6
|
* Identify the visitor to PostHog as the person the server says it is — `distinct_id`, the user's
|
|
7
7
|
* id once someone has signed in. Only then: identifying an anonymous visitor by its own id would
|
|
8
8
|
* make PostHog treat it as an identified person, and PostHog does not merge one identified person
|
|
9
9
|
* into another when the user later signs in, so the pre-sign-in events would stay split off.
|
|
10
10
|
*/
|
|
11
|
-
declare function setPosthogUser({ user_id, distinct_id, user_data }: VisitorIdentity): void;
|
|
11
|
+
export declare function setPosthogUser({ user_id, distinct_id, user_data }: VisitorIdentity): void;
|
|
12
12
|
//#endregion
|
|
13
|
-
export { sendPosthogEvent, setPosthogUser };
|
|
14
13
|
//# sourceMappingURL=posthog.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posthog.d.mts","names":[],"sources":["../../src/third-parties/posthog.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"posthog.d.mts","names":[],"sources":["../../src/third-parties/posthog.ts"],"mappings":";;;wBAOgB,iBAAiB,UAAU,WACzC,MAAM,UAAU,IAChB,aAAa,gBAAgB;;;;;;;wBAsBf,iBAAiB,SAAS,aAAa,aAAa"}
|
|
@@ -8,8 +8,7 @@ declare global {
|
|
|
8
8
|
rdt?: RDT['rdt'];
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare function sendRedditEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, eventId?: string): void;
|
|
12
|
-
declare function setRedditUser(pixelId: PixelId): ({ user_id, user_data }: UpdateVisitorDTO) => void;
|
|
11
|
+
export declare function sendRedditEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>, eventId?: string): void;
|
|
12
|
+
export declare function setRedditUser(pixelId: PixelId): ({ user_id, user_data }: UpdateVisitorDTO) => void;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { sendRedditEvent, setRedditUser };
|
|
15
14
|
//# sourceMappingURL=reddit-pixel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reddit-pixel.d.cts","names":[],"sources":["../../src/third-parties/reddit-pixel.ts"],"mappings":";;;;QAKQ;YACI;;IAER,MAAM;;;
|
|
1
|
+
{"version":3,"file":"reddit-pixel.d.cts","names":[],"sources":["../../src/third-parties/reddit-pixel.ts"],"mappings":";;;;QAKQ;YACI;;IAER,MAAM;;;wBAMM,gBAAgB,UAAU,WACxC,MAAM,UAAU,IAChB,aAAa,gBAAgB,IAC7B;wBAqBc,cAAc,SAAS,aAAO,SAAA,aACZ"}
|