posthog-js 1.155.2 → 1.155.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/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/package.json +1 -1
package/lib/package.json
CHANGED
package/lib/src/posthog-core.js
CHANGED
|
@@ -303,7 +303,7 @@ var PostHog = /** @class */ (function () {
|
|
|
303
303
|
if (this.config.on_xhr_error) {
|
|
304
304
|
logger.error('[posthog] on_xhr_error is deprecated. Use on_request_error instead');
|
|
305
305
|
}
|
|
306
|
-
this.compression = config.disable_compression ? undefined : Compression.
|
|
306
|
+
this.compression = config.disable_compression ? undefined : Compression.GZipJS;
|
|
307
307
|
this.persistence = new PostHogPersistence(this.config);
|
|
308
308
|
this.sessionPersistence =
|
|
309
309
|
this.config.persistence === 'sessionStorage'
|