expf-sigma-node.js 3.2.6 → 3.2.7
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 +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expf-sigma-node.js",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.7",
|
|
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
|
@@ -1108,7 +1108,7 @@ function generateFilteredList(array, name) {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
|
|
1110
1110
|
// package.json
|
|
1111
|
-
var version = "3.2.
|
|
1111
|
+
var version = "3.2.7";
|
|
1112
1112
|
|
|
1113
1113
|
// src/helpers/sdkVersion.js
|
|
1114
1114
|
var sdkVersion = version;
|
|
@@ -1223,8 +1223,8 @@ var Sigma = class {
|
|
|
1223
1223
|
const localStorageHash = this.cache.get(sigmaHash);
|
|
1224
1224
|
let hash;
|
|
1225
1225
|
data = await this.getDataFile(`${this.api}/config.json`);
|
|
1226
|
-
if (this.
|
|
1227
|
-
data = filterByPlatform(data, this.
|
|
1226
|
+
if (this.userData.platform) {
|
|
1227
|
+
data = filterByPlatform(data, this.userData.platform);
|
|
1228
1228
|
}
|
|
1229
1229
|
hash = await SHA256.hex(JSON.stringify(data));
|
|
1230
1230
|
if (!localStorageHash || localStorageHash !== hash) {
|