@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.
@@ -9978,7 +9978,7 @@ const DEFAULT_MAX_HTTP_CAPTURING_PAYLOAD_SIZE = 100000;
9978
9978
  const SESSION_RESPONSE = 'multiplayer-debug-session-response';
9979
9979
  const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
9980
9980
  const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
9981
- const PACKAGE_VERSION_EXPORT = "1.2.36" || 0;
9981
+ const PACKAGE_VERSION_EXPORT = "1.2.37" || 0;
9982
9982
  // Regex patterns for OpenTelemetry ignore URLs
9983
9983
  const OTEL_IGNORE_URLS = [
9984
9984
  // Traces endpoint
package/dist/index.js CHANGED
@@ -24143,7 +24143,7 @@ const DEFAULT_MAX_HTTP_CAPTURING_PAYLOAD_SIZE = 100000;
24143
24143
  const SESSION_RESPONSE = 'multiplayer-debug-session-response';
24144
24144
  const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
24145
24145
  const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
24146
- const PACKAGE_VERSION_EXPORT = "1.2.36" || 0;
24146
+ const PACKAGE_VERSION_EXPORT = "1.2.37" || 0;
24147
24147
  // Regex patterns for OpenTelemetry ignore URLs
24148
24148
  const OTEL_IGNORE_URLS = [
24149
24149
  // Traces endpoint
@@ -24970,14 +24970,7 @@ const getExporterEndpoint = (exporterEndpoint) => {
24970
24970
  return `${trimmedExporterEndpoint}/v1/traces`;
24971
24971
  };
24972
24972
  const getElementTextContent = (element) => {
24973
- const getInnerText = (element) => {
24974
- const slicedText = element.innerText.slice(0, 50);
24975
- if (slicedText.length < element.innerText.length) {
24976
- return `${slicedText}...`;
24977
- }
24978
- return slicedText;
24979
- };
24980
- return String(element.textContent || element.ariaLabel || getInnerText(element) || '').trim();
24973
+ return String(element.textContent || element.ariaLabel || '').trim();
24981
24974
  };
24982
24975
 
24983
24976