We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92b9c0d commit 0c7c992Copy full SHA for 0c7c992
packages/replay-canvas/src/canvas.ts
@@ -1,5 +1,4 @@
1
import { CanvasManager } from '@sentry-internal/rrweb';
2
-import { getCanvasManager } from '@sentry-internal/rrweb/typings/record';
3
import { convertIntegrationFnToClass } from '@sentry/core';
4
import type { CanvasManagerInterface } from '@sentry/replay';
5
import type { IntegrationFn } from '@sentry/types';
@@ -81,4 +80,6 @@ export function snapshot(canvasElement: HTMLCanvasElement): void {
81
80
replayCanvasIntegration().getOptions().getCanvasManager().snapshot(canvasElement);
82
}
83
+// TODO(v8)
84
+// eslint-disable-next-line deprecation/deprecation
85
export const ReplayCanvas = convertIntegrationFnToClass(INTEGRATION_NAME, replayCanvasIntegration);
0 commit comments