@happychef/reservation-sidebar 2.0.5 → 2.0.7

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/dist/index.js CHANGED
@@ -5215,9 +5215,7 @@ var ReservationSidebar = ({
5215
5215
  try {
5216
5216
  const baseDomain = window.baseDomain || "";
5217
5217
  const [data, personeelData] = await Promise.all([
5218
- api.get(`${baseDomain}api/auth-restaurant/`, {
5219
- noCache
5220
- }),
5218
+ api.get(`${baseDomain}api/auth-restaurant/`, { noCache: true }),
5221
5219
  api.get(`${baseDomain}api/personeel`, { noCache: true })
5222
5220
  ]);
5223
5221
  setTimeblocks(data.timeblocks || []);
package/dist/index.mjs CHANGED
@@ -5206,9 +5206,7 @@ var ReservationSidebar = ({
5206
5206
  try {
5207
5207
  const baseDomain = window.baseDomain || "";
5208
5208
  const [data, personeelData] = await Promise.all([
5209
- api.get(`${baseDomain}api/auth-restaurant/`, {
5210
- noCache
5211
- }),
5209
+ api.get(`${baseDomain}api/auth-restaurant/`, { noCache: true }),
5212
5210
  api.get(`${baseDomain}api/personeel`, { noCache: true })
5213
5211
  ]);
5214
5212
  setTimeblocks(data.timeblocks || []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happychef/reservation-sidebar",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "A compound component for managing restaurant reservations - JavaScript version with independent styles",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",