expf-sigma-node.js 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/sigma.js +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expf-sigma-node.js",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "expf-sigma-node.js lets you manage features flags and remote config across web, server side applications. Deliver true Continuous Integration. Get builds out faster. Control who has access to new features.",
|
|
5
5
|
"main": "public/sigma.js",
|
|
6
6
|
"keywords": [
|
package/public/sigma.js
CHANGED
|
@@ -6291,9 +6291,6 @@ var Sigma = class {
|
|
|
6291
6291
|
paramValue = doTypeConversion(params.type, params.values[item].value);
|
|
6292
6292
|
}
|
|
6293
6293
|
}
|
|
6294
|
-
if (!paramValue) {
|
|
6295
|
-
return null;
|
|
6296
|
-
}
|
|
6297
6294
|
return paramValue;
|
|
6298
6295
|
};
|
|
6299
6296
|
const getFeatureValue = (flagName) => {
|
|
@@ -6319,7 +6316,8 @@ var Sigma = class {
|
|
|
6319
6316
|
}
|
|
6320
6317
|
if (!flag)
|
|
6321
6318
|
return null;
|
|
6322
|
-
|
|
6319
|
+
let flagExperimentFeatureValue = this.findingSpotCondition(flag, false, experiment);
|
|
6320
|
+
return doTypeConversion(flagExperiment.type, flagExperimentFeatureValue);
|
|
6323
6321
|
};
|
|
6324
6322
|
return {
|
|
6325
6323
|
getParamValue,
|