Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sentry-internal/feedback

Package Overview
Dependencies
Maintainers
0
Versions
133
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.12.0-beta.0 to 8.12.0

8

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

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