@sentry-internal/feedback
Advanced tools
Comparing version 8.0.0-alpha.5 to 8.0.0-alpha.7
{ | ||
"name": "@sentry-internal/feedback", | ||
"version": "8.0.0-alpha.5", | ||
"version": "8.0.0-alpha.7", | ||
"description": "Sentry SDK integration for user feedback", | ||
@@ -45,5 +45,5 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/core": "8.0.0-alpha.5", | ||
"@sentry/types": "8.0.0-alpha.5", | ||
"@sentry/utils": "8.0.0-alpha.5", | ||
"@sentry/core": "8.0.0-alpha.7", | ||
"@sentry/types": "8.0.0-alpha.7", | ||
"@sentry/utils": "8.0.0-alpha.7", | ||
"preact": "^10.19.4" | ||
@@ -50,0 +50,0 @@ }, |
@@ -18,5 +18,7 @@ export { DEFAULT_THEME } from './theme'; | ||
export declare const SUCCESS_MESSAGE_TEXT = "Thank you for your report!"; | ||
export declare const IS_REQUIRED_TEXT = "(required)"; | ||
export declare const FEEDBACK_WIDGET_SOURCE = "widget"; | ||
export declare const FEEDBACK_API_SOURCE = "api"; | ||
export declare const SUCCESS_MESSAGE_TIMEOUT = 5000; | ||
export declare const CROP_COLOR = "#ffffff"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { IntegrationFnResult } from '@sentry/types'; | ||
import { Integration } from '@sentry/types'; | ||
import { Dialog, OptionalFeedbackConfiguration, OverrideFeedbackConfiguration } from '../types'; | ||
@@ -15,4 +15,4 @@ type Unsubscribe = () => void; | ||
} | ||
export type IFeedbackIntegration = IntegrationFnResult & PublicFeedbackIntegration; | ||
export declare const _feedbackIntegration: ({ id, showBranding, autoInject, showEmail, showName, showScreenshot, useSentryUser, isNameRequired, isEmailRequired, colorScheme, themeLight, themeDark, buttonLabel, cancelButtonLabel, submitButtonLabel, formTitle, emailLabel, emailPlaceholder, messageLabel, messagePlaceholder, nameLabel, namePlaceholder, successMessageText, onFormOpen, onFormClose, onSubmitSuccess, onSubmitError, onFormSubmitted, }?: OptionalFeedbackConfiguration) => { | ||
export type IFeedbackIntegration = Integration & PublicFeedbackIntegration; | ||
export declare const _feedbackIntegration: ({ id, showBranding, autoInject, showEmail, showName, showScreenshot, useSentryUser, isNameRequired, isEmailRequired, colorScheme, themeLight, themeDark, buttonLabel, cancelButtonLabel, submitButtonLabel, formTitle, emailLabel, emailPlaceholder, messageLabel, messagePlaceholder, nameLabel, namePlaceholder, successMessageText, isRequiredText, onFormOpen, onFormClose, onSubmitSuccess, onSubmitError, onFormSubmitted, }?: OptionalFeedbackConfiguration) => { | ||
name: string; | ||
@@ -35,4 +35,4 @@ setupOnce(): void; | ||
}; | ||
export declare const feedbackIntegration: (args_0?: OptionalFeedbackConfiguration | undefined) => IntegrationFnResult; | ||
export declare const feedbackIntegration: (args_0?: OptionalFeedbackConfiguration | undefined) => Integration; | ||
export {}; | ||
//# sourceMappingURL=integration.d.ts.map |
type VNode = any; | ||
// replaced import from preact | ||
import { FeedbackFormData, FeedbackInternalOptions, ScreenshotInput, SendFeedbackOptions, SendFeedbackParams } from '../../types'; | ||
export interface Props extends Pick<FeedbackInternalOptions, 'cancelButtonLabel' | 'emailLabel' | 'emailPlaceholder' | 'isEmailRequired' | 'isNameRequired' | 'messageLabel' | 'messagePlaceholder' | 'nameLabel' | 'namePlaceholder' | 'showEmail' | 'showName' | 'submitButtonLabel'> { | ||
export interface Props extends Pick<FeedbackInternalOptions, 'cancelButtonLabel' | 'emailLabel' | 'emailPlaceholder' | 'isEmailRequired' | 'isNameRequired' | 'messageLabel' | 'messagePlaceholder' | 'nameLabel' | 'namePlaceholder' | 'showEmail' | 'showName' | 'submitButtonLabel' | 'isRequiredText'> { | ||
defaultEmail: string; | ||
@@ -13,3 +13,3 @@ defaultName: string; | ||
} | ||
export declare function Form({ cancelButtonLabel, defaultEmail, defaultName, emailLabel, emailPlaceholder, isEmailRequired, isNameRequired, messageLabel, messagePlaceholder, nameLabel, namePlaceholder, onFormClose, onSubmit, onSubmitSuccess, onSubmitError, showEmail, showName, submitButtonLabel, screenshotInput, }: Props): VNode; | ||
export declare function Form({ cancelButtonLabel, defaultEmail, defaultName, emailLabel, emailPlaceholder, isEmailRequired, isNameRequired, messageLabel, messagePlaceholder, nameLabel, namePlaceholder, onFormClose, onSubmit, onSubmitSuccess, onSubmitError, showEmail, showName, submitButtonLabel, isRequiredText, screenshotInput, }: Props): VNode; | ||
//# sourceMappingURL=Form.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { IntegrationFnResult } from '@sentry/types'; | ||
import { Integration } from '@sentry/types'; | ||
import { createDialog } from './createDialog'; | ||
@@ -6,3 +6,3 @@ interface PublicFeedbackModalIntegration { | ||
} | ||
export type IFeedbackModalIntegration = IntegrationFnResult & PublicFeedbackModalIntegration; | ||
export type IFeedbackModalIntegration = Integration & PublicFeedbackModalIntegration; | ||
export declare const _feedbackModalIntegration: () => { | ||
@@ -13,4 +13,4 @@ name: string; | ||
}; | ||
export declare const feedbackModalIntegration: () => IntegrationFnResult; | ||
export declare const feedbackModalIntegration: () => Integration; | ||
export {}; | ||
//# sourceMappingURL=integration.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { IntegrationFnResult } from '@sentry/types'; | ||
import { Integration } from '@sentry/types'; | ||
import { createInput } from './createInput'; | ||
@@ -6,3 +6,3 @@ interface PublicFeedbackScreenshotIntegration { | ||
} | ||
export type IFeedbackScreenshotIntegration = IntegrationFnResult & PublicFeedbackScreenshotIntegration; | ||
export type IFeedbackScreenshotIntegration = Integration & PublicFeedbackScreenshotIntegration; | ||
export declare const _feedbackScreenshotIntegration: () => { | ||
@@ -13,4 +13,4 @@ name: string; | ||
}; | ||
export declare const feedbackScreenshotIntegration: () => IntegrationFnResult; | ||
export declare const feedbackScreenshotIntegration: () => Integration; | ||
export {}; | ||
//# sourceMappingURL=integration.d.ts.map |
@@ -115,2 +115,6 @@ import { FeedbackFormData } from './form'; | ||
successMessageText: string; | ||
/** | ||
* Text which indicates that a field is required | ||
*/ | ||
isRequiredText: string; | ||
} | ||
@@ -117,0 +121,0 @@ /** |
@@ -18,5 +18,7 @@ export { DEFAULT_THEME } from './theme'; | ||
export declare const SUCCESS_MESSAGE_TEXT = "Thank you for your report!"; | ||
export declare const IS_REQUIRED_TEXT = "(required)"; | ||
export declare const FEEDBACK_WIDGET_SOURCE = "widget"; | ||
export declare const FEEDBACK_API_SOURCE = "api"; | ||
export declare const SUCCESS_MESSAGE_TIMEOUT = 5000; | ||
export declare const CROP_COLOR = "#ffffff"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import type { IntegrationFnResult } from '@sentry/types'; | ||
import type { Integration } from '@sentry/types'; | ||
import type { Dialog, OptionalFeedbackConfiguration, OverrideFeedbackConfiguration } from '../types'; | ||
@@ -15,4 +15,4 @@ type Unsubscribe = () => void; | ||
} | ||
export type IFeedbackIntegration = IntegrationFnResult & PublicFeedbackIntegration; | ||
export declare const _feedbackIntegration: ({ id, showBranding, autoInject, showEmail, showName, showScreenshot, useSentryUser, isNameRequired, isEmailRequired, colorScheme, themeLight, themeDark, buttonLabel, cancelButtonLabel, submitButtonLabel, formTitle, emailLabel, emailPlaceholder, messageLabel, messagePlaceholder, nameLabel, namePlaceholder, successMessageText, onFormOpen, onFormClose, onSubmitSuccess, onSubmitError, onFormSubmitted, }?: OptionalFeedbackConfiguration) => { | ||
export type IFeedbackIntegration = Integration & PublicFeedbackIntegration; | ||
export declare const _feedbackIntegration: ({ id, showBranding, autoInject, showEmail, showName, showScreenshot, useSentryUser, isNameRequired, isEmailRequired, colorScheme, themeLight, themeDark, buttonLabel, cancelButtonLabel, submitButtonLabel, formTitle, emailLabel, emailPlaceholder, messageLabel, messagePlaceholder, nameLabel, namePlaceholder, successMessageText, isRequiredText, onFormOpen, onFormClose, onSubmitSuccess, onSubmitError, onFormSubmitted, }?: OptionalFeedbackConfiguration) => { | ||
name: string; | ||
@@ -35,4 +35,4 @@ setupOnce(): void; | ||
}; | ||
export declare const feedbackIntegration: (args_0?: OptionalFeedbackConfiguration | undefined) => IntegrationFnResult; | ||
export declare const feedbackIntegration: (args_0?: OptionalFeedbackConfiguration | undefined) => Integration; | ||
export {}; | ||
//# sourceMappingURL=integration.d.ts.map |
import type { VNode } from 'preact'; | ||
import type { FeedbackFormData, FeedbackInternalOptions, ScreenshotInput, SendFeedbackOptions, SendFeedbackParams } from '../../types'; | ||
export interface Props extends Pick<FeedbackInternalOptions, 'cancelButtonLabel' | 'emailLabel' | 'emailPlaceholder' | 'isEmailRequired' | 'isNameRequired' | 'messageLabel' | 'messagePlaceholder' | 'nameLabel' | 'namePlaceholder' | 'showEmail' | 'showName' | 'submitButtonLabel'> { | ||
export interface Props extends Pick<FeedbackInternalOptions, 'cancelButtonLabel' | 'emailLabel' | 'emailPlaceholder' | 'isEmailRequired' | 'isNameRequired' | 'messageLabel' | 'messagePlaceholder' | 'nameLabel' | 'namePlaceholder' | 'showEmail' | 'showName' | 'submitButtonLabel' | 'isRequiredText'> { | ||
defaultEmail: string; | ||
@@ -12,3 +12,3 @@ defaultName: string; | ||
} | ||
export declare function Form({ cancelButtonLabel, defaultEmail, defaultName, emailLabel, emailPlaceholder, isEmailRequired, isNameRequired, messageLabel, messagePlaceholder, nameLabel, namePlaceholder, onFormClose, onSubmit, onSubmitSuccess, onSubmitError, showEmail, showName, submitButtonLabel, screenshotInput, }: Props): VNode; | ||
export declare function Form({ cancelButtonLabel, defaultEmail, defaultName, emailLabel, emailPlaceholder, isEmailRequired, isNameRequired, messageLabel, messagePlaceholder, nameLabel, namePlaceholder, onFormClose, onSubmit, onSubmitSuccess, onSubmitError, showEmail, showName, submitButtonLabel, isRequiredText, screenshotInput, }: Props): VNode; | ||
//# sourceMappingURL=Form.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import type { IntegrationFnResult } from '@sentry/types'; | ||
import type { Integration } from '@sentry/types'; | ||
import { createDialog } from './createDialog'; | ||
@@ -6,3 +6,3 @@ interface PublicFeedbackModalIntegration { | ||
} | ||
export type IFeedbackModalIntegration = IntegrationFnResult & PublicFeedbackModalIntegration; | ||
export type IFeedbackModalIntegration = Integration & PublicFeedbackModalIntegration; | ||
export declare const _feedbackModalIntegration: () => { | ||
@@ -13,4 +13,4 @@ name: string; | ||
}; | ||
export declare const feedbackModalIntegration: () => IntegrationFnResult; | ||
export declare const feedbackModalIntegration: () => Integration; | ||
export {}; | ||
//# sourceMappingURL=integration.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import type { IntegrationFnResult } from '@sentry/types'; | ||
import type { Integration } from '@sentry/types'; | ||
import { createInput } from './createInput'; | ||
@@ -6,3 +6,3 @@ interface PublicFeedbackScreenshotIntegration { | ||
} | ||
export type IFeedbackScreenshotIntegration = IntegrationFnResult & PublicFeedbackScreenshotIntegration; | ||
export type IFeedbackScreenshotIntegration = Integration & PublicFeedbackScreenshotIntegration; | ||
export declare const _feedbackScreenshotIntegration: () => { | ||
@@ -13,4 +13,4 @@ name: string; | ||
}; | ||
export declare const feedbackScreenshotIntegration: () => IntegrationFnResult; | ||
export declare const feedbackScreenshotIntegration: () => Integration; | ||
export {}; | ||
//# sourceMappingURL=integration.d.ts.map |
@@ -115,2 +115,6 @@ import type { FeedbackFormData } from './form'; | ||
successMessageText: string; | ||
/** | ||
* Text which indicates that a field is required | ||
*/ | ||
isRequiredText: string; | ||
} | ||
@@ -117,0 +121,0 @@ /** |
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
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
478101
5076
14
120
7
2
120
+ Added@sentry/core@8.0.0-alpha.7(transitive)
+ Added@sentry/types@8.0.0-alpha.7(transitive)
+ Added@sentry/utils@8.0.0-alpha.7(transitive)
+ Addedpreact@10.24.1(transitive)
- Removed@sentry/core@8.0.0-alpha.5(transitive)
- Removed@sentry/types@8.0.0-alpha.5(transitive)
- Removed@sentry/utils@8.0.0-alpha.5(transitive)
- Removedpreact@10.24.2(transitive)
Updated@sentry/core@8.0.0-alpha.7
Updated@sentry/types@8.0.0-alpha.7
Updated@sentry/utils@8.0.0-alpha.7