@wix/headless-bookings 0.0.22 → 0.0.23

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.
@@ -185,7 +185,10 @@ export const ServiceService = implementService.withConfig()(ServiceServiceDefini
185
185
  if (!bookableSignal.get() || !bookingService)
186
186
  return;
187
187
  const currentService = serviceSignal.get();
188
- bookingService.actions.updateItem({ service: currentService });
188
+ bookingService.actions.setItem({
189
+ service: currentService,
190
+ resources: [],
191
+ });
189
192
  },
190
193
  add: () => {
191
194
  if (!bookableSignal.get() || !bookingService)
@@ -185,7 +185,10 @@ export const ServiceService = implementService.withConfig()(ServiceServiceDefini
185
185
  if (!bookableSignal.get() || !bookingService)
186
186
  return;
187
187
  const currentService = serviceSignal.get();
188
- bookingService.actions.updateItem({ service: currentService });
188
+ bookingService.actions.setItem({
189
+ service: currentService,
190
+ resources: [],
191
+ });
189
192
  },
190
193
  add: () => {
191
194
  if (!bookableSignal.get() || !bookingService)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/headless-bookings",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -70,5 +70,5 @@
70
70
  "groupId": "com.wixpress.headless-components"
71
71
  }
72
72
  },
73
- "falconPackageHash": "0404aa644e83255c1641503e68142fb002318cef90f00e879d419ac9"
73
+ "falconPackageHash": "bd78009e38ad24f8630606b907ce144a0e0d1df6917d8dcb25994523"
74
74
  }