@livetiles/reach-plugin-types 0.5.0-preview.1146 → 0.5.0-preview.1147
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/lib/index.d.ts +4 -4
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -862,8 +862,8 @@ declare module "libs/reach/util/context/src/MemoryCache" {
|
|
|
862
862
|
}
|
|
863
863
|
declare module "libs/reach/util/context/src/useNewExperienceStorage" {
|
|
864
864
|
export function useNewUserExperienceStorage(): {
|
|
865
|
-
getUseNewUserExperience: (subscriptionId: string) => Promise<boolean>;
|
|
866
|
-
setUseNewUserExperience: (subscriptionId: string, enabled: boolean) => Promise<void>;
|
|
865
|
+
getUseNewUserExperience: (subscriptionId: string, subscriptionHandle?: string) => Promise<boolean>;
|
|
866
|
+
setUseNewUserExperience: (subscriptionId: string, enabled: boolean, subscriptionHandle?: string) => Promise<void>;
|
|
867
867
|
};
|
|
868
868
|
}
|
|
869
869
|
declare module "libs/reach/util/context/src/NewUserExperienceContext" {
|
|
@@ -873,14 +873,14 @@ declare module "libs/reach/util/context/src/NewUserExperienceContext" {
|
|
|
873
873
|
isLoading?: boolean;
|
|
874
874
|
isNewUXEnabled?: boolean;
|
|
875
875
|
setBrandColor?: Dispatch<SetStateAction<string>>;
|
|
876
|
-
setIsNewUXEnabled?: (enabled: boolean) => void;
|
|
876
|
+
setIsNewUXEnabled?: (subscriptionId: string, enabled: boolean, subscriptionHandle?: string) => void;
|
|
877
877
|
};
|
|
878
878
|
export const NewUserExperienceContext: import("react").Context<{
|
|
879
879
|
brandColor?: string;
|
|
880
880
|
isLoading?: boolean;
|
|
881
881
|
isNewUXEnabled?: boolean;
|
|
882
882
|
setBrandColor?: Dispatch<SetStateAction<string>>;
|
|
883
|
-
setIsNewUXEnabled?: (enabled: boolean) => void;
|
|
883
|
+
setIsNewUXEnabled?: (subscriptionId: string, enabled: boolean, subscriptionHandle?: string) => void;
|
|
884
884
|
}>;
|
|
885
885
|
export const NewUserExperienceContextProvider: FC;
|
|
886
886
|
}
|