@wix/sdk-types 1.5.10 → 1.5.11
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.
- package/build/index.d.mts +6 -2
- package/build/index.d.ts +6 -2
- package/package.json +2 -2
package/build/index.d.mts
CHANGED
|
@@ -42,7 +42,9 @@ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctio
|
|
|
42
42
|
type AuthenticationStrategy<Host = unknown, WithAuth extends ((...args: any) => AuthenticationStrategy<Host, WithAuth>) | undefined = undefined> = {
|
|
43
43
|
getAuthHeaders: (host: Host) => Promise<{
|
|
44
44
|
headers: Record<string, string>;
|
|
45
|
-
}
|
|
45
|
+
}> | {
|
|
46
|
+
headers: Record<string, string>;
|
|
47
|
+
};
|
|
46
48
|
decodeJWT?: (token: string, verifyCallerClaims?: boolean) => Promise<{
|
|
47
49
|
decoded: {
|
|
48
50
|
data: string;
|
|
@@ -54,7 +56,9 @@ type AuthenticationStrategy<Host = unknown, WithAuth extends ((...args: any) =>
|
|
|
54
56
|
type BoundAuthenticationStrategy = {
|
|
55
57
|
getAuthHeaders: () => Promise<{
|
|
56
58
|
headers: Record<string, string>;
|
|
57
|
-
}
|
|
59
|
+
}> | {
|
|
60
|
+
headers: Record<string, string>;
|
|
61
|
+
};
|
|
58
62
|
};
|
|
59
63
|
|
|
60
64
|
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
package/build/index.d.ts
CHANGED
|
@@ -42,7 +42,9 @@ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctio
|
|
|
42
42
|
type AuthenticationStrategy<Host = unknown, WithAuth extends ((...args: any) => AuthenticationStrategy<Host, WithAuth>) | undefined = undefined> = {
|
|
43
43
|
getAuthHeaders: (host: Host) => Promise<{
|
|
44
44
|
headers: Record<string, string>;
|
|
45
|
-
}
|
|
45
|
+
}> | {
|
|
46
|
+
headers: Record<string, string>;
|
|
47
|
+
};
|
|
46
48
|
decodeJWT?: (token: string, verifyCallerClaims?: boolean) => Promise<{
|
|
47
49
|
decoded: {
|
|
48
50
|
data: string;
|
|
@@ -54,7 +56,9 @@ type AuthenticationStrategy<Host = unknown, WithAuth extends ((...args: any) =>
|
|
|
54
56
|
type BoundAuthenticationStrategy = {
|
|
55
57
|
getAuthHeaders: () => Promise<{
|
|
56
58
|
headers: Record<string, string>;
|
|
57
|
-
}
|
|
59
|
+
}> | {
|
|
60
|
+
headers: Record<string, string>;
|
|
61
|
+
};
|
|
58
62
|
};
|
|
59
63
|
|
|
60
64
|
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/sdk-types",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.11",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ronny Ringel",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"wallaby": {
|
|
58
58
|
"autoDetect": true
|
|
59
59
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
60
|
+
"falconPackageHash": "7f942fce22de14c416d155809e4c307aa5562cd2de9d257c5031e400"
|
|
61
61
|
}
|