@sentry-internal/feedback
Advanced tools
Comparing version
@@ -1,1 +0,1 @@ | ||
{"type":"module","version":"9.11.0","sideEffects":false} | ||
{"type":"module","version":"9.12.0","sideEffects":false} |
@@ -9,4 +9,16 @@ type ComponentType<T> = any; | ||
hooks: typeof Hooks; | ||
imageBuffer: HTMLCanvasElement; | ||
/** | ||
* A ref to a Canvas Element that serves as our "value" or image output. | ||
*/ | ||
outputBuffer: HTMLCanvasElement; | ||
/** | ||
* A reference to the whole dialog (the parent of this component) so that we | ||
* can show/hide it and take a clean screenshot of the webpage. | ||
*/ | ||
dialog: ReturnType<FeedbackModalIntegration['createDialog']>; | ||
/** | ||
* The whole options object. | ||
* | ||
* Needed to set nonce and id values for editor specific styles | ||
*/ | ||
options: FeedbackInternalOptions; | ||
@@ -17,4 +29,4 @@ } | ||
} | ||
export declare function ScreenshotEditorFactory({ h, hooks, imageBuffer, dialog, options, }: FactoryParams): ComponentType<Props>; | ||
export declare function ScreenshotEditorFactory({ h, hooks, outputBuffer, dialog, options, }: FactoryParams): ComponentType<Props>; | ||
export {}; | ||
//# sourceMappingURL=ScreenshotEditor.d.ts.map |
@@ -8,7 +8,7 @@ type VNode = any; | ||
} | ||
export default function ToolbarFactory({ h }: FactoryParams): ({ action, setAction, }: { | ||
action: 'crop' | 'annotate' | ''; | ||
setAction: Hooks.StateUpdater<'crop' | 'annotate' | ''>; | ||
export default function ToolbarFactory({ h, }: FactoryParams): ({ action, setAction, }: { | ||
action: 'highlight' | 'hide' | ''; | ||
setAction: Hooks.StateUpdater<'highlight' | 'hide' | ''>; | ||
}) => VNode; | ||
export {}; | ||
//# sourceMappingURL=Toolbar.d.ts.map |
@@ -7,3 +7,3 @@ import * as Hooks from 'preact/hooks'; | ||
onBeforeScreenshot: () => void; | ||
onScreenshot: (imageSource: HTMLVideoElement) => void; | ||
onScreenshot: (imageSource: HTMLVideoElement, dpi: number) => void; | ||
onAfterScreenshot: () => void; | ||
@@ -10,0 +10,0 @@ onError: (error: Error) => void; |
@@ -7,4 +7,16 @@ import type { FeedbackInternalOptions, FeedbackModalIntegration } from '@sentry/core'; | ||
hooks: typeof Hooks; | ||
imageBuffer: HTMLCanvasElement; | ||
/** | ||
* A ref to a Canvas Element that serves as our "value" or image output. | ||
*/ | ||
outputBuffer: HTMLCanvasElement; | ||
/** | ||
* A reference to the whole dialog (the parent of this component) so that we | ||
* can show/hide it and take a clean screenshot of the webpage. | ||
*/ | ||
dialog: ReturnType<FeedbackModalIntegration['createDialog']>; | ||
/** | ||
* The whole options object. | ||
* | ||
* Needed to set nonce and id values for editor specific styles | ||
*/ | ||
options: FeedbackInternalOptions; | ||
@@ -15,4 +27,4 @@ } | ||
} | ||
export declare function ScreenshotEditorFactory({ h, hooks, imageBuffer, dialog, options, }: FactoryParams): ComponentType<Props>; | ||
export declare function ScreenshotEditorFactory({ h, hooks, outputBuffer, dialog, options, }: FactoryParams): ComponentType<Props>; | ||
export {}; | ||
//# sourceMappingURL=ScreenshotEditor.d.ts.map |
@@ -6,7 +6,7 @@ import type { VNode, h as hType } from 'preact'; | ||
} | ||
export default function ToolbarFactory({ h }: FactoryParams): ({ action, setAction, }: { | ||
action: 'crop' | 'annotate' | ''; | ||
setAction: Hooks.StateUpdater<'crop' | 'annotate' | ''>; | ||
export default function ToolbarFactory({ h, }: FactoryParams): ({ action, setAction, }: { | ||
action: 'highlight' | 'hide' | ''; | ||
setAction: Hooks.StateUpdater<'highlight' | 'hide' | ''>; | ||
}) => VNode; | ||
export {}; | ||
//# sourceMappingURL=Toolbar.d.ts.map |
@@ -7,3 +7,3 @@ import type * as Hooks from 'preact/hooks'; | ||
onBeforeScreenshot: () => void; | ||
onScreenshot: (imageSource: HTMLVideoElement) => void; | ||
onScreenshot: (imageSource: HTMLVideoElement, dpi: number) => void; | ||
onAfterScreenshot: () => void; | ||
@@ -10,0 +10,0 @@ onError: (error: Error) => void; |
{ | ||
"name": "@sentry-internal/feedback", | ||
"version": "9.11.0", | ||
"version": "9.12.0", | ||
"description": "Sentry SDK integration for user feedback", | ||
@@ -42,3 +42,3 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/core": "9.11.0" | ||
"@sentry/core": "9.12.0" | ||
}, | ||
@@ -45,0 +45,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
550725
-8.93%95
-11.21%4625
-11.92%+ Added
- Removed
Updated