expf-sigma-node.js 2.0.1 → 2.0.2
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 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expf-sigma-node.js",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
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
|
@@ -1179,7 +1179,8 @@ var Sigma = class {
|
|
|
1179
1179
|
if (userValue === null || typeof userValue === "undefined" || !conditionValues)
|
|
1180
1180
|
return false;
|
|
1181
1181
|
userValue = String(userValue);
|
|
1182
|
-
|
|
1182
|
+
if (!Array.isArray(conditionValues))
|
|
1183
|
+
conditionValues = String(conditionValues);
|
|
1183
1184
|
switch (operation.trim()) {
|
|
1184
1185
|
case "equal":
|
|
1185
1186
|
return userValue.toLowerCase().trim() == conditionValues.toLowerCase().trim();
|