@sentry-internal/replay-canvas
Advanced tools
Comparing version 8.0.0-alpha.2 to 8.0.0-alpha.3
@@ -815,12 +815,3 @@ var { | ||
/** | ||
* @deprecated Use `replayCanvasIntegration()` instead | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const ReplayCanvas = core.convertIntegrationFnToClass(INTEGRATION_NAME, replayCanvasIntegration) | ||
; | ||
exports.ReplayCanvas = ReplayCanvas; | ||
exports.replayCanvasIntegration = replayCanvasIntegration; | ||
//# sourceMappingURL=index.js.map |
import { _optionalChain } from '@sentry/utils'; | ||
import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core'; | ||
import { defineIntegration } from '@sentry/core'; | ||
@@ -810,11 +810,3 @@ var NodeType; | ||
/** | ||
* @deprecated Use `replayCanvasIntegration()` instead | ||
*/ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const ReplayCanvas = convertIntegrationFnToClass(INTEGRATION_NAME, replayCanvasIntegration) | ||
; | ||
export { ReplayCanvas, replayCanvasIntegration }; | ||
export { replayCanvasIntegration }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@sentry-internal/replay-canvas", | ||
"version": "8.0.0-alpha.2", | ||
"version": "8.0.0-alpha.3", | ||
"description": "Replay canvas integration", | ||
@@ -8,2 +8,15 @@ "main": "cjs/index.js", | ||
"types": "types/index.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"types": "./types/index.d.ts", | ||
"default": "./esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./types/index.d.ts", | ||
"default": "./cjs/index.js" | ||
} | ||
} | ||
}, | ||
"typesVersions": { | ||
@@ -41,10 +54,10 @@ "<4.9": { | ||
"dependencies": { | ||
"@sentry/core": "8.0.0-alpha.2", | ||
"@sentry/replay": "8.0.0-alpha.2", | ||
"@sentry/types": "8.0.0-alpha.2", | ||
"@sentry/utils": "8.0.0-alpha.2" | ||
"@sentry/core": "8.0.0-alpha.3", | ||
"@sentry/replay": "8.0.0-alpha.3", | ||
"@sentry/types": "8.0.0-alpha.3", | ||
"@sentry/utils": "8.0.0-alpha.3" | ||
}, | ||
"engines": { | ||
"node": ">=14.8" | ||
"node": ">=14.18" | ||
} | ||
} |
@@ -15,4 +15,5 @@ <p align="center"> | ||
Replay and ReplayCanvas can be imported from `@sentry/browser`, or a respective SDK package like `@sentry/react` or `@sentry/vue`. | ||
You don't need to install anything in order to use Session Replay. The minimum version that includes Replay is 7.27.0. | ||
Replay and ReplayCanvas can be imported from `@sentry/browser`, or a respective SDK package like `@sentry/react` or | ||
`@sentry/vue`. You don't need to install anything in order to use Session Replay. The minimum version that includes | ||
Replay is 7.27.0. | ||
@@ -26,3 +27,3 @@ For details on using Replay when using Sentry via the CDN bundles, see [CDN bundle](#loading-replay-as-a-cdn-bundle). | ||
```javascript | ||
new Sentry.ReplayCanvas(), | ||
Sentry.replayCanvasIntegration(), | ||
``` | ||
@@ -47,8 +48,5 @@ | ||
integrations: [ | ||
new Sentry.Replay(), | ||
new Sentry.ReplayCanvas(), | ||
], | ||
integrations: [Sentry.replayIntegration(), Sentry.replayCanvasIntegration()], | ||
// ... | ||
}); | ||
``` |
import { CanvasManagerInterface, CanvasManagerOptions } from '@sentry/replay'; | ||
import { Integration, IntegrationClass } from '@sentry/types'; | ||
interface ReplayCanvasOptions { | ||
@@ -30,9 +29,3 @@ enableManualSnapshot?: boolean; | ||
export declare const replayCanvasIntegration: (options?: Partial<ReplayCanvasOptions> | undefined) => import("@sentry/types").IntegrationFnResult; | ||
/** | ||
* @deprecated Use `replayCanvasIntegration()` instead | ||
*/ | ||
export declare const ReplayCanvas: IntegrationClass<Integration & { | ||
getOptions: () => ReplayCanvasIntegrationOptions; | ||
}>; | ||
export {}; | ||
//# sourceMappingURL=canvas.d.ts.map |
@@ -1,3 +0,3 @@ | ||
export { ReplayCanvas, replayCanvasIntegration, } from './canvas'; | ||
export { replayCanvasIntegration } from './canvas'; | ||
export { ReplayCanvasIntegrationOptions } from './canvas'; | ||
//# sourceMappingURL=index.d.ts.map |
import type { CanvasManagerInterface, CanvasManagerOptions } from '@sentry/replay'; | ||
import type { Integration, IntegrationClass } from '@sentry/types'; | ||
interface ReplayCanvasOptions { | ||
@@ -30,9 +29,3 @@ enableManualSnapshot?: boolean; | ||
export declare const replayCanvasIntegration: (options?: Partial<ReplayCanvasOptions> | undefined) => import("@sentry/types").IntegrationFnResult; | ||
/** | ||
* @deprecated Use `replayCanvasIntegration()` instead | ||
*/ | ||
export declare const ReplayCanvas: IntegrationClass<Integration & { | ||
getOptions: () => ReplayCanvasIntegrationOptions; | ||
}>; | ||
export {}; | ||
//# sourceMappingURL=canvas.d.ts.map |
@@ -1,3 +0,3 @@ | ||
export { ReplayCanvas, replayCanvasIntegration, } from './canvas'; | ||
export { replayCanvasIntegration } from './canvas'; | ||
export type { ReplayCanvasIntegrationOptions } from './canvas'; | ||
//# sourceMappingURL=index.d.ts.map |
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
14
482132
1657
50
+ Added@sentry-internal/tracing@8.0.0-alpha.3(transitive)
+ Added@sentry/core@8.0.0-alpha.3(transitive)
+ Added@sentry/replay@8.0.0-alpha.3(transitive)
+ Added@sentry/types@8.0.0-alpha.3(transitive)
+ Added@sentry/utils@8.0.0-alpha.3(transitive)
- Removed@sentry-internal/tracing@8.0.0-alpha.2(transitive)
- Removed@sentry/core@8.0.0-alpha.2(transitive)
- Removed@sentry/replay@8.0.0-alpha.2(transitive)
- Removed@sentry/types@8.0.0-alpha.2(transitive)
- Removed@sentry/utils@8.0.0-alpha.2(transitive)
Updated@sentry/core@8.0.0-alpha.3
Updated@sentry/replay@8.0.0-alpha.3
Updated@sentry/types@8.0.0-alpha.3
Updated@sentry/utils@8.0.0-alpha.3