@sentry/replay 7.94.1 → 7.96.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/replay",
3
- "version": "7.94.1",
3
+ "version": "7.96.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.94.1",
34
+ "@sentry-internal/replay-worker": "7.96.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.94.1",
42
- "@sentry/core": "7.94.1",
43
- "@sentry/types": "7.94.1",
44
- "@sentry/utils": "7.94.1"
41
+ "@sentry-internal/tracing": "7.96.0",
42
+ "@sentry/core": "7.96.0",
43
+ "@sentry/types": "7.96.0",
44
+ "@sentry/utils": "7.96.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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,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"}
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"}
@@ -1,7 +1,9 @@
1
1
  import type { Integration } from '@sentry/types';
2
2
  import type { ReplayConfiguration, SendBufferedReplayOptions } from './types';
3
+ export declare const replayIntegration: (options?: ReplayConfiguration) => Replay;
3
4
  /**
4
5
  * The main replay integration class, to be passed to `init({ integrations: [] })`.
6
+ * @deprecated Use `replayIntegration()` instead.
5
7
  */
6
8
  export declare class Replay implements Integration {
7
9
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../../src/integration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA8B,WAAW,EAAE,MAAM,eAAe,CAAC;AAW7E,OAAO,KAAK,EAGV,mBAAmB,EAEnB,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AAcjB;;GAEG;AACH,qBAAa,MAAO,YAAW,WAAW;IACxC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAY;IAEpC;;OAEG;IACI,IAAI,EAAE,MAAM,CA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CAAC,KAAK,EAAE,OAAO,EAE1C;IAED;;OAEG;IACI,SAAS,IAAI,IAAI;IAkBxB;;;;;;OAMG;IACI,KAAK,IAAI,IAAI;IAQpB;;;OAGG;IACI,cAAc,IAAI,IAAI;IAQ7B;;;OAGG;IACI,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAQ5B;;;;;;OAMG;IACI,KAAK,CAAC,OAAO,CAAC,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQhE;;OAEG;IACI,WAAW,IAAI,MAAM,GAAG,SAAS;IAQxC;;OAEG;IACH,SAAS,CAAC,WAAW,IAAI,IAAI;IAc7B,6BAA6B;IAC7B,OAAO,CAAC,MAAM;IAUd,6EAA6E;IAC7E,OAAO,CAAC,qCAAqC;CAmB9C"}
@@ -1,4 +1,4 @@
1
- export { Replay } from './integration';
1
+ export { 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,9 @@
1
1
  import { Integration } from '@sentry/types';
2
2
  import { ReplayConfiguration, SendBufferedReplayOptions } from './types';
3
+ export declare const replayIntegration: (options?: ReplayConfiguration) => Replay;
3
4
  /**
4
5
  * The main replay integration class, to be passed to `init({ integrations: [] })`.
6
+ * @deprecated Use `replayIntegration()` instead.
5
7
  */
6
8
  export declare class Replay implements Integration {
7
9
  /**