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

unleash-client

Package Overview
Dependencies
Maintainers
6
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.8.0 to 3.8.1

4

CHANGELOG.md
# Changelog
# 3.8.1
- Fix: (types) relax argument requirements (#223)
# 3.8.0

@@ -4,0 +8,0 @@

2

lib/details.json

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

{ "name": "unleash-client-node", "version": "3.8.0", "sdkVersion": "unleash-client-node:3.8.0" }
{ "name": "unleash-client-node", "version": "3.8.1", "sdkVersion": "unleash-client-node:3.8.1" }

@@ -39,5 +39,5 @@ /// <reference types="node" />

destroy(): void;
isEnabled(name: string, context: Context, fallbackFunction?: FallbackFunction): boolean;
isEnabled(name: string, context: Context, fallbackValue?: boolean): boolean;
getVariant(name: string, context: any, fallbackVariant?: Variant): Variant;
isEnabled(name: string, context?: Context, fallbackFunction?: FallbackFunction): boolean;
isEnabled(name: string, context?: Context, fallbackValue?: boolean): boolean;
getVariant(name: string, context?: Context, fallbackVariant?: Variant): Variant;
getFeatureToggleDefinition(toggleName: string): FeatureInterface;

@@ -44,0 +44,0 @@ getFeatureToggleDefinitions(): FeatureInterface[];

@@ -153,2 +153,3 @@ "use strict";

Unleash.prototype.isEnabled = function (name, context, fallback) {
if (context === void 0) { context = {}; }
var enhancedContext = __assign(__assign({}, this.staticContext), context);

@@ -168,2 +169,3 @@ var fallbackFunc = helpers_1.createFallbackFunction(name, enhancedContext, fallback);

Unleash.prototype.getVariant = function (name, context, fallbackVariant) {
if (context === void 0) { context = {}; }
var enhancedContext = __assign(__assign({}, this.staticContext), context);

@@ -170,0 +172,0 @@ var result;

{
"name": "unleash-client",
"version": "3.8.0",
"version": "3.8.1",
"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

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