@sentry/replay 7.48.0 → 7.50.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/README.md +19 -6
- package/cjs/index.js +888 -200
- package/cjs/index.js.map +1 -1
- package/esm/index.js +889 -201
- package/esm/index.js.map +1 -1
- package/package.json +5 -5
- package/types/constants.d.ts +5 -3
- package/types/constants.d.ts.map +1 -1
- package/types/coreHandlers/handleAfterSendEvent.d.ts.map +1 -1
- package/types/coreHandlers/handleNetworkBreadcrumbs.d.ts.map +1 -1
- package/types/coreHandlers/handleScope.d.ts +2 -0
- package/types/coreHandlers/handleScope.d.ts.map +1 -1
- package/types/coreHandlers/util/addBreadcrumbEvent.d.ts.map +1 -1
- package/types/coreHandlers/util/fetchUtils.d.ts.map +1 -1
- package/types/coreHandlers/util/networkUtils.d.ts +5 -1
- package/types/coreHandlers/util/networkUtils.d.ts.map +1 -1
- package/types/coreHandlers/util/xhrUtils.d.ts.map +1 -1
- package/types/integration.d.ts +21 -14
- package/types/integration.d.ts.map +1 -1
- package/types/replay.d.ts +33 -12
- package/types/replay.d.ts.map +1 -1
- package/types/session/Session.d.ts +0 -4
- package/types/session/Session.d.ts.map +1 -1
- package/types/session/clearSession.d.ts +6 -0
- package/types/session/clearSession.d.ts.map +1 -0
- package/types/session/createSession.d.ts +6 -2
- package/types/session/createSession.d.ts.map +1 -1
- package/types/session/getSession.d.ts +1 -1
- package/types/session/getSession.d.ts.map +1 -1
- package/types/types.d.ts +60 -38
- package/types/types.d.ts.map +1 -1
- package/types/util/truncateJson/completeJson.d.ts +9 -0
- package/types/util/truncateJson/completeJson.d.ts.map +1 -0
- package/types/util/truncateJson/constants.d.ts +12 -0
- package/types/util/truncateJson/constants.d.ts.map +1 -0
- package/types/util/truncateJson/evaluateJson.d.ts +6 -0
- package/types/util/truncateJson/evaluateJson.d.ts.map +1 -0
- package/types/util/truncateJson/fixJson.d.ts +6 -0
- package/types/util/truncateJson/fixJson.d.ts.map +1 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const OBJ = 10;
|
|
2
|
+
export declare const OBJ_KEY = 11;
|
|
3
|
+
export declare const OBJ_KEY_STR = 12;
|
|
4
|
+
export declare const OBJ_VAL = 13;
|
|
5
|
+
export declare const OBJ_VAL_STR = 14;
|
|
6
|
+
export declare const OBJ_VAL_COMPLETED = 15;
|
|
7
|
+
export declare const ARR = 20;
|
|
8
|
+
export declare const ARR_VAL = 21;
|
|
9
|
+
export declare const ARR_VAL_STR = 22;
|
|
10
|
+
export declare const ARR_VAL_COMPLETED = 23;
|
|
11
|
+
export declare type JsonToken = typeof OBJ | typeof OBJ_KEY | typeof OBJ_KEY_STR | typeof OBJ_VAL | typeof OBJ_VAL_STR | typeof OBJ_VAL_COMPLETED | typeof ARR | typeof ARR_VAL | typeof ARR_VAL_STR | typeof ARR_VAL_COMPLETED;
|
|
12
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/util/truncateJson/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG,KAAK,CAAC;AACtB,eAAO,MAAM,OAAO,KAAK,CAAC;AAC1B,eAAO,MAAM,WAAW,KAAK,CAAC;AAC9B,eAAO,MAAM,OAAO,KAAK,CAAC;AAC1B,eAAO,MAAM,WAAW,KAAK,CAAC;AAC9B,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,eAAO,MAAM,GAAG,KAAK,CAAC;AACtB,eAAO,MAAM,OAAO,KAAK,CAAC;AAC1B,eAAO,MAAM,WAAW,KAAK,CAAC;AAC9B,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,oBAAY,SAAS,GACjB,OAAO,GAAG,GACV,OAAO,OAAO,GACd,OAAO,WAAW,GAClB,OAAO,OAAO,GACd,OAAO,WAAW,GAClB,OAAO,iBAAiB,GACxB,OAAO,GAAG,GACV,OAAO,OAAO,GACd,OAAO,WAAW,GAClB,OAAO,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluateJson.d.ts","sourceRoot":"","sources":["../../../../../src/util/truncateJson/evaluateJson.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAc7C;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,CAQtD"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Takes an incomplete JSON string, and returns a hopefully valid JSON string.
|
|
3
|
+
* Note that this _can_ fail, so you should check the return value is valid JSON.
|
|
4
|
+
*/
|
|
5
|
+
export declare function fixJson(incompleteJson: string): string;
|
|
6
|
+
//# sourceMappingURL=fixJson.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fixJson.d.ts","sourceRoot":"","sources":["../../../../../src/util/truncateJson/fixJson.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,OAAO,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAItD"}
|