unleash-client
Advanced tools
Comparing version 3.19.1 to 3.20.0
@@ -1,1 +0,1 @@ | ||
{ "name": "unleash-client-node", "version": "3.19.1", "sdkVersion": "unleash-client-node:3.19.1" } | ||
{ "name": "unleash-client-node", "version": "3.20.0", "sdkVersion": "unleash-client-node:3.20.0" } |
import { Unleash } from './unleash'; | ||
import { Variant } from './variant'; | ||
import { Variant, PayloadType } from './variant'; | ||
import { Context } from './context'; | ||
@@ -10,3 +10,3 @@ import { TagFilter } from './tags'; | ||
export { Strategy } from './strategy/index'; | ||
export { Context, Variant, Unleash, TagFilter, InMemStorageProvider, UnleashEvents }; | ||
export { Context, Variant, PayloadType, Unleash, TagFilter, InMemStorageProvider, UnleashEvents }; | ||
export type { ClientFeaturesResponse, UnleashConfig }; | ||
@@ -13,0 +13,0 @@ export declare function initialize(options: UnleashConfig): Unleash; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.destroyWithFlush = exports.flushMetrics = exports.countVariant = exports.count = exports.forceGetVariant = exports.getVariant = exports.getFeatureToggleDefinitions = exports.getFeatureToggleDefinition = exports.destroy = exports.isEnabled = exports.startUnleash = exports.initialize = exports.UnleashEvents = exports.InMemStorageProvider = exports.Unleash = exports.Strategy = void 0; | ||
exports.destroyWithFlush = exports.flushMetrics = exports.countVariant = exports.count = exports.forceGetVariant = exports.getVariant = exports.getFeatureToggleDefinitions = exports.getFeatureToggleDefinition = exports.destroy = exports.isEnabled = exports.startUnleash = exports.initialize = exports.UnleashEvents = exports.InMemStorageProvider = exports.Unleash = exports.PayloadType = exports.Strategy = void 0; | ||
const events_1 = require("events"); | ||
@@ -8,2 +8,3 @@ const unleash_1 = require("./unleash"); | ||
const variant_1 = require("./variant"); | ||
Object.defineProperty(exports, "PayloadType", { enumerable: true, get: function () { return variant_1.PayloadType; } }); | ||
const events_2 = require("./events"); | ||
@@ -10,0 +11,0 @@ Object.defineProperty(exports, "UnleashEvents", { enumerable: true, get: function () { return events_2.UnleashEvents; } }); |
import { Context } from './context'; | ||
import { FeatureInterface } from './feature'; | ||
declare enum PayloadType { | ||
STRING = "string" | ||
export declare enum PayloadType { | ||
STRING = "string", | ||
JSON = "json", | ||
CSV = "csv" | ||
} | ||
@@ -6,0 +8,0 @@ interface Override { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.selectVariant = exports.getDefaultVariant = void 0; | ||
exports.selectVariant = exports.getDefaultVariant = exports.PayloadType = void 0; | ||
const util_1 = require("./strategy/util"); | ||
@@ -9,3 +9,5 @@ const helpers_1 = require("./helpers"); | ||
PayloadType["STRING"] = "string"; | ||
})(PayloadType || (PayloadType = {})); | ||
PayloadType["JSON"] = "json"; | ||
PayloadType["CSV"] = "csv"; | ||
})(PayloadType = exports.PayloadType || (exports.PayloadType = {})); | ||
function getDefaultVariant() { | ||
@@ -12,0 +14,0 @@ return { |
{ | ||
"name": "unleash-client", | ||
"version": "3.19.1", | ||
"version": "3.20.0", | ||
"description": "Unleash Client for Node", | ||
@@ -68,3 +68,3 @@ "license": "Apache-2.0", | ||
"lint-staged": "12.5.0", | ||
"mkdirp": "1.0.4", | ||
"mkdirp": "3.0.1", | ||
"nock": "13.3.0", | ||
@@ -71,0 +71,0 @@ "nyc": "15.1.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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
206748
2597