@wix/sdk-types 1.13.24 → 1.13.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MonitoringClient } from '@wix/monitoring-types';
|
|
2
2
|
import { ConditionalExcept, EmptyObject, Simplify, Paths, SetRequiredDeep, JsonObject } from 'type-fest';
|
|
3
|
+
export { ErrorCodesMap, ErrorHandlerPublicAPI as ErrorHandler, ResolvedError } from '@wix/error-handler-types/v2';
|
|
3
4
|
|
|
4
5
|
type HostModule<T, H extends Host> = {
|
|
5
6
|
__type: 'host';
|
package/build/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MonitoringClient } from '@wix/monitoring-types';
|
|
2
2
|
import { ConditionalExcept, EmptyObject, Simplify, Paths, SetRequiredDeep, JsonObject } from 'type-fest';
|
|
3
|
+
export { ErrorCodesMap, ErrorHandlerPublicAPI as ErrorHandler, ResolvedError } from '@wix/error-handler-types/v2';
|
|
3
4
|
|
|
4
5
|
type HostModule<T, H extends Host> = {
|
|
5
6
|
__type: 'host';
|
package/build/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MonitoringClient } from '@wix/monitoring-types';
|
|
2
2
|
import { ConditionalExcept, EmptyObject, Simplify, Paths, SetRequiredDeep, JsonObject } from 'type-fest';
|
|
3
|
+
export { ErrorCodesMap, ErrorHandlerPublicAPI as ErrorHandler, ResolvedError } from '@wix/error-handler-types/v2';
|
|
3
4
|
|
|
4
5
|
type HostModule<T, H extends Host> = {
|
|
5
6
|
__type: 'host';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { MonitoringClient } from '@wix/monitoring-types';
|
|
2
|
+
import { ErrorHandlerAPI } from '@wix/error-handler-types/v2';
|
|
3
|
+
export { ErrorCodesMap, ErrorHandlerPublicAPI as ErrorHandler, ResolvedError } from '@wix/error-handler-types/v2';
|
|
2
4
|
import { ConditionalExcept, EmptyObject, Simplify, Paths, SetRequiredDeep, JsonObject } from 'type-fest';
|
|
3
5
|
|
|
4
6
|
interface BiLogger {
|
|
@@ -90,6 +92,11 @@ type Host<Environment = unknown> = {
|
|
|
90
92
|
* @internal
|
|
91
93
|
*/
|
|
92
94
|
getConductorClient?: () => Conductor;
|
|
95
|
+
/**
|
|
96
|
+
* Optional ErrorHandler instance provided by the host
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
getErrorHandler?: () => ErrorHandlerAPI;
|
|
93
100
|
/**
|
|
94
101
|
* Possible data to be provided by every host, for cross cutting concerns
|
|
95
102
|
* like internationalization, billing, etc.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { MonitoringClient } from '@wix/monitoring-types';
|
|
2
|
+
import { ErrorHandlerAPI } from '@wix/error-handler-types/v2';
|
|
3
|
+
export { ErrorCodesMap, ErrorHandlerPublicAPI as ErrorHandler, ResolvedError } from '@wix/error-handler-types/v2';
|
|
2
4
|
import { ConditionalExcept, EmptyObject, Simplify, Paths, SetRequiredDeep, JsonObject } from 'type-fest';
|
|
3
5
|
|
|
4
6
|
interface BiLogger {
|
|
@@ -90,6 +92,11 @@ type Host<Environment = unknown> = {
|
|
|
90
92
|
* @internal
|
|
91
93
|
*/
|
|
92
94
|
getConductorClient?: () => Conductor;
|
|
95
|
+
/**
|
|
96
|
+
* Optional ErrorHandler instance provided by the host
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
getErrorHandler?: () => ErrorHandlerAPI;
|
|
93
100
|
/**
|
|
94
101
|
* Possible data to be provided by every host, for cross cutting concerns
|
|
95
102
|
* like internationalization, billing, etc.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { MonitoringClient } from '@wix/monitoring-types';
|
|
2
|
+
import { ErrorHandlerAPI } from '@wix/error-handler-types/v2';
|
|
3
|
+
export { ErrorCodesMap, ErrorHandlerPublicAPI as ErrorHandler, ResolvedError } from '@wix/error-handler-types/v2';
|
|
2
4
|
import { ConditionalExcept, EmptyObject, Simplify, Paths, SetRequiredDeep, JsonObject } from 'type-fest';
|
|
3
5
|
|
|
4
6
|
interface BiLogger {
|
|
@@ -90,6 +92,11 @@ type Host<Environment = unknown> = {
|
|
|
90
92
|
* @internal
|
|
91
93
|
*/
|
|
92
94
|
getConductorClient?: () => Conductor;
|
|
95
|
+
/**
|
|
96
|
+
* Optional ErrorHandler instance provided by the host
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
getErrorHandler?: () => ErrorHandlerAPI;
|
|
93
100
|
/**
|
|
94
101
|
* Possible data to be provided by every host, for cross cutting concerns
|
|
95
102
|
* like internationalization, billing, etc.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/sdk-types",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.25",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ronny Ringel",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"*.{js,ts}": "yarn lint"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
+
"@wix/error-handler-types": "^1.6.0",
|
|
33
34
|
"@wix/monitoring-types": "^0.12.0",
|
|
34
35
|
"type-fest": "^4.41.0"
|
|
35
36
|
},
|
|
@@ -61,5 +62,5 @@
|
|
|
61
62
|
"wallaby": {
|
|
62
63
|
"autoDetect": true
|
|
63
64
|
},
|
|
64
|
-
"falconPackageHash": "
|
|
65
|
+
"falconPackageHash": "daf115af3a2d78a3098d8de49edd1587ee8fb49858364957e149e667"
|
|
65
66
|
}
|