@wix/sdk 1.17.2 → 1.17.4
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.
|
@@ -48,9 +48,7 @@ export type EventHandlersClient = Emitter<{
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
export declare function eventHandlersModules(authStrategy: AuthenticationStrategy<any>): {
|
|
51
|
-
initModule(eventDefinition: EventDefinition<any, string>): (handler: EventHandler<EventDefinition<any, string>>) =>
|
|
52
|
-
slug: string;
|
|
53
|
-
};
|
|
51
|
+
initModule(eventDefinition: EventDefinition<any, string>): (handler: EventHandler<EventDefinition<any, string>>) => void;
|
|
54
52
|
client: EventHandlersClient;
|
|
55
53
|
};
|
|
56
54
|
export {};
|
|
@@ -139,9 +139,6 @@ export function eventHandlersModules(authStrategy) {
|
|
|
139
139
|
handlers.push({ eventDefinition, handler });
|
|
140
140
|
eventHandlers.set(eventDefinition.type, handlers);
|
|
141
141
|
webhooksEmitter.emit('registered', eventDefinition);
|
|
142
|
-
return {
|
|
143
|
-
slug: eventDefinition.type,
|
|
144
|
-
};
|
|
145
142
|
};
|
|
146
143
|
},
|
|
147
144
|
client,
|
|
@@ -48,9 +48,7 @@ export type EventHandlersClient = Emitter<{
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
export declare function eventHandlersModules(authStrategy: AuthenticationStrategy<any>): {
|
|
51
|
-
initModule(eventDefinition: EventDefinition<any, string>): (handler: EventHandler<EventDefinition<any, string>>) =>
|
|
52
|
-
slug: string;
|
|
53
|
-
};
|
|
51
|
+
initModule(eventDefinition: EventDefinition<any, string>): (handler: EventHandler<EventDefinition<any, string>>) => void;
|
|
54
52
|
client: EventHandlersClient;
|
|
55
53
|
};
|
|
56
54
|
export {};
|
|
@@ -145,9 +145,6 @@ function eventHandlersModules(authStrategy) {
|
|
|
145
145
|
handlers.push({ eventDefinition, handler });
|
|
146
146
|
eventHandlers.set(eventDefinition.type, handlers);
|
|
147
147
|
webhooksEmitter.emit('registered', eventDefinition);
|
|
148
|
-
return {
|
|
149
|
-
slug: eventDefinition.type,
|
|
150
|
-
};
|
|
151
148
|
};
|
|
152
149
|
},
|
|
153
150
|
client,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/sdk",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ronny Ringel",
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@wix/identity": "^1.0.104",
|
|
76
|
-
"@wix/image-kit": "^1.
|
|
76
|
+
"@wix/image-kit": "^1.114.0",
|
|
77
77
|
"@wix/redirects": "^1.0.70",
|
|
78
78
|
"@wix/sdk-context": "0.0.1",
|
|
79
|
-
"@wix/sdk-runtime": "0.
|
|
79
|
+
"@wix/sdk-runtime": "1.0.0",
|
|
80
80
|
"@wix/sdk-types": "1.14.0",
|
|
81
81
|
"jose": "^5.10.0",
|
|
82
82
|
"type-fest": "^4.41.0"
|
|
@@ -92,13 +92,13 @@
|
|
|
92
92
|
"@wix/events": "^1.0.382",
|
|
93
93
|
"@wix/metro": "^1.0.93",
|
|
94
94
|
"@wix/metro-runtime": "^1.1891.0",
|
|
95
|
-
"@wix/sdk-runtime": "0.
|
|
95
|
+
"@wix/sdk-runtime": "1.0.0",
|
|
96
96
|
"eslint": "^8.57.1",
|
|
97
|
-
"eslint-config-sdk": "
|
|
97
|
+
"eslint-config-sdk": "1.0.0",
|
|
98
98
|
"graphql": "^16.8.0",
|
|
99
99
|
"is-ci": "^3.0.1",
|
|
100
100
|
"jsdom": "^22.1.0",
|
|
101
|
-
"msw": "^2.
|
|
101
|
+
"msw": "^2.12.0",
|
|
102
102
|
"typescript": "^5.9.3",
|
|
103
103
|
"vitest": "^1.6.1",
|
|
104
104
|
"vitest-teamcity-reporter": "^0.3.1"
|
|
@@ -126,5 +126,5 @@
|
|
|
126
126
|
"wallaby": {
|
|
127
127
|
"autoDetect": true
|
|
128
128
|
},
|
|
129
|
-
"falconPackageHash": "
|
|
129
|
+
"falconPackageHash": "eacf57f635a721131d0cbb326058cde3c0bdde089387ae82f60df8d5"
|
|
130
130
|
}
|