@statsig/session-replay 1.7.0 → 2.1.0

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,9 +1,9 @@
1
1
  {
2
2
  "name": "@statsig/session-replay",
3
- "version": "1.7.0",
3
+ "version": "2.1.0",
4
4
  "dependencies": {
5
5
  "rrweb": "2.0.0-alpha.12",
6
- "@statsig/client-core": "1.7.0"
6
+ "@statsig/client-core": "2.1.0"
7
7
  },
8
8
  "devDependencies": {
9
9
  "@rrweb/types": "2.0.0-alpha.12"
@@ -141,7 +141,7 @@ class SessionReplay {
141
141
  }
142
142
  _getSessionIdFromClient() {
143
143
  return __awaiter(this, void 0, void 0, function* () {
144
- return this._client.getAsyncContext().then((x) => x.session.data.sessionID);
144
+ return this._client.getContext().session.data.sessionID;
145
145
  });
146
146
  }
147
147
  }