posthog-node 2.2.2 → 2.2.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ # 2.2.3 - 2022-12-01
2
+ 1. Fix issues with timeouts for local evaluation requests
1
3
  # 2.2.2 - 2022-11-28
2
4
  1. Fix issues with timeout
3
5
 
package/lib/index.cjs.js CHANGED
@@ -163,7 +163,7 @@ function __spreadArray(to, from, pack) {
163
163
  return to.concat(ar || Array.prototype.slice.call(from));
164
164
  }
165
165
 
166
- var version = "2.2.2";
166
+ var version = "2.2.3";
167
167
 
168
168
  var PostHogPersistedProperty;
169
169
  (function (PostHogPersistedProperty) {
@@ -2009,7 +2009,7 @@ function () {
2009
2009
  pollingInterval: typeof options.featureFlagsPollingInterval === 'number' ? options.featureFlagsPollingInterval : THIRTY_SECONDS,
2010
2010
  personalApiKey: options.personalApiKey,
2011
2011
  projectApiKey: apiKey,
2012
- timeout: (_a = options.requestTimeout) !== null && _a !== void 0 ? _a : 10,
2012
+ timeout: (_a = options.requestTimeout) !== null && _a !== void 0 ? _a : 10000,
2013
2013
  host: this._sharedClient.host,
2014
2014
  fetch: options.fetch
2015
2015
  });