@sentry/replay
Advanced tools
Comparing version 7.84.0 to 7.85.0
{ | ||
"name": "@sentry/replay", | ||
"version": "7.84.0", | ||
"version": "7.85.0", | ||
"description": "User replays for Sentry", | ||
@@ -28,3 +28,3 @@ "main": "cjs/index.js", | ||
"@babel/core": "^7.17.5", | ||
"@sentry-internal/replay-worker": "7.84.0", | ||
"@sentry-internal/replay-worker": "7.85.0", | ||
"@sentry-internal/rrweb": "2.2.0", | ||
@@ -36,6 +36,6 @@ "@sentry-internal/rrweb-snapshot": "2.2.0", | ||
"dependencies": { | ||
"@sentry-internal/tracing": "7.84.0", | ||
"@sentry/core": "7.84.0", | ||
"@sentry/types": "7.84.0", | ||
"@sentry/utils": "7.84.0" | ||
"@sentry-internal/tracing": "7.85.0", | ||
"@sentry/core": "7.85.0", | ||
"@sentry/types": "7.85.0", | ||
"@sentry/utils": "7.85.0" | ||
}, | ||
@@ -42,0 +42,0 @@ "engines": { |
import { Event, EventHint } from '@sentry/types'; | ||
import { ReplayContainer } from '../types'; | ||
/** | ||
* Returns a listener to be added to `addGlobalEventProcessor(listener)`. | ||
* Returns a listener to be added to `addEventProcessor(listener)`. | ||
*/ | ||
export declare function handleGlobalEventListener(replay: ReplayContainer, includeAfterSendEventHandling?: boolean): (event: Event, hint: EventHint) => Event | null; | ||
//# sourceMappingURL=handleGlobalEvent.d.ts.map |
import { Breadcrumb, TextEncoderInternal, XhrBreadcrumbData } from '@sentry/types'; | ||
import { ReplayContainer, ReplayNetworkOptions, XhrHint } from '../../types'; | ||
import { NetworkMetaWarning, ReplayContainer, ReplayNetworkOptions, XhrHint } from '../../types'; | ||
/** | ||
@@ -22,2 +22,17 @@ * Capture an XHR breadcrumb to a replay. | ||
}): void; | ||
/** | ||
* Get the string representation of the XHR response. | ||
* Based on MDN, these are the possible types of the response: | ||
* string | ||
* ArrayBuffer | ||
* Blob | ||
* Document | ||
* POJO | ||
* | ||
* Exported only for tests. | ||
*/ | ||
export declare function _parseXhrResponse(body: XMLHttpRequest['response'], responseType: XMLHttpRequest['responseType']): [ | ||
string | undefined, | ||
NetworkMetaWarning? | ||
]; | ||
//# sourceMappingURL=xhrUtils.d.ts.map |
type JsonObject = Record<string, unknown>; | ||
type JsonArray = unknown[]; | ||
export type NetworkBody = JsonObject | JsonArray | string; | ||
export type NetworkMetaWarning = 'MAYBE_JSON_TRUNCATED' | 'TEXT_TRUNCATED' | 'URL_SKIPPED' | 'BODY_PARSE_ERROR'; | ||
export type NetworkMetaWarning = 'MAYBE_JSON_TRUNCATED' | 'TEXT_TRUNCATED' | 'URL_SKIPPED' | 'BODY_PARSE_ERROR' | 'UNPARSEABLE_BODY_TYPE'; | ||
interface NetworkMeta { | ||
@@ -6,0 +6,0 @@ warnings?: NetworkMetaWarning[]; |
import type { Event, EventHint } from '@sentry/types'; | ||
import type { ReplayContainer } from '../types'; | ||
/** | ||
* Returns a listener to be added to `addGlobalEventProcessor(listener)`. | ||
* Returns a listener to be added to `addEventProcessor(listener)`. | ||
*/ | ||
export declare function handleGlobalEventListener(replay: ReplayContainer, includeAfterSendEventHandling?: boolean): (event: Event, hint: EventHint) => Event | null; | ||
//# sourceMappingURL=handleGlobalEvent.d.ts.map |
import type { Breadcrumb, TextEncoderInternal, XhrBreadcrumbData } from '@sentry/types'; | ||
import type { ReplayContainer, ReplayNetworkOptions, XhrHint } from '../../types'; | ||
import type { NetworkMetaWarning, ReplayContainer, ReplayNetworkOptions, XhrHint } from '../../types'; | ||
/** | ||
@@ -22,2 +22,14 @@ * Capture an XHR breadcrumb to a replay. | ||
}): void; | ||
/** | ||
* Get the string representation of the XHR response. | ||
* Based on MDN, these are the possible types of the response: | ||
* string | ||
* ArrayBuffer | ||
* Blob | ||
* Document | ||
* POJO | ||
* | ||
* Exported only for tests. | ||
*/ | ||
export declare function _parseXhrResponse(body: XMLHttpRequest['response'], responseType: XMLHttpRequest['responseType']): [string | undefined, NetworkMetaWarning?]; | ||
//# sourceMappingURL=xhrUtils.d.ts.map |
type JsonObject = Record<string, unknown>; | ||
type JsonArray = unknown[]; | ||
export type NetworkBody = JsonObject | JsonArray | string; | ||
export type NetworkMetaWarning = 'MAYBE_JSON_TRUNCATED' | 'TEXT_TRUNCATED' | 'URL_SKIPPED' | 'BODY_PARSE_ERROR'; | ||
export type NetworkMetaWarning = 'MAYBE_JSON_TRUNCATED' | 'TEXT_TRUNCATED' | 'URL_SKIPPED' | 'BODY_PARSE_ERROR' | 'UNPARSEABLE_BODY_TYPE'; | ||
interface NetworkMeta { | ||
@@ -6,0 +6,0 @@ warnings?: NetworkMetaWarning[]; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2301569
20840
+ Added@sentry-internal/tracing@7.85.0(transitive)
+ Added@sentry/core@7.85.0(transitive)
+ Added@sentry/types@7.85.0(transitive)
+ Added@sentry/utils@7.85.0(transitive)
- Removed@sentry-internal/tracing@7.84.0(transitive)
- Removed@sentry/core@7.84.0(transitive)
- Removed@sentry/types@7.84.0(transitive)
- Removed@sentry/utils@7.84.0(transitive)
Updated@sentry/core@7.85.0
Updated@sentry/types@7.85.0
Updated@sentry/utils@7.85.0