@flopflip/types
Advanced tools
Comparing version
28
index.ts
@@ -66,10 +66,10 @@ import { LDClient as TLDClient } from 'launchdarkly-js-client-sdk'; | ||
adapterEventHandlers: TAdapterEventHandlers | ||
): Promise<any>; | ||
): Promise<unknown>; | ||
reconfigure( | ||
adapterArgs: Args, | ||
adapterEventHandlers: TAdapterEventHandlers | ||
): Promise<any>; | ||
): Promise<unknown>; | ||
getIsReady(): boolean; | ||
setIsReady?(nextStatus: TAdapterStatus): void; | ||
waitUntilConfigured?(): Promise<any>; | ||
waitUntilConfigured?(): Promise<unknown>; | ||
reset?(): void; | ||
@@ -84,11 +84,11 @@ getFlag?(flagName: TFlagName): TFlagVariation | undefined; | ||
adapterEventHandlers: TAdapterEventHandlers | ||
): Promise<any>; | ||
): Promise<unknown>; | ||
reconfigure( | ||
adapterArgs: TLaunchDarklyAdapterArgs, | ||
adapterEventHandlers: TAdapterEventHandlers | ||
): Promise<any>; | ||
): Promise<unknown>; | ||
getIsReady(): boolean; | ||
getClient(): TLDClient | undefined; | ||
getFlag(flagName: TFlagName): TFlagVariation | undefined; | ||
updateUserContext(updatedUserProps: TUser): Promise<any>; | ||
updateUserContext(updatedUserProps: TUser): Promise<unknown>; | ||
} | ||
@@ -101,9 +101,9 @@ export interface TLocalStorageAdapterInterface | ||
adapterEventHandlers: TAdapterEventHandlers | ||
): Promise<any>; | ||
): Promise<unknown>; | ||
reconfigure( | ||
adapterArgs: TLocalStorageAdapterArgs, | ||
adapterEventHandlers: TAdapterEventHandlers | ||
): Promise<any>; | ||
): Promise<unknown>; | ||
getIsReady(): boolean; | ||
waitUntilConfigured(): Promise<any>; | ||
waitUntilConfigured(): Promise<unknown>; | ||
} | ||
@@ -116,10 +116,10 @@ export interface TMemoryAdapterInterface | ||
adapterEventHandlers: TAdapterEventHandlers | ||
): Promise<any>; | ||
): Promise<unknown>; | ||
reconfigure( | ||
adapterArgs: TMemoryAdapterArgs, | ||
adapterEventHandlers: TAdapterEventHandlers | ||
): Promise<any>; | ||
): Promise<unknown>; | ||
getIsReady(): boolean; | ||
setIsReady(nextStatus: TAdapterStatus): void; | ||
waitUntilConfigured(): Promise<any>; | ||
waitUntilConfigured(): Promise<unknown>; | ||
reset(): void; | ||
@@ -134,7 +134,7 @@ updateFlags(flags: TFlags): void; | ||
adapterEventHandlers: TAdapterEventHandlers | ||
): Promise<any>; | ||
): Promise<unknown>; | ||
reconfigure( | ||
adapterArgs: TSplitioAdapterArgs, | ||
adapterEventHandlers: TAdapterEventHandlers | ||
): Promise<any>; | ||
): Promise<unknown>; | ||
getIsReady(): boolean; | ||
@@ -141,0 +141,0 @@ } |
{ | ||
"name": "@flopflip/types", | ||
"version": "2.3.2-next.0+c6333d9", | ||
"version": "2.3.2", | ||
"description": "Type definitions for flipflop", | ||
@@ -24,3 +24,3 @@ "scripts": {}, | ||
], | ||
"gitHead": "c6333d9ac1572bc8f1d192ce5d2133dd095506e4" | ||
"gitHead": "5402dd77f19aaa6937c6ec97bd87e91906e4265d" | ||
} |
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
8875
0.46%0
-100%