@wix/headless-bookings 0.0.94 → 0.0.95

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.
@@ -114,7 +114,6 @@ export function createMockTimeSlotListService(config = {}) {
114
114
  dateRangeSignal.set({ start, end });
115
115
  }),
116
116
  },
117
- dispose: vi.fn(),
118
117
  };
119
118
  }
120
119
  export function createCoreTimeSlotMock(config) {
@@ -88,7 +88,6 @@ export interface TimeSlotListServiceAPI {
88
88
  hasMore: Signal<boolean>;
89
89
  dateRange: Signal<DateRange>;
90
90
  actions: TimeSlotListServiceActions;
91
- dispose: () => void;
92
91
  }
93
92
  export declare const TimeSlotListServiceDefinition: string & {
94
93
  __api: TimeSlotListServiceAPI;
@@ -207,7 +207,7 @@ export const TimeSlotListService = implementService.withConfig()(TimeSlotListSer
207
207
  dateRangeSignal.set({ start: newStartDate, end: newEndDate });
208
208
  };
209
209
  let isFirstRun = true;
210
- const dispose = signalsService.effect(() => {
210
+ signalsService.effect(() => {
211
211
  dateRangeSignal.get();
212
212
  bookingService.timezone.get();
213
213
  bookingService.location.get();
@@ -233,7 +233,6 @@ export const TimeSlotListService = implementService.withConfig()(TimeSlotListSer
233
233
  loadMore,
234
234
  setDateRange,
235
235
  },
236
- dispose,
237
236
  };
238
237
  });
239
238
  /**
@@ -114,7 +114,6 @@ export function createMockTimeSlotListService(config = {}) {
114
114
  dateRangeSignal.set({ start, end });
115
115
  }),
116
116
  },
117
- dispose: vi.fn(),
118
117
  };
119
118
  }
120
119
  export function createCoreTimeSlotMock(config) {
@@ -88,7 +88,6 @@ export interface TimeSlotListServiceAPI {
88
88
  hasMore: Signal<boolean>;
89
89
  dateRange: Signal<DateRange>;
90
90
  actions: TimeSlotListServiceActions;
91
- dispose: () => void;
92
91
  }
93
92
  export declare const TimeSlotListServiceDefinition: string & {
94
93
  __api: TimeSlotListServiceAPI;
@@ -207,7 +207,7 @@ export const TimeSlotListService = implementService.withConfig()(TimeSlotListSer
207
207
  dateRangeSignal.set({ start: newStartDate, end: newEndDate });
208
208
  };
209
209
  let isFirstRun = true;
210
- const dispose = signalsService.effect(() => {
210
+ signalsService.effect(() => {
211
211
  dateRangeSignal.get();
212
212
  bookingService.timezone.get();
213
213
  bookingService.location.get();
@@ -233,7 +233,6 @@ export const TimeSlotListService = implementService.withConfig()(TimeSlotListSer
233
233
  loadMore,
234
234
  setDateRange,
235
235
  },
236
- dispose,
237
236
  };
238
237
  });
239
238
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/headless-bookings",
3
- "version": "0.0.94",
3
+ "version": "0.0.95",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -72,5 +72,5 @@
72
72
  "groupId": "com.wixpress.headless-components"
73
73
  }
74
74
  },
75
- "falconPackageHash": "a055004ae2955e2870d942a6691942dad3c02119893d438fbb365661"
75
+ "falconPackageHash": "b1d1e8e7d9368179561ed8e5826b30fda9f2cba44fa3467581c70b4a"
76
76
  }