@wix/sdk 1.17.2 → 1.17.3

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.2",
3
+ "version": "1.17.3",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Ronny Ringel",
@@ -76,7 +76,7 @@
76
76
  "@wix/image-kit": "^1.113.0",
77
77
  "@wix/redirects": "^1.0.70",
78
78
  "@wix/sdk-context": "0.0.1",
79
- "@wix/sdk-runtime": "0.6.0",
79
+ "@wix/sdk-runtime": "0.7.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.6.0",
95
+ "@wix/sdk-runtime": "0.7.0",
96
96
  "eslint": "^8.57.1",
97
97
  "eslint-config-sdk": "0.0.0",
98
98
  "graphql": "^16.8.0",
99
99
  "is-ci": "^3.0.1",
100
100
  "jsdom": "^22.1.0",
101
- "msw": "^2.11.6",
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": "50200a6cb3b4b0be89aaf23506afa8458ab80d1508197a08f68ca8c0"
129
+ "falconPackageHash": "c2f161ed19b845effa18a75cb148af44bc87e1e7c28f01405d51a877"
130
130
  }