@quadient/skillshare 1.11.0 → 1.11.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.
@@ -85,7 +85,10 @@ export class EventQueue {
85
85
  continue;
86
86
  }
87
87
  failures = 0;
88
- this.queue.splice(0, batch.length);
88
+ // push() replaces an item object when newer content arrives during upload.
89
+ // Acknowledge only the exact snapshots sent, leaving replacements queued.
90
+ const acknowledged = new Set(batch);
91
+ this.queue = this.queue.filter(event => !acknowledged.has(event));
89
92
  }
90
93
  })().finally(() => { this.flushing = null; });
91
94
  return this.flushing;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadient/skillshare",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "Skillshare CLI for installing and publishing Quadient skills",
5
5
  "type": "module",
6
6
  "bin": {