@statsig/js-client 3.15.5 → 3.16.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statsig/js-client",
3
- "version": "3.15.5",
3
+ "version": "3.16.0",
4
4
  "license": "ISC",
5
5
  "homepage": "https://github.com/statsig-io/js-client-monorepo",
6
6
  "repository": {
@@ -9,7 +9,7 @@
9
9
  "directory": "packages/js-client"
10
10
  },
11
11
  "dependencies": {
12
- "@statsig/client-core": "3.15.5"
12
+ "@statsig/client-core": "3.16.0"
13
13
  },
14
14
  "jsdelivr": "./build/statsig-js-client.min.js",
15
15
  "type": "commonjs",
package/src/Network.js CHANGED
@@ -35,7 +35,7 @@ class StatsigNetwork extends client_core_1.NetworkCore {
35
35
  ((_f = (_e = (_d = this._option) === null || _d === void 0 ? void 0 : _d.networkConfig) === null || _e === void 0 ? void 0 : _e.initializeHashAlgorithm) !== null && _f !== void 0 ? _f : 'djb2');
36
36
  data = Object.assign(Object.assign({}, data), { sinceTime: isCacheValidFor204 && !hasHashChanged ? cache.time : 0, previousDerivedFields: 'derived_fields' in cache && isCacheValidFor204
37
37
  ? cache.derived_fields
38
- : {}, deltasResponseRequested: true, full_checksum: cache.full_checksum });
38
+ : {}, deltasResponseRequested: true, full_checksum: cache.full_checksum, partialUserMatchSinceTime: !hasHashChanged ? cache.time : 0 });
39
39
  }
40
40
  return this._fetchEvaluations(sdkKey, cache, data, priority);
41
41
  });