@vulog/aima-vehicle 1.2.19 → 1.2.20

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
@@ -222,7 +222,7 @@ var pingVehicleById = async (client, id) => {
222
222
  });
223
223
  }
224
224
  try {
225
- await client.post(
225
+ await client.get(
226
226
  `boapi/proxy/fleetmanager/public/v2/fleets/${client.clientOptions.fleetId}/vehicles/${result.data.id}/ping`
227
227
  );
228
228
  return true;
package/dist/index.mjs CHANGED
@@ -175,7 +175,7 @@ var pingVehicleById = async (client, id) => {
175
175
  });
176
176
  }
177
177
  try {
178
- await client.post(
178
+ await client.get(
179
179
  `boapi/proxy/fleetmanager/public/v2/fleets/${client.clientOptions.fleetId}/vehicles/${result.data.id}/ping`
180
180
  );
181
181
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vulog/aima-vehicle",
3
- "version": "1.2.19",
3
+ "version": "1.2.20",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -19,8 +19,8 @@
19
19
  "author": "Vulog",
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "@vulog/aima-client": "1.2.19",
23
- "@vulog/aima-core": "1.2.19"
22
+ "@vulog/aima-client": "1.2.20",
23
+ "@vulog/aima-core": "1.2.20"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "zod": "^3.25.76"
@@ -18,7 +18,7 @@ export const pingVehicleById = async (client: Client, id: string): Promise<boole
18
18
  });
19
19
  }
20
20
  try {
21
- await client.post(
21
+ await client.get(
22
22
  `boapi/proxy/fleetmanager/public/v2/fleets/${client.clientOptions.fleetId}/vehicles/${result.data.id}/ping`
23
23
  );
24
24
  return true;