@happychef/reservation-sidebar 2.0.4 → 2.0.6

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
@@ -4526,7 +4526,7 @@ var useApi = () => {
4526
4526
  const token = getJwtToken();
4527
4527
  return axios__default.default({
4528
4528
  method,
4529
- url,
4529
+ url: endpoint,
4530
4530
  data,
4531
4531
  ...config,
4532
4532
  headers: {
package/dist/index.mjs CHANGED
@@ -4517,7 +4517,7 @@ var useApi = () => {
4517
4517
  const token = getJwtToken();
4518
4518
  return axios({
4519
4519
  method,
4520
- url,
4520
+ url: endpoint,
4521
4521
  data,
4522
4522
  ...config,
4523
4523
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happychef/reservation-sidebar",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
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",