expf-sigma-node.js 1.1.7 → 1.1.8

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/sigma.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expf-sigma-node.js",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
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
@@ -1051,7 +1051,7 @@ var Sigma = class {
1051
1051
  this.cache.get("sigmaDataFileLastUpdate")
1052
1052
  );
1053
1053
  const currentTime = Math.floor(Date.now() / 1e3);
1054
- if (currentTime > lastUpdate + this.cacheTTL || this.userData.geo) {
1054
+ if (currentTime > lastUpdate + this.cacheTTL || this.userData.geo || this.userData.ip) {
1055
1055
  return true;
1056
1056
  }
1057
1057
  return false;