@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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hifilabs/pixel",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "artistPixel - Lightweight browser tracking script for artist fan analytics",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",