@wix/error-handler-types
Advanced tools
Comparing version
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
Explicitly Unlicensed Item
License(Experimental) Something was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
Explicitly Unlicensed Item
License(Experimental) Something was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
85040
0.61%564
0.71%