@sentry-internal/feedback
Advanced tools
Comparing version 8.47.0 to 8.48.0
@@ -1,1 +0,1 @@ | ||
{"type":"module","version":"8.47.0","sideEffects":false} | ||
{"type":"module","version":"8.48.0","sideEffects":false} |
@@ -8,7 +8,11 @@ import { FeedbackModalIntegration, Integration, IntegrationFn } from '@sentry/core'; | ||
*/ | ||
interface BuilderOptions { | ||
type BuilderOptions = { | ||
lazyLoadIntegration?: never; | ||
getModalIntegration: () => IntegrationFn; | ||
getScreenshotIntegration: () => IntegrationFn; | ||
} | { | ||
lazyLoadIntegration: (name: 'feedbackModalIntegration' | 'feedbackScreenshotIntegration', scriptNonce?: string) => Promise<IntegrationFn>; | ||
getModalIntegration?: null | (() => IntegrationFn); | ||
getScreenshotIntegration?: null | (() => IntegrationFn); | ||
} | ||
getModalIntegration?: never; | ||
getScreenshotIntegration?: never; | ||
}; | ||
export declare const buildFeedbackIntegration: ({ lazyLoadIntegration, getModalIntegration, getScreenshotIntegration, }: BuilderOptions) => IntegrationFn<Integration & { | ||
@@ -15,0 +19,0 @@ attachTo(el: Element | string, optionOverrides?: OverrideFeedbackConfiguration): Unsubscribe; |
@@ -8,7 +8,11 @@ import type { FeedbackModalIntegration, Integration, IntegrationFn } from '@sentry/core'; | ||
*/ | ||
interface BuilderOptions { | ||
type BuilderOptions = { | ||
lazyLoadIntegration?: never; | ||
getModalIntegration: () => IntegrationFn; | ||
getScreenshotIntegration: () => IntegrationFn; | ||
} | { | ||
lazyLoadIntegration: (name: 'feedbackModalIntegration' | 'feedbackScreenshotIntegration', scriptNonce?: string) => Promise<IntegrationFn>; | ||
getModalIntegration?: null | (() => IntegrationFn); | ||
getScreenshotIntegration?: null | (() => IntegrationFn); | ||
} | ||
getModalIntegration?: never; | ||
getScreenshotIntegration?: never; | ||
}; | ||
export declare const buildFeedbackIntegration: ({ lazyLoadIntegration, getModalIntegration, getScreenshotIntegration, }: BuilderOptions) => IntegrationFn<Integration & { | ||
@@ -15,0 +19,0 @@ attachTo(el: Element | string, optionOverrides?: OverrideFeedbackConfiguration): Unsubscribe; |
{ | ||
"name": "@sentry-internal/feedback", | ||
"version": "8.47.0", | ||
"version": "8.48.0", | ||
"description": "Sentry SDK integration for user feedback", | ||
@@ -42,3 +42,3 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/core": "8.47.0" | ||
"@sentry/core": "8.48.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
550110
4524
16
123
+ Added@sentry/core@8.48.0(transitive)
- Removed@sentry/core@8.47.0(transitive)
Updated@sentry/core@8.48.0