posthog-js 1.155.0 → 1.155.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/dist/array.full.js +1 -1
- package/dist/array.full.js.map +1 -1
- package/dist/array.js +1 -1
- package/dist/array.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/src/posthog-core.js +1 -1
- package/lib/src/posthog-core.js.map +1 -1
- package/lib/src/request.js +1 -1
- package/lib/src/request.js.map +1 -1
- package/package.json +1 -1
package/lib/package.json
CHANGED
package/lib/src/posthog-core.js
CHANGED
|
@@ -504,7 +504,7 @@ var PostHog = /** @class */ (function () {
|
|
|
504
504
|
// Whether to detect ip info or not
|
|
505
505
|
ip: this.config.ip ? 1 : 0,
|
|
506
506
|
});
|
|
507
|
-
options.headers = this.config.request_headers;
|
|
507
|
+
options.headers = __assign({}, this.config.request_headers);
|
|
508
508
|
options.compression = options.compression === 'best-available' ? this.compression : options.compression;
|
|
509
509
|
request(__assign(__assign({}, options), { callback: function (response) {
|
|
510
510
|
var _a, _b, _c;
|