@hifilabs/pixel 0.15.0 → 0.15.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/index.esm.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.esm.d.ts
CHANGED
|
@@ -131,7 +131,9 @@ export declare const identify: (email: string, traits?: Record<string, any>) =>
|
|
|
131
131
|
export declare const page: (options?: { title?: string; url?: string }) => void;
|
|
132
132
|
export declare const purchase: (revenue: number, currency?: string, properties?: Record<string, any>) => void;
|
|
133
133
|
export declare const getSessionId: () => string | null;
|
|
134
|
+
export declare const getVisitorId: () => string | null;
|
|
134
135
|
export declare const getFanIdHash: () => string | null;
|
|
136
|
+
export declare const setFanIdHash: (hash: string) => void;
|
|
135
137
|
export declare const getAttribution: () => Record<string, string>;
|
|
136
138
|
export declare const setConsent: (preferences: ConsentPreferences) => void;
|
|
137
139
|
export declare const getConsent: () => ConsentPreferences | null;
|