From 3afdf3ef323ddd423c53fd0b1ea9fd9bd8740704 Mon Sep 17 00:00:00 2001 From: John Pham Date: Fri, 9 Apr 2021 11:11:42 -0700 Subject: [PATCH] Skip the first fullSnapshotBuild --- package.json | 2 +- src/replay/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index edddc527..336a9fa4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@highlight-run/rrweb", - "version": "0.11.1", + "version": "0.11.2", "description": "record and replay the web", "scripts": { "test": "npm run bundle:browser && cross-env TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.test.ts", diff --git a/src/replay/index.ts b/src/replay/index.ts index 850f411b..1f2e20d3 100644 --- a/src/replay/index.ts +++ b/src/replay/index.ts @@ -115,7 +115,7 @@ export class Replayer { private imageMap: Map = new Map(); /** The first time the player is playing. */ - private firstPlay = false; + private firstPlay = true; constructor( events: Array,