@sentry/replay 7.94.1 → 7.95.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/cjs/index.js +8 -0
- package/cjs/index.js.map +1 -1
- package/esm/index.js +8 -1
- package/esm/index.js.map +1 -1
- package/package.json +6 -6
- package/types/index.d.ts +1 -1
- package/types/index.d.ts.map +1 -1
- package/types/integration.d.ts +5 -1
- package/types/integration.d.ts.map +1 -1
- package/types-ts3.8/index.d.ts +1 -1
- package/types-ts3.8/integration.d.ts +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/replay",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.95.0",
|
|
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": "7.
|
|
34
|
+
"@sentry-internal/replay-worker": "7.95.0",
|
|
35
35
|
"@sentry-internal/rrweb": "2.9.0",
|
|
36
36
|
"@sentry-internal/rrweb-snapshot": "2.9.0",
|
|
37
37
|
"fflate": "^0.8.1",
|
|
38
38
|
"jsdom-worker": "^0.2.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@sentry-internal/tracing": "7.
|
|
42
|
-
"@sentry/core": "7.
|
|
43
|
-
"@sentry/types": "7.
|
|
44
|
-
"@sentry/utils": "7.
|
|
41
|
+
"@sentry-internal/tracing": "7.95.0",
|
|
42
|
+
"@sentry/core": "7.95.0",
|
|
43
|
+
"@sentry/types": "7.95.0",
|
|
44
|
+
"@sentry/utils": "7.95.0"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=12"
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Replay } from './integration';
|
|
1
|
+
export { Replay, replayIntegration, } from './integration';
|
|
2
2
|
export type { ReplayConfiguration, ReplayEventType, ReplayEventWithTime, ReplayBreadcrumbFrame, ReplayBreadcrumbFrameEvent, ReplayOptionFrameEvent, ReplayFrame, ReplayFrameEvent, ReplaySpanFrame, ReplaySpanFrameEvent, CanvasManagerInterface, CanvasManagerOptions, } from './types';
|
|
3
3
|
export * from './types/deprecated';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EACN,iBAAiB,GAClB,MAAM,eAAe,CAAC;AAEvB,YAAY,EACV,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,sBAAsB,EACtB,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,SAAS,CAAC;AAGjB,cAAc,oBAAoB,CAAC"}
|
package/types/integration.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { Integration } from '@sentry/types';
|
|
2
|
-
import type { ReplayConfiguration, SendBufferedReplayOptions } from './types';
|
|
2
|
+
import type { ReplayConfiguration, ReplayPluginOptions, SendBufferedReplayOptions } from './types';
|
|
3
|
+
type InitialReplayPluginOptions = Omit<ReplayPluginOptions, 'sessionSampleRate' | 'errorSampleRate'> & Partial<Pick<ReplayPluginOptions, 'sessionSampleRate' | 'errorSampleRate'>>;
|
|
4
|
+
export declare const replayIntegration: (options?: InitialReplayPluginOptions) => Replay;
|
|
3
5
|
/**
|
|
4
6
|
* The main replay integration class, to be passed to `init({ integrations: [] })`.
|
|
7
|
+
* @deprecated Use `replayIntegration()` instead.
|
|
5
8
|
*/
|
|
6
9
|
export declare class Replay implements Integration {
|
|
7
10
|
/**
|
|
@@ -73,4 +76,5 @@ export declare class Replay implements Integration {
|
|
|
73
76
|
/** Get canvas options from ReplayCanvas integration, if it is also added. */
|
|
74
77
|
private _maybeLoadFromReplayCanvasIntegration;
|
|
75
78
|
}
|
|
79
|
+
export {};
|
|
76
80
|
//# sourceMappingURL=integration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../../src/integration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA8B,WAAW,
|
|
1
|
+
{"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../../src/integration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA8B,WAAW,EAAiB,MAAM,eAAe,CAAC;AAW5F,OAAO,KAAK,EAGV,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AAWjB,KAAK,0BAA0B,GAAG,IAAI,CAAC,mBAAmB,EAAE,mBAAmB,GAAG,iBAAiB,CAAC,GAClG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,mBAAmB,GAAG,iBAAiB,CAAC,CAAC,CAAC;AAE9E,eAAO,MAAM,iBAAiB,aAAe,0BAA0B,WAG7C,CAAC;AAE3B;;;GAGG;AACH,qBAAa,MAAO,YAAW,WAAW;IACxC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAY;IAEpC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAmB;IAErD;;;;;;OAMG;IACH,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA6B;IAE7D,OAAO,CAAC,O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{ Replay, replayIntegration, } from './integration';
|
|
2
2
|
export { ReplayConfiguration, ReplayEventType, ReplayEventWithTime, ReplayBreadcrumbFrame, ReplayBreadcrumbFrameEvent, ReplayOptionFrameEvent, ReplayFrame, ReplayFrameEvent, ReplaySpanFrame, ReplaySpanFrameEvent, CanvasManagerInterface, CanvasManagerOptions, } from './types';
|
|
3
3
|
export * from './types/deprecated';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Integration } from '@sentry/types';
|
|
2
|
-
import { ReplayConfiguration, SendBufferedReplayOptions } from './types';
|
|
2
|
+
import { ReplayConfiguration, ReplayPluginOptions, SendBufferedReplayOptions } from './types';
|
|
3
|
+
type InitialReplayPluginOptions = Pick<ReplayPluginOptions, Exclude<keyof ReplayPluginOptions, 'sessionSampleRate' | 'errorSampleRate'>> & Partial<Pick<ReplayPluginOptions, 'sessionSampleRate' | 'errorSampleRate'>>;
|
|
4
|
+
export declare const replayIntegration: (options?: InitialReplayPluginOptions) => Replay;
|
|
3
5
|
/**
|
|
4
6
|
* The main replay integration class, to be passed to `init({ integrations: [] })`.
|
|
7
|
+
* @deprecated Use `replayIntegration()` instead.
|
|
5
8
|
*/
|
|
6
9
|
export declare class Replay implements Integration {
|
|
7
10
|
/**
|
|
@@ -72,4 +75,5 @@ export declare class Replay implements Integration {
|
|
|
72
75
|
/** Get canvas options from ReplayCanvas integration, if it is also added. */
|
|
73
76
|
private _maybeLoadFromReplayCanvasIntegration;
|
|
74
77
|
}
|
|
78
|
+
export {};
|
|
75
79
|
//# sourceMappingURL=integration.d.ts.map
|