New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@flopflip/types

Package Overview
Dependencies
Maintainers
1
Versions
311
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flopflip/types - npm Package Compare versions

Comparing version 2.3.6-next.0 to 2.3.6-next.28

6

dist/@flopflip-types.cjs.js

@@ -10,2 +10,8 @@ 'use strict';

(function (TAdapterConfigurationStatus) {
TAdapterConfigurationStatus[TAdapterConfigurationStatus["Unconfigured"] = 0] = "Unconfigured";
TAdapterConfigurationStatus[TAdapterConfigurationStatus["Configuring"] = 1] = "Configuring";
TAdapterConfigurationStatus[TAdapterConfigurationStatus["Configured"] = 2] = "Configured";
})(exports.TAdapterConfigurationStatus || (exports.TAdapterConfigurationStatus = {}));
var interfaceIdentifiers = {

@@ -12,0 +18,0 @@ launchdarkly: 'launchdarkly',

10

dist/@flopflip-types.es.js

@@ -8,2 +8,10 @@ var TAdapterSubscriptionStatus;

var TAdapterConfigurationStatus;
(function (TAdapterConfigurationStatus) {
TAdapterConfigurationStatus[TAdapterConfigurationStatus["Unconfigured"] = 0] = "Unconfigured";
TAdapterConfigurationStatus[TAdapterConfigurationStatus["Configuring"] = 1] = "Configuring";
TAdapterConfigurationStatus[TAdapterConfigurationStatus["Configured"] = 2] = "Configured";
})(TAdapterConfigurationStatus || (TAdapterConfigurationStatus = {}));
var interfaceIdentifiers = {

@@ -16,3 +24,3 @@ launchdarkly: 'launchdarkly',

export { TAdapterSubscriptionStatus, interfaceIdentifiers };
export { TAdapterConfigurationStatus, TAdapterSubscriptionStatus, interfaceIdentifiers };
//# sourceMappingURL=@flopflip-types.es.js.map

24

dist/typings/index.d.ts

@@ -16,5 +16,9 @@ /// <reference types="react" />

}
export declare enum TAdapterConfigurationStatus {
Unconfigured = 0,
Configuring = 1,
Configured = 2
}
export declare type TAdapterStatus = {
isReady?: boolean;
isConfigured?: boolean;
configurationStatus: TAdapterConfigurationStatus;
subscriptionStatus: TAdapterSubscriptionStatus;

@@ -71,4 +75,4 @@ };

reconfigure(adapterArgs: Args, adapterEventHandlers: TAdapterEventHandlers): Promise<unknown>;
getIsReady(): boolean;
setIsReady?(nextStatus: TAdapterStatus): void;
getIsConfigurationStatus(configurationStatus: TAdapterConfigurationStatus): boolean;
setConfigurationStatus?(nextConfigurationStatus: TAdapterConfigurationStatus): void;
waitUntilConfigured?(): Promise<unknown>;

@@ -84,3 +88,3 @@ reset?(): void;

reconfigure(adapterArgs: TLaunchDarklyAdapterArgs, adapterEventHandlers: TAdapterEventHandlers): Promise<unknown>;
getIsReady(): boolean;
getIsConfigurationStatus(adapterConfigurationStatus: TAdapterConfigurationStatus): boolean;
getClient(): TLDClient | undefined;

@@ -96,3 +100,3 @@ getFlag(flagName: TFlagName): TFlagVariation | undefined;

reconfigure(adapterArgs: TLocalStorageAdapterArgs, adapterEventHandlers: TAdapterEventHandlers): Promise<unknown>;
getIsReady(): boolean;
getIsConfigurationStatus(adapterConfigurationStatus: TAdapterConfigurationStatus): boolean;
waitUntilConfigured(): Promise<unknown>;

@@ -106,4 +110,3 @@ unsubscribe(): void;

reconfigure(adapterArgs: TMemoryAdapterArgs, adapterEventHandlers: TAdapterEventHandlers): Promise<unknown>;
getIsReady(): boolean;
setIsReady(nextStatus: TAdapterStatus): void;
getIsConfigurationStatus(adapterConfigurationStatus: TAdapterConfigurationStatus): boolean;
waitUntilConfigured(): Promise<unknown>;

@@ -119,3 +122,3 @@ reset(): void;

reconfigure(adapterArgs: TSplitioAdapterArgs, adapterEventHandlers: TAdapterEventHandlers): Promise<unknown>;
getIsReady(): boolean;
getIsConfigurationStatus(adapterConfigurationStatus: TAdapterConfigurationStatus): boolean;
unsubscribe(): void;

@@ -140,3 +143,4 @@ subscribe(): void;

export declare type TConfigureAdapterChildrenAsFunctionArgs = {
isAdapterReady: boolean;
isAdapterReady?: boolean;
isAdapterConfigured: boolean;
};

@@ -143,0 +147,0 @@ export declare type TConfigureAdapterChildrenAsFunction = (args: TConfigureAdapterChildrenAsFunctionArgs) => React.ReactNode;

{
"name": "@flopflip/types",
"version": "2.3.6-next.0+87bc3c3",
"version": "2.3.6-next.28+f332585",
"description": "Type definitions for flipflop",

@@ -39,3 +39,3 @@ "main": "dist/@flopflip-types.cjs.js",

],
"gitHead": "87bc3c34e64ec131f86e88c73d9ae3de3a1fd20d"
"gitHead": "f3325850511bfa727396d683e55258bcc53537fd"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc