@flopflip/types
Advanced tools
Comparing version 2.5.3-next.7 to 2.5.3-next.17
@@ -81,50 +81,50 @@ /// <reference types="react" /> | ||
id: TAdapterInterfaceIdentifiers; | ||
configure(adapterArgs: DeepReadonly<Args>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>): Promise<TAdapterConfiguration>; | ||
reconfigure(adapterArgs: DeepReadonly<Args>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>): Promise<TAdapterConfiguration>; | ||
getIsConfigurationStatus(configurationStatus: TAdapterConfigurationStatus): boolean; | ||
setConfigurationStatus?(nextConfigurationStatus: TAdapterConfigurationStatus): void; | ||
waitUntilConfigured?(): Promise<unknown>; | ||
reset?(): void; | ||
getFlag?(flagName: TFlagName): TFlagVariation | undefined; | ||
unsubscribe(): void; | ||
subscribe(): void; | ||
configure: (adapterArgs: DeepReadonly<Args>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>) => Promise<TAdapterConfiguration>; | ||
reconfigure: (adapterArgs: DeepReadonly<Args>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>) => Promise<TAdapterConfiguration>; | ||
getIsConfigurationStatus: (configurationStatus: TAdapterConfigurationStatus) => boolean; | ||
setConfigurationStatus?: (nextConfigurationStatus: TAdapterConfigurationStatus) => void; | ||
waitUntilConfigured?: () => Promise<unknown>; | ||
reset?: () => void; | ||
getFlag?: (flagName: TFlagName) => TFlagVariation | undefined; | ||
unsubscribe: () => void; | ||
subscribe: () => void; | ||
} | ||
export interface TLaunchDarklyAdapterInterface extends TAdapterInterface<TLaunchDarklyAdapterArgs> { | ||
id: typeof interfaceIdentifiers.launchdarkly; | ||
configure(adapterArgs: DeepReadonly<TLaunchDarklyAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>): Promise<TAdapterConfiguration>; | ||
reconfigure(adapterArgs: DeepReadonly<TLaunchDarklyAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>): Promise<TAdapterConfiguration>; | ||
getIsConfigurationStatus(adapterConfigurationStatus: TAdapterConfigurationStatus): boolean; | ||
getClient(): TLDClient | undefined; | ||
getFlag(flagName: TFlagName): TFlagVariation | undefined; | ||
updateUserContext(updatedUserProps: Readonly<TUser>): Promise<unknown>; | ||
unsubscribe(): void; | ||
subscribe(): void; | ||
configure: (adapterArgs: DeepReadonly<TLaunchDarklyAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>) => Promise<TAdapterConfiguration>; | ||
reconfigure: (adapterArgs: DeepReadonly<TLaunchDarklyAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>) => Promise<TAdapterConfiguration>; | ||
getIsConfigurationStatus: (adapterConfigurationStatus: TAdapterConfigurationStatus) => boolean; | ||
getClient: () => TLDClient | undefined; | ||
getFlag: (flagName: TFlagName) => TFlagVariation | undefined; | ||
updateUserContext: (updatedUserProps: Readonly<TUser>) => Promise<unknown>; | ||
unsubscribe: () => void; | ||
subscribe: () => void; | ||
} | ||
export interface TLocalStorageAdapterInterface extends TAdapterInterface<TLocalStorageAdapterArgs> { | ||
id: typeof interfaceIdentifiers.localstorage; | ||
configure(adapterArgs: DeepReadonly<TLocalStorageAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>): Promise<TAdapterConfiguration>; | ||
reconfigure(adapterArgs: DeepReadonly<TLocalStorageAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>): Promise<TAdapterConfiguration>; | ||
getIsConfigurationStatus(adapterConfigurationStatus: TAdapterConfigurationStatus): boolean; | ||
waitUntilConfigured(): Promise<unknown>; | ||
unsubscribe(): void; | ||
subscribe(): void; | ||
configure: (adapterArgs: DeepReadonly<TLocalStorageAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>) => Promise<TAdapterConfiguration>; | ||
reconfigure: (adapterArgs: DeepReadonly<TLocalStorageAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>) => Promise<TAdapterConfiguration>; | ||
getIsConfigurationStatus: (adapterConfigurationStatus: TAdapterConfigurationStatus) => boolean; | ||
waitUntilConfigured: () => Promise<unknown>; | ||
unsubscribe: () => void; | ||
subscribe: () => void; | ||
} | ||
export interface TMemoryAdapterInterface extends TAdapterInterface<TMemoryAdapterArgs> { | ||
id: typeof interfaceIdentifiers.memory; | ||
configure(adapterArgs: DeepReadonly<TMemoryAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>): Promise<TAdapterConfiguration>; | ||
reconfigure(adapterArgs: DeepReadonly<TMemoryAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>): Promise<TAdapterConfiguration>; | ||
getIsConfigurationStatus(adapterConfigurationStatus: TAdapterConfigurationStatus): boolean; | ||
waitUntilConfigured(): Promise<unknown>; | ||
reset(): void; | ||
updateFlags(flags: Readonly<TFlags>): void; | ||
unsubscribe(): void; | ||
subscribe(): void; | ||
configure: (adapterArgs: DeepReadonly<TMemoryAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>) => Promise<TAdapterConfiguration>; | ||
reconfigure: (adapterArgs: DeepReadonly<TMemoryAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>) => Promise<TAdapterConfiguration>; | ||
getIsConfigurationStatus: (adapterConfigurationStatus: TAdapterConfigurationStatus) => boolean; | ||
waitUntilConfigured: () => Promise<unknown>; | ||
reset: () => void; | ||
updateFlags: (flags: Readonly<TFlags>) => void; | ||
unsubscribe: () => void; | ||
subscribe: () => void; | ||
} | ||
export interface TSplitioAdapterInterface extends TAdapterInterface<TSplitioAdapterArgs> { | ||
id: typeof interfaceIdentifiers.splitio; | ||
configure(adapterArgs: DeepReadonly<TSplitioAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>): Promise<TAdapterConfiguration>; | ||
reconfigure(adapterArgs: DeepReadonly<TSplitioAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>): Promise<TAdapterConfiguration>; | ||
getIsConfigurationStatus(adapterConfigurationStatus: TAdapterConfigurationStatus): boolean; | ||
unsubscribe(): void; | ||
subscribe(): void; | ||
configure: (adapterArgs: DeepReadonly<TSplitioAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>) => Promise<TAdapterConfiguration>; | ||
reconfigure: (adapterArgs: DeepReadonly<TSplitioAdapterArgs>, adapterEventHandlers: DeepReadonly<TAdapterEventHandlers>) => Promise<TAdapterConfiguration>; | ||
getIsConfigurationStatus: (adapterConfigurationStatus: TAdapterConfigurationStatus) => boolean; | ||
unsubscribe: () => void; | ||
subscribe: () => void; | ||
} | ||
@@ -131,0 +131,0 @@ export declare type TAdapter = TLaunchDarklyAdapterInterface | TLocalStorageAdapterInterface | TMemoryAdapterInterface | TSplitioAdapterInterface; |
{ | ||
"name": "@flopflip/types", | ||
"version": "2.5.3-next.7+6db2f5e", | ||
"version": "2.5.3-next.17+d2ebe93", | ||
"description": "Type definitions for flipflop", | ||
@@ -42,3 +42,3 @@ "main": "dist/@flopflip-types.cjs.js", | ||
}, | ||
"gitHead": "6db2f5e2cf56e6dd94f9379680a4dd2a68a796a2" | ||
"gitHead": "d2ebe93899ef79ce550a1c3d3670912324901918" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
32888