@multiplayer-app/session-recorder-browser 1.2.36 → 1.2.37
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/README.md +44 -14
- package/dist/browser/index.js +2 -9
- package/dist/browser/index.js.map +1 -1
- package/dist/exporters/index.js +1 -1
- package/dist/index.js +2 -9
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +2 -9
- package/dist/index.umd.js.map +1 -1
- package/dist/otel/helpers.d.ts.map +1 -1
- package/dist/otel/helpers.js +1 -8
- package/dist/otel/helpers.js.map +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -24317,7 +24317,7 @@ const DEFAULT_MAX_HTTP_CAPTURING_PAYLOAD_SIZE = 100000;
|
|
|
24317
24317
|
const SESSION_RESPONSE = 'multiplayer-debug-session-response';
|
|
24318
24318
|
const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
|
|
24319
24319
|
const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
|
|
24320
|
-
const PACKAGE_VERSION_EXPORT = "1.2.
|
|
24320
|
+
const PACKAGE_VERSION_EXPORT = "1.2.37" || 0;
|
|
24321
24321
|
// Regex patterns for OpenTelemetry ignore URLs
|
|
24322
24322
|
const OTEL_IGNORE_URLS = [
|
|
24323
24323
|
// Traces endpoint
|
|
@@ -25155,14 +25155,7 @@ const getExporterEndpoint = (exporterEndpoint) => {
|
|
|
25155
25155
|
return `${trimmedExporterEndpoint}/v1/traces`;
|
|
25156
25156
|
};
|
|
25157
25157
|
const getElementTextContent = (element) => {
|
|
25158
|
-
|
|
25159
|
-
const slicedText = element.innerText.slice(0, 50);
|
|
25160
|
-
if (slicedText.length < element.innerText.length) {
|
|
25161
|
-
return `${slicedText}...`;
|
|
25162
|
-
}
|
|
25163
|
-
return slicedText;
|
|
25164
|
-
};
|
|
25165
|
-
return String(element.textContent || element.ariaLabel || getInnerText(element) || '').trim();
|
|
25158
|
+
return String(element.textContent || element.ariaLabel || '').trim();
|
|
25166
25159
|
};
|
|
25167
25160
|
|
|
25168
25161
|
|