Socket
Socket
Sign inDemoInstall

@sentry-internal/feedback

Package Overview
Dependencies
Maintainers
9
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry-internal/feedback - npm Package Compare versions

Comparing version 8.0.0-alpha.5 to 8.0.0-alpha.7

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc