Comparing version 4.2.2 to 4.3.0
{ | ||
"name": "rox-node", | ||
"version": "4.2.2", | ||
"version": "4.3.0", | ||
"description": "Rollout.io ROX JS SDK Node", | ||
@@ -57,3 +57,3 @@ "author": "Rollout.io <support@rollout.io>", | ||
"rollup-plugin-node-resolve": "^3.0.0", | ||
"rox-base": "^4.2.2", | ||
"rox-base": "^4.3.0", | ||
"supertest": "^3.0.0", | ||
@@ -60,0 +60,0 @@ "uglifyjs-webpack-plugin": "^1.2.3", |
@@ -13,2 +13,6 @@ import Variant from './Variant'; | ||
_getInternalIsEnabled(callContext, context) { | ||
return this._normalizeValue(this.getInternalValue(callContext, context)); | ||
} | ||
_normalizeValue(value) { | ||
@@ -15,0 +19,0 @@ if (typeof value === 'boolean') return value; |
@@ -52,2 +52,6 @@ import RoxBase from 'rox-base'; | ||
} | ||
get dynamicApi() { | ||
return client.dynamicApi; | ||
} | ||
} | ||
@@ -54,0 +58,0 @@ |
@@ -7,2 +7,3 @@ import RoxBase from 'rox-base'; | ||
import RoxCrypto from './RoxCrypto'; | ||
import EntitiesProvider from './EntitiesProvider'; | ||
@@ -16,3 +17,4 @@ const { createRoxClient } = RoxBase; | ||
RoxCache, | ||
RoxCrypto | ||
RoxCrypto, | ||
EntitiesProvider | ||
}); |
@@ -21,2 +21,3 @@ import RoxBase from 'rox-base'; | ||
if (typeof castedResult !== 'undefined' && this._options.indexOf(castedResult) !== -1) { | ||
callContext.isExperimenting = true; | ||
callContext.dontInvokeFlagImpression || this._flagImpression(castedResult, context); | ||
@@ -33,2 +34,3 @@ return castedResult; | ||
if (overridenValue) { | ||
callContext.isExperimenting = true; | ||
return overridenValue; | ||
@@ -35,0 +37,0 @@ } |
Sorry, the diff of this file is too big to display
412035
25
11106