@sentry/replay 8.0.0-alpha.1 → 8.0.0-alpha.2
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/cjs/index.js +3 -28
- package/cjs/index.js.map +1 -1
- package/esm/index.js +4 -29
- package/esm/index.js.map +1 -1
- package/package.json +6 -6
- package/types/coreHandlers/handleAfterSendEvent.d.ts +1 -1
- package/types/coreHandlers/handleAfterSendEvent.d.ts.map +1 -1
- package/types/util/sendReplayRequest.d.ts +1 -1
- package/types/util/sendReplayRequest.d.ts.map +1 -1
- package/types-ts3.8/coreHandlers/handleAfterSendEvent.d.ts +1 -1
- package/types-ts3.8/util/sendReplayRequest.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/replay",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.2",
|
|
4
4
|
"description": "User replays for Sentry",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
"homepage": "https://docs.sentry.io/platforms/javascript/session-replay/",
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@babel/core": "^7.17.5",
|
|
34
|
-
"@sentry-internal/replay-worker": "8.0.0-alpha.
|
|
34
|
+
"@sentry-internal/replay-worker": "8.0.0-alpha.2",
|
|
35
35
|
"@sentry-internal/rrweb": "2.11.0",
|
|
36
36
|
"@sentry-internal/rrweb-snapshot": "2.11.0",
|
|
37
37
|
"fflate": "^0.8.1",
|
|
38
38
|
"jsdom-worker": "^0.2.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@sentry-internal/tracing": "8.0.0-alpha.
|
|
42
|
-
"@sentry/core": "8.0.0-alpha.
|
|
43
|
-
"@sentry/types": "8.0.0-alpha.
|
|
44
|
-
"@sentry/utils": "8.0.0-alpha.
|
|
41
|
+
"@sentry-internal/tracing": "8.0.0-alpha.2",
|
|
42
|
+
"@sentry/core": "8.0.0-alpha.2",
|
|
43
|
+
"@sentry/types": "8.0.0-alpha.2",
|
|
44
|
+
"@sentry/utils": "8.0.0-alpha.2"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=14.8"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Event, TransportMakeRequestResponse } from '@sentry/types';
|
|
2
2
|
import type { ReplayContainer } from '../types';
|
|
3
|
-
type AfterSendEventCallback = (event: Event, sendResponse: TransportMakeRequestResponse
|
|
3
|
+
type AfterSendEventCallback = (event: Event, sendResponse: TransportMakeRequestResponse) => void;
|
|
4
4
|
/**
|
|
5
5
|
* Returns a listener to be added to `client.on('afterSendErrorEvent, listener)`.
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleAfterSendEvent.d.ts","sourceRoot":"","sources":["../../../../src/coreHandlers/handleAfterSendEvent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"handleAfterSendEvent.d.ts","sourceRoot":"","sources":["../../../../src/coreHandlers/handleAfterSendEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,KAAK,EAAoB,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAEvG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD,KAAK,sBAAsB,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,4BAA4B,KAAK,IAAI,CAAC;AAEjG;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,eAAe,GAAG,sBAAsB,CAsBpF"}
|
|
@@ -4,7 +4,7 @@ import type { SendReplayData } from '../types';
|
|
|
4
4
|
/**
|
|
5
5
|
* Send replay attachment using `fetch()`
|
|
6
6
|
*/
|
|
7
|
-
export declare function sendReplayRequest({ recordingData, replayId, segmentId: segment_id, eventContext, timestamp, session, }: SendReplayData): Promise<
|
|
7
|
+
export declare function sendReplayRequest({ recordingData, replayId, segmentId: segment_id, eventContext, timestamp, session, }: SendReplayData): Promise<TransportMakeRequestResponse>;
|
|
8
8
|
/**
|
|
9
9
|
* This error indicates that the transport returned an invalid status code.
|
|
10
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendReplayRequest.d.ts","sourceRoot":"","sources":["../../../../src/util/sendReplayRequest.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"sendReplayRequest.d.ts","sourceRoot":"","sources":["../../../../src/util/sendReplayRequest.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAKhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAM/C;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,EACtC,aAAa,EACb,QAAQ,EACR,SAAS,EAAE,UAAU,EACrB,YAAY,EACZ,SAAS,EACT,OAAO,GACR,EAAE,cAAc,GAAG,OAAO,CAAC,4BAA4B,CAAC,CA8GxD;AAED;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,KAAK;gBAC9B,UAAU,EAAE,MAAM;CAGtC;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,KAAK;IAChC,UAAU,EAAE,UAAU,CAAC;gBAEX,UAAU,EAAE,UAAU;CAI1C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Event, TransportMakeRequestResponse } from '@sentry/types';
|
|
2
2
|
import { ReplayContainer } from '../types';
|
|
3
|
-
type AfterSendEventCallback = (event: Event, sendResponse: TransportMakeRequestResponse
|
|
3
|
+
type AfterSendEventCallback = (event: Event, sendResponse: TransportMakeRequestResponse) => void;
|
|
4
4
|
/**
|
|
5
5
|
* Returns a listener to be added to `client.on('afterSendErrorEvent, listener)`.
|
|
6
6
|
*/
|
|
@@ -4,7 +4,7 @@ import { SendReplayData } from '../types';
|
|
|
4
4
|
/**
|
|
5
5
|
* Send replay attachment using `fetch()`
|
|
6
6
|
*/
|
|
7
|
-
export declare function sendReplayRequest({ recordingData, replayId, segmentId: segment_id, eventContext, timestamp, session, }: SendReplayData): Promise<
|
|
7
|
+
export declare function sendReplayRequest({ recordingData, replayId, segmentId: segment_id, eventContext, timestamp, session, }: SendReplayData): Promise<TransportMakeRequestResponse>;
|
|
8
8
|
/**
|
|
9
9
|
* This error indicates that the transport returned an invalid status code.
|
|
10
10
|
*/
|