@hifilabs/pixel 0.11.0 → 0.11.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 +16 -0
- package/package.json +1 -1
package/dist/index.esm.d.ts
CHANGED
|
@@ -82,6 +82,12 @@ export interface BalanceProviderProps {
|
|
|
82
82
|
export declare const BalanceContext: React.Context<BalanceContextValue>;
|
|
83
83
|
export declare function BalanceProvider(props: BalanceProviderProps): JSX.Element;
|
|
84
84
|
|
|
85
|
+
// ArtistPixel aliases (preferred names)
|
|
86
|
+
export type ArtistPixelContextValue = BalanceContextValue;
|
|
87
|
+
export type ArtistPixelProviderProps = BalanceProviderProps;
|
|
88
|
+
export declare const ArtistPixelContext: React.Context<ArtistPixelContextValue>;
|
|
89
|
+
export declare function ArtistPixelProvider(props: ArtistPixelProviderProps): JSX.Element;
|
|
90
|
+
|
|
85
91
|
// ============================================
|
|
86
92
|
// Primary Hooks
|
|
87
93
|
// ============================================
|
|
@@ -90,6 +96,11 @@ export declare function useBalance(): BalanceContextValue;
|
|
|
90
96
|
export declare function useBalanceOptional(): BalanceContextValue | null;
|
|
91
97
|
export declare function useBalanceReady(): boolean;
|
|
92
98
|
|
|
99
|
+
// ArtistPixel hook aliases (preferred names)
|
|
100
|
+
export declare function useArtistPixel(): ArtistPixelContextValue;
|
|
101
|
+
export declare function useArtistPixelOptional(): ArtistPixelContextValue | null;
|
|
102
|
+
export declare function useArtistPixelReady(): boolean;
|
|
103
|
+
|
|
93
104
|
export interface UseBalanceConsentReturn {
|
|
94
105
|
consent: ConsentPreferences | null;
|
|
95
106
|
setConsent: (preferences: ConsentPreferences) => void;
|
|
@@ -100,11 +111,16 @@ export interface UseBalanceConsentReturn {
|
|
|
100
111
|
|
|
101
112
|
export declare function useBalanceConsent(): UseBalanceConsentReturn;
|
|
102
113
|
|
|
114
|
+
// ArtistPixel consent alias
|
|
115
|
+
export type UseArtistPixelConsentReturn = UseBalanceConsentReturn;
|
|
116
|
+
export declare function useArtistPixelConsent(): UseArtistPixelConsentReturn;
|
|
117
|
+
|
|
103
118
|
// ============================================
|
|
104
119
|
// Components
|
|
105
120
|
// ============================================
|
|
106
121
|
|
|
107
122
|
export declare function BalanceAnalytics(): null;
|
|
123
|
+
export declare function ArtistPixelAnalytics(): null;
|
|
108
124
|
|
|
109
125
|
// ============================================
|
|
110
126
|
// SSR-safe Wrapper Functions
|