You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@wix/error-handler-types

Package Overview
Dependencies
Maintainers
28
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/error-handler-types - npm Package Compare versions

Comparing version

to
1.7.0

4

dist/types/v2/ErrorHandlerPublicAPI.d.ts
import { ResolvedError } from './ResolvedError';
import { ShowErrorProps } from './ShowError';
import { ShowErrorOverrideProps } from './ShowError';
import { ErrorCodesMap } from './ErrorCodesMap';

@@ -8,4 +8,4 @@ export interface ErrorHandlerPublicAPI {

reportRetryAttempt: (error: unknown) => void;
showError: (error: unknown, props?: Partial<ShowErrorProps> | null) => void;
showError: (error: unknown, props?: Partial<ShowErrorOverrideProps> | null) => void;
}
//# sourceMappingURL=ErrorHandlerPublicAPI.d.ts.map

@@ -8,2 +8,7 @@ export interface ShowErrorActionProps {

action?: ShowErrorActionProps;
[key: string]: unknown;
};
export interface ShowErrorOverrideProps {
message?: string;
action?: ShowErrorActionProps;
/**

@@ -13,4 +18,3 @@ * For supported platforms, this will be used as the name for that show-error BI event.

name?: string;
[key: string]: unknown;
};
}
export interface PlatformShowErrorProps {

@@ -24,4 +28,4 @@ message?: string;

}
export type ShowError = (error: unknown, props?: Partial<ShowErrorProps> | null) => void;
export type ShowError = (error: unknown, props?: Partial<ShowErrorOverrideProps> | null) => void;
export type PlatformShowError = (props: PlatformShowErrorProps) => void;
//# sourceMappingURL=ShowError.d.ts.map
{
"name": "@wix/error-handler-types",
"version": "1.6.0",
"version": "1.7.0",
"license": "UNLICENSED",

@@ -32,5 +32,5 @@ "author": {

"devDependencies": {
"@wix/eslint-config-yoshi": "^6.140.0",
"@wix/jest-yoshi-preset-base": "^6.140.0",
"@wix/yoshi-flow-library": "^6.140.0",
"@wix/eslint-config-yoshi": "^6.141.0",
"@wix/jest-yoshi-preset-base": "^6.141.0",
"@wix/yoshi-flow-library": "^6.141.0",
"jest": "^27.5.1",

@@ -119,3 +119,3 @@ "typescript": "~4.9.5"

},
"falconPackageHash": "ff5d7fae145b9379073db4c0b4f86f73169202153725b647eb060bff"
"falconPackageHash": "f7b131c89647c7b799afde0afe0580793ad8c044ccc7f9d07ae09904"
}

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