@sentry-internal/feedback
Advanced tools
Comparing version 8.12.0-beta.0 to 8.12.0
{ | ||
"name": "@sentry-internal/feedback", | ||
"version": "8.12.0-beta.0", | ||
"version": "8.12.0", | ||
"description": "Sentry SDK integration for user feedback", | ||
@@ -45,5 +45,5 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/core": "8.12.0-beta.0", | ||
"@sentry/types": "8.12.0-beta.0", | ||
"@sentry/utils": "8.12.0-beta.0" | ||
"@sentry/core": "8.12.0", | ||
"@sentry/types": "8.12.0", | ||
"@sentry/utils": "8.12.0" | ||
}, | ||
@@ -50,0 +50,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
import { FeedbackDialog, Integration, IntegrationFn } from '@sentry/types'; | ||
import { FeedbackModalIntegration, Integration, IntegrationFn } from '@sentry/types'; | ||
import { ActorComponent } from './components/Actor'; | ||
@@ -15,3 +15,3 @@ import { OverrideFeedbackConfiguration } from './types'; | ||
attachTo(el: Element | string, optionOverrides?: OverrideFeedbackConfiguration): Unsubscribe; | ||
createForm(optionOverrides?: OverrideFeedbackConfiguration): Promise<FeedbackDialog>; | ||
createForm(optionOverrides?: OverrideFeedbackConfiguration): Promise<ReturnType<FeedbackModalIntegration['createDialog']>>; | ||
createWidget(optionOverrides?: OverrideFeedbackConfiguration): ActorComponent; | ||
@@ -18,0 +18,0 @@ remove(): void; |
type ComponentType<T> = any; | ||
declare const hType: any; | ||
import { FeedbackDialog, FeedbackInternalOptions } from '@sentry/types'; | ||
import { FeedbackInternalOptions, FeedbackModalIntegration } from '@sentry/types'; | ||
// replaced import from preact | ||
import * as Hooks from 'preact/hooks'; | ||
interface FactoryParams { | ||
h: typeof hType; | ||
hooks: typeof Hooks; | ||
imageBuffer: HTMLCanvasElement; | ||
dialog: FeedbackDialog; | ||
dialog: ReturnType<FeedbackModalIntegration['createDialog']>; | ||
options: FeedbackInternalOptions; | ||
@@ -14,4 +16,5 @@ } | ||
} | ||
export declare function makeScreenshotEditorComponent({ imageBuffer, dialog, options }: FactoryParams): ComponentType<Props>; | ||
export declare function ScreenshotEditorFactory({ h, // eslint-disable-line @typescript-eslint/no-unused-vars | ||
hooks, imageBuffer, dialog, options, }: FactoryParams): ComponentType<Props>; | ||
export {}; | ||
//# sourceMappingURL=ScreenshotEditor.d.ts.map |
@@ -0,1 +1,5 @@ | ||
import * as Hooks from 'preact/hooks'; | ||
interface FactoryParams { | ||
hooks: typeof Hooks; | ||
} | ||
interface Props { | ||
@@ -7,4 +11,5 @@ onBeforeScreenshot: () => void; | ||
} | ||
export declare const useTakeScreenshot: ({ onBeforeScreenshot, onScreenshot, onAfterScreenshot, onError }: Props) => void; | ||
type UseTakeScreenshot = ({ onBeforeScreenshot, onScreenshot, onAfterScreenshot, onError }: Props) => void; | ||
export declare function useTakeScreenshotFactory({ hooks }: FactoryParams): UseTakeScreenshot; | ||
export {}; | ||
//# sourceMappingURL=useTakeScreenshot.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import type { FeedbackDialog, Integration, IntegrationFn } from '@sentry/types'; | ||
import type { FeedbackModalIntegration, Integration, IntegrationFn } from '@sentry/types'; | ||
import type { ActorComponent } from './components/Actor'; | ||
@@ -15,3 +15,3 @@ import type { OverrideFeedbackConfiguration } from './types'; | ||
attachTo(el: Element | string, optionOverrides?: OverrideFeedbackConfiguration): Unsubscribe; | ||
createForm(optionOverrides?: OverrideFeedbackConfiguration): Promise<FeedbackDialog>; | ||
createForm(optionOverrides?: OverrideFeedbackConfiguration): Promise<ReturnType<FeedbackModalIntegration['createDialog']>>; | ||
createWidget(optionOverrides?: OverrideFeedbackConfiguration): ActorComponent; | ||
@@ -18,0 +18,0 @@ remove(): void; |
@@ -1,7 +0,9 @@ | ||
import type { FeedbackDialog, FeedbackInternalOptions } from '@sentry/types'; | ||
import type { FeedbackInternalOptions, FeedbackModalIntegration } from '@sentry/types'; | ||
import type { ComponentType, h as hType } from 'preact'; | ||
import type * as Hooks from 'preact/hooks'; | ||
interface FactoryParams { | ||
h: typeof hType; | ||
hooks: typeof Hooks; | ||
imageBuffer: HTMLCanvasElement; | ||
dialog: FeedbackDialog; | ||
dialog: ReturnType<FeedbackModalIntegration['createDialog']>; | ||
options: FeedbackInternalOptions; | ||
@@ -12,4 +14,5 @@ } | ||
} | ||
export declare function makeScreenshotEditorComponent({ imageBuffer, dialog, options }: FactoryParams): ComponentType<Props>; | ||
export declare function ScreenshotEditorFactory({ h, // eslint-disable-line @typescript-eslint/no-unused-vars | ||
hooks, imageBuffer, dialog, options, }: FactoryParams): ComponentType<Props>; | ||
export {}; | ||
//# sourceMappingURL=ScreenshotEditor.d.ts.map |
@@ -0,1 +1,5 @@ | ||
import type * as Hooks from 'preact/hooks'; | ||
interface FactoryParams { | ||
hooks: typeof Hooks; | ||
} | ||
interface Props { | ||
@@ -7,4 +11,5 @@ onBeforeScreenshot: () => void; | ||
} | ||
export declare const useTakeScreenshot: ({ onBeforeScreenshot, onScreenshot, onAfterScreenshot, onError }: Props) => void; | ||
type UseTakeScreenshot = ({ onBeforeScreenshot, onScreenshot, onAfterScreenshot, onError }: Props) => void; | ||
export declare function useTakeScreenshotFactory({ hooks }: FactoryParams): UseTakeScreenshot; | ||
export {}; | ||
//# sourceMappingURL=useTakeScreenshot.d.ts.map |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
550471
4304
0
+ Added@sentry/core@8.12.0(transitive)
+ Added@sentry/types@8.12.0(transitive)
+ Added@sentry/utils@8.12.0(transitive)
- Removed@sentry/core@8.12.0-beta.0(transitive)
- Removed@sentry/types@8.12.0-beta.0(transitive)
- Removed@sentry/utils@8.12.0-beta.0(transitive)
Updated@sentry/core@8.12.0
Updated@sentry/types@8.12.0
Updated@sentry/utils@8.12.0