@multiplayer-app/session-recorder-browser 1.3.28 → 1.3.31
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/browser/index.js +9 -4
- package/dist/exporters/index.js +1 -1
- package/dist/exporters/index.js.map +1 -1
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +9 -4
- package/dist/index.umd.js.map +1 -1
- package/dist/services/socket.service.d.ts +4 -1
- package/dist/services/socket.service.d.ts.map +1 -1
- package/dist/services/socket.service.js +2 -2
- package/dist/services/socket.service.js.map +1 -1
- package/dist/session-recorder.d.ts.map +1 -1
- package/dist/session-recorder.js +6 -1
- package/dist/session-recorder.js.map +1 -1
- package/package.json +2 -2
package/dist/browser/index.js
CHANGED
|
@@ -25054,7 +25054,7 @@ const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
|
|
|
25054
25054
|
const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
|
|
25055
25055
|
const REMOTE_SESSION_RECORDING_START = 'remote-session-recording:start';
|
|
25056
25056
|
const REMOTE_SESSION_RECORDING_STOP = 'remote-session-recording:stop';
|
|
25057
|
-
const PACKAGE_VERSION_EXPORT = "1.3.
|
|
25057
|
+
const PACKAGE_VERSION_EXPORT = "1.3.31" || 0;
|
|
25058
25058
|
// Regex patterns for OpenTelemetry ignore URLs
|
|
25059
25059
|
const OTEL_IGNORE_URLS = [
|
|
25060
25060
|
// Traces endpoint
|
|
@@ -28091,8 +28091,8 @@ class SocketService extends lib0_observable__WEBPACK_IMPORTED_MODULE_4__.Observa
|
|
|
28091
28091
|
}
|
|
28092
28092
|
}
|
|
28093
28093
|
}
|
|
28094
|
-
setUser(
|
|
28095
|
-
this.emitSocketEvent(_config__WEBPACK_IMPORTED_MODULE_2__.SOCKET_SET_USER_EVENT,
|
|
28094
|
+
setUser(data) {
|
|
28095
|
+
this.emitSocketEvent(_config__WEBPACK_IMPORTED_MODULE_2__.SOCKET_SET_USER_EVENT, data);
|
|
28096
28096
|
}
|
|
28097
28097
|
close() {
|
|
28098
28098
|
return new Promise((resolve) => {
|
|
@@ -28560,7 +28560,12 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_16__.Obse
|
|
|
28560
28560
|
return;
|
|
28561
28561
|
}
|
|
28562
28562
|
this._userAttributes = userAttributes;
|
|
28563
|
-
this.
|
|
28563
|
+
this._tracer.clientId;
|
|
28564
|
+
const data = {
|
|
28565
|
+
userAttributes: this._userAttributes,
|
|
28566
|
+
clientId: this._tracer.clientId
|
|
28567
|
+
};
|
|
28568
|
+
this._socketService.setUser(data);
|
|
28564
28569
|
}
|
|
28565
28570
|
/**
|
|
28566
28571
|
* Updates the button click handler in the library.
|