@zaplier/sdk 1.4.1 → 1.4.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/index.esm.js CHANGED
@@ -19038,16 +19038,8 @@ class SessionReplayEngine {
19038
19038
  // Simple rrweb recording configuration like official example
19039
19039
  this.rrwebStopRecord = record({
19040
19040
  emit: (event) => {
19041
- // CRITICAL: Ensure FullSnapshot is always first event
19042
- if (this.events.length === 0 && event.type !== 2) {
19043
- console.warn(`[Zaplier] First event is type ${event.type}, not FullSnapshot (2). Skipping until FullSnapshot.`);
19044
- return; // Skip non-FullSnapshot events if no FullSnapshot captured yet
19045
- }
19046
19041
  // Simple event capture
19047
19042
  this.events.push(event);
19048
- if (event.type === 2) {
19049
- console.log(`[Zaplier] ✅ FullSnapshot captured as event #${this.events.length}`);
19050
- }
19051
19043
  },
19052
19044
  });
19053
19045
  this.isActive = true;