@sentry/replay 7.90.0 → 7.91.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/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { addBreadcrumb, getClient, isSentryRequestUrl, getCurrentScope, addEventProcessor, prepareEvent, setContext, captureException } from '@sentry/core';
|
|
1
|
+
import { addBreadcrumb, getClient, isSentryRequestUrl, getCurrentScope, addEventProcessor, prepareEvent, getIsolationScope, setContext, captureException } from '@sentry/core';
|
|
2
2
|
import { GLOBAL_OBJ, normalize, fill, htmlTreeAsString, browserPerformanceTimeOrigin, logger, uuid4, SENTRY_XHR_DATA_KEY, dropUndefinedKeys, stringMatchesSomePattern, addFetchInstrumentationHandler, addXhrInstrumentationHandler, addClickKeypressInstrumentationHandler, addHistoryInstrumentationHandler, createEnvelope, createEventEnvelopeHeaders, getSdkMetadataForEnvelopeHeader, updateRateLimits, isRateLimited, consoleSandbox, isBrowser } from '@sentry/utils';
|
|
3
3
|
import { addPerformanceInstrumentationHandler, addLcpInstrumentationHandler } from '@sentry-internal/tracing';
|
|
4
4
|
|
|
@@ -4377,6 +4377,7 @@ const ATTRIBUTES_TO_RECORD = new Set([
|
|
|
4377
4377
|
'data-testid',
|
|
4378
4378
|
'disabled',
|
|
4379
4379
|
'aria-disabled',
|
|
4380
|
+
'data-sentry-component',
|
|
4380
4381
|
]);
|
|
4381
4382
|
|
|
4382
4383
|
/**
|
|
@@ -7460,6 +7461,7 @@ async function prepareReplayEvent({
|
|
|
7460
7461
|
eventHint,
|
|
7461
7462
|
scope,
|
|
7462
7463
|
client,
|
|
7464
|
+
getIsolationScope(),
|
|
7463
7465
|
)) ;
|
|
7464
7466
|
|
|
7465
7467
|
// If e.g. a global event processor returned null
|