@statsig/session-replay 3.15.0 → 3.15.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statsig/session-replay",
3
- "version": "3.15.0",
3
+ "version": "3.15.1",
4
4
  "license": "ISC",
5
5
  "homepage": "https://github.com/statsig-io/js-client-monorepo",
6
6
  "repository": {
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "rrweb": "2.0.0-alpha.14",
13
- "@statsig/client-core": "3.15.0"
13
+ "@statsig/client-core": "3.15.1"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@rrweb/types": "2.0.0-alpha.14"
@@ -43,7 +43,6 @@ class SessionReplay {
43
43
  this._replayer.stop();
44
44
  client_core_1.StatsigMetadataProvider.add({ isRecordingSession: 'false' });
45
45
  this._logRecording('session_expired');
46
- this._currentSessionID = this._getSessionIdFromClient();
47
46
  });
48
47
  this._subscribeToVisibilityChanged();
49
48
  this._attemptToStartRecording((_a = this._options) === null || _a === void 0 ? void 0 : _a.forceRecording);
@@ -117,7 +116,7 @@ class SessionReplay {
117
116
  if (this._events.length === 0 || this._sessionData == null) {
118
117
  return;
119
118
  }
120
- this._bumpSessionIdleTimerAndLogRecording();
119
+ this._logRecording();
121
120
  }
122
121
  _logRecording(endReason) {
123
122
  if (this._events.length === 0 || this._sessionData == null) {
@@ -153,7 +152,7 @@ class SessionReplay {
153
152
  this._events = [];
154
153
  }
155
154
  _bumpSessionIdleTimerAndLogRecording() {
156
- this._currentSessionID = this._getSessionIdFromClient();
155
+ this._getSessionIdFromClient();
157
156
  this._logRecording();
158
157
  }
159
158
  _getSessionIdFromClient() {