@connectedxm/client 7.5.7 → 7.5.9

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +10 -10
package/dist/index.js CHANGED
@@ -8953,8 +8953,8 @@ var CancelBooking = async ({
8953
8953
  queryClient
8954
8954
  }) => {
8955
8955
  const clientApi = await GetClientAPI(clientApiParams);
8956
- const { data } = await clientApi.delete(
8957
- `/bookings/${bookingId}`
8956
+ const { data } = await clientApi.post(
8957
+ `/bookings/${bookingId}/cancel`
8958
8958
  );
8959
8959
  if (queryClient && data.status === "ok") {
8960
8960
  queryClient.setQueryData(BOOKING_QUERY_KEY(bookingId), data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "7.5.7",
3
+ "version": "7.5.9",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",
@@ -23,8 +23,8 @@
23
23
  "upgrade": "ncu -i --format group"
24
24
  },
25
25
  "dependencies": {
26
- "axios": "^1.13.4",
27
- "immer": "^10.1.3"
26
+ "axios": "^1.13.6",
27
+ "immer": "^11.1.4"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@tanstack/react-query": "^5.0.0",
@@ -47,11 +47,11 @@
47
47
  }
48
48
  },
49
49
  "devDependencies": {
50
- "@swc/core": "^1.15.11",
51
- "@tanstack/react-query": "^5.90.20",
52
- "@types/react": "^19.2.10",
53
- "@typescript-eslint/eslint-plugin": "^8.54.0",
54
- "@typescript-eslint/parser": "^8.54.0",
50
+ "@swc/core": "^1.15.18",
51
+ "@tanstack/react-query": "^5.90.21",
52
+ "@types/react": "^19.2.14",
53
+ "@typescript-eslint/eslint-plugin": "^8.57.0",
54
+ "@typescript-eslint/parser": "^8.57.0",
55
55
  "eslint": "^9.39.2",
56
56
  "eslint-plugin-react": "^7.37.5",
57
57
  "eslint-plugin-react-hooks": "^5.2.0",
@@ -59,9 +59,9 @@
59
59
  "react-use-websocket": "^4.13.0",
60
60
  "tsup": "^8.5.1",
61
61
  "typescript": "^5.9.3",
62
- "vitest": "^3.2.4"
62
+ "vitest": "^4.1.0"
63
63
  },
64
64
  "optionalDependencies": {
65
- "@rollup/rollup-linux-x64-gnu": "4.57.1"
65
+ "@rollup/rollup-linux-x64-gnu": "4.59.0"
66
66
  }
67
67
  }