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/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "posthog-js",
3
- "version": "1.155.2",
3
+ "version": "1.155.3",
4
4
  "description": "Posthog-js allows you to automatically capture usage and send events to PostHog.",
5
5
  "repository": "https://github.com/PostHog/posthog-js",
6
6
  "author": "hey@posthog.com",
@@ -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.Base64;
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'