@posthog/core 1.42.0 → 1.42.1

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.
@@ -555,7 +555,7 @@ class PostHogCoreStateless {
555
555
  const queue = this.getPersistedProperty(queueKey) || [];
556
556
  if (queue.length >= this.maxQueueSize) {
557
557
  queue.shift();
558
- this._logger.info('Queue is full, the oldest event is dropped.');
558
+ this._logger.warn('Queue is full, the oldest event is dropped.');
559
559
  }
560
560
  queue.push({
561
561
  message
@@ -522,7 +522,7 @@ class PostHogCoreStateless {
522
522
  const queue = this.getPersistedProperty(queueKey) || [];
523
523
  if (queue.length >= this.maxQueueSize) {
524
524
  queue.shift();
525
- this._logger.info('Queue is full, the oldest event is dropped.');
525
+ this._logger.warn('Queue is full, the oldest event is dropped.');
526
526
  }
527
527
  queue.push({
528
528
  message
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posthog/core",
3
- "version": "1.42.0",
3
+ "version": "1.42.1",
4
4
  "bugs": {
5
5
  "url": "https://github.com/PostHog/posthog-js/issues"
6
6
  },
@@ -1093,7 +1093,7 @@ export abstract class PostHogCoreStateless {
1093
1093
 
1094
1094
  if (queue.length >= this.maxQueueSize) {
1095
1095
  queue.shift()
1096
- this._logger.info('Queue is full, the oldest event is dropped.')
1096
+ this._logger.warn('Queue is full, the oldest event is dropped.')
1097
1097
  }
1098
1098
 
1099
1099
  queue.push({ message })