Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unleash-client

Package Overview
Dependencies
Maintainers
3
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unleash-client - npm Package Compare versions

Comparing version 3.20.0 to 3.21.0

2

lib/client.d.ts

@@ -17,3 +17,3 @@ /// <reference types="node" />

isEnabled(name: string, context: Context, fallback: Function): boolean;
isFeatureEnabled(feature: FeatureInterface, context: Context, fallback: Function): boolean;
isFeatureEnabled(feature: FeatureInterface | undefined, context: Context, fallback: Function): boolean;
yieldConstraintsFor(strategy: StrategyTransportInterface): IterableIterator<Constraint | undefined>;

@@ -20,0 +20,0 @@ yieldSegmentConstraints(segments: (Segment | undefined)[]): IterableIterator<Constraint | undefined>;

@@ -1,1 +0,1 @@

{ "name": "unleash-client-node", "version": "3.20.0", "sdkVersion": "unleash-client-node:3.20.0" }
{ "name": "unleash-client-node", "version": "3.21.0", "sdkVersion": "unleash-client-node:3.21.0" }

@@ -11,3 +11,3 @@ /// <reference types="node" />

export interface RepositoryInterface extends EventEmitter {
getToggle(name: string): FeatureInterface;
getToggle(name: string): FeatureInterface | undefined;
getToggles(): FeatureInterface[];

@@ -71,5 +71,5 @@ getSegment(id: number): Segment | undefined;

getSegment(segmentId: number): Segment | undefined;
getToggle(name: string): FeatureInterface;
getToggle(name: string): FeatureInterface | undefined;
getToggles(): FeatureInterface[];
}
//# sourceMappingURL=index.d.ts.map

@@ -41,3 +41,3 @@ /// <reference types="node" />

forceGetVariant(name: string, context?: Context, fallbackVariant?: Variant): Variant;
getFeatureToggleDefinition(toggleName: string): FeatureInterface;
getFeatureToggleDefinition(toggleName: string): FeatureInterface | undefined;
getFeatureToggleDefinitions(): FeatureInterface[];

@@ -44,0 +44,0 @@ count(toggleName: string, enabled: boolean): void;

@@ -132,3 +132,3 @@ "use strict";

customHeadersFunction: undefined,
storageProvider: undefined
storageProvider: undefined,
};

@@ -240,3 +240,2 @@ const configSignature = (0, helpers_1.generateHashOfConfig)(cleanConfig);

Unleash.instanceCount = 0;
;
//# sourceMappingURL=unleash.js.map
{
"name": "unleash-client",
"version": "3.20.0",
"version": "3.21.0",
"description": "Unleash Client for Node",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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