Socket
Socket
Sign inDemoInstall

@sentry/types

Package Overview
Dependencies
Maintainers
0
Versions
466
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/types - npm Package Compare versions

Comparing version 8.12.0-beta.0 to 8.12.0

2

package.json
{
"name": "@sentry/types",
"version": "8.12.0-beta.0",
"version": "8.12.0",
"description": "Types for all Sentry JavaScript SDKs",

@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

@@ -12,4 +12,8 @@ import { Attachment } from '../attachment';

}
type Hooks = unknown;
type HTMLElement = unknown;
export interface FeedbackDialog {
type HType = unknown;
type ShadowRoot = unknown;
type VNode = unknown;
type FeedbackDialog = {
/**

@@ -37,5 +41,16 @@ * The HTMLElement that is containing all the form content

close: () => void;
};
interface FeedbackScreenshotInput {
/**
* The preact component
*/
input: (props: {
onError: (error: Error) => void;
}) => VNode;
/**
* The image/screenshot bytes
*/
value: () => Promise<Attachment | undefined>;
}
type ShadowRoot = unknown;
export interface CreateDialogProps {
interface CreateDialogProps {
options: FeedbackInternalOptions;

@@ -49,18 +64,11 @@ screenshotIntegration: FeedbackScreenshotIntegration | undefined;

}
type HType = unknown;
type VNode = unknown;
interface CreateInputProps {
h: HType;
hooks: Hooks;
dialog: FeedbackDialog;
options: FeedbackInternalOptions;
}
export interface FeedbackScreenshotIntegration extends Integration {
createInput: (h: HType, dialog: FeedbackDialog, options: FeedbackInternalOptions) => {
/**
* The preact component
*/
input: (props: {
onError: (error: Error) => void;
}) => VNode;
/**
* The image/screenshot bytes
*/
value: () => Promise<Attachment | undefined>;
};
createInput: (props: CreateInputProps) => FeedbackScreenshotInput;
}
//# sourceMappingURL=index.d.ts.map

@@ -24,3 +24,3 @@ export { Attachment } from './attachment';

export { ReplayEvent, ReplayRecordingData, ReplayRecordingMode } from './replay';
export { FeedbackDialog, FeedbackEvent, FeedbackFormData, FeedbackInternalOptions, FeedbackModalIntegration, FeedbackScreenshotIntegration, SendFeedback, SendFeedbackParams, CreateDialogProps, UserFeedback, } from './feedback';
export { FeedbackEvent, FeedbackFormData, FeedbackInternalOptions, FeedbackModalIntegration, FeedbackScreenshotIntegration, SendFeedback, SendFeedbackParams, UserFeedback, } from './feedback';
export { QueryParams, Request, SanitizedRequestData } from './request';

@@ -27,0 +27,0 @@ export { Runtime } from './runtime';

@@ -12,4 +12,8 @@ import type { Attachment } from '../attachment';

}
type Hooks = unknown;
type HTMLElement = unknown;
export interface FeedbackDialog {
type HType = unknown;
type ShadowRoot = unknown;
type VNode = unknown;
type FeedbackDialog = {
/**

@@ -37,5 +41,16 @@ * The HTMLElement that is containing all the form content

close: () => void;
};
interface FeedbackScreenshotInput {
/**
* The preact component
*/
input: (props: {
onError: (error: Error) => void;
}) => VNode;
/**
* The image/screenshot bytes
*/
value: () => Promise<Attachment | undefined>;
}
type ShadowRoot = unknown;
export interface CreateDialogProps {
interface CreateDialogProps {
options: FeedbackInternalOptions;

@@ -49,18 +64,11 @@ screenshotIntegration: FeedbackScreenshotIntegration | undefined;

}
type HType = unknown;
type VNode = unknown;
interface CreateInputProps {
h: HType;
hooks: Hooks;
dialog: FeedbackDialog;
options: FeedbackInternalOptions;
}
export interface FeedbackScreenshotIntegration extends Integration {
createInput: (h: HType, dialog: FeedbackDialog, options: FeedbackInternalOptions) => {
/**
* The preact component
*/
input: (props: {
onError: (error: Error) => void;
}) => VNode;
/**
* The image/screenshot bytes
*/
value: () => Promise<Attachment | undefined>;
};
createInput: (props: CreateInputProps) => FeedbackScreenshotInput;
}
//# sourceMappingURL=index.d.ts.map

@@ -24,3 +24,3 @@ export type { Attachment } from './attachment';

export type { ReplayEvent, ReplayRecordingData, ReplayRecordingMode } from './replay';
export type { FeedbackDialog, FeedbackEvent, FeedbackFormData, FeedbackInternalOptions, FeedbackModalIntegration, FeedbackScreenshotIntegration, SendFeedback, SendFeedbackParams, CreateDialogProps, UserFeedback, } from './feedback';
export type { FeedbackEvent, FeedbackFormData, FeedbackInternalOptions, FeedbackModalIntegration, FeedbackScreenshotIntegration, SendFeedback, SendFeedbackParams, UserFeedback, } from './feedback';
export type { QueryParams, Request, SanitizedRequestData } from './request';

@@ -27,0 +27,0 @@ export type { Runtime } from './runtime';

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