@hifilabs/pixel 0.16.0 → 0.16.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.
@@ -136,6 +136,8 @@ export declare const getAttribution: () => Record<string, string>;
136
136
  export declare const setConsent: (preferences: ConsentPreferences) => void;
137
137
  export declare const getConsent: () => ConsentPreferences | null;
138
138
  export declare const hasConsent: (type: 'analytics' | 'marketing' | 'personalization') => boolean;
139
+ export declare const getVisitorId: () => string | null;
140
+ export declare const setFanIdHash: (hash: string) => void;
139
141
 
140
142
  // ============================================
141
143
  // GTM Integration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hifilabs/pixel",
3
- "version": "0.16.0",
3
+ "version": "0.16.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",