@juhuu/sdk-ts 1.2.93 → 1.2.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.
package/dist/index.js CHANGED
@@ -136,7 +136,7 @@ var Service = class {
136
136
  status: response.status
137
137
  };
138
138
  } catch (error) {
139
- console.error(error);
139
+ console.error("JUHUU SDK, error sending request: ", error);
140
140
  responseObject = {
141
141
  ok: false,
142
142
  data: await response?.json(),
@@ -997,6 +997,7 @@ var DevicesService = class extends Service {
997
997
  method: "PATCH",
998
998
  url: "devices/" + DeviceUpdateParams.deviceId,
999
999
  body: {
1000
+ status: DeviceUpdateParams.status,
1000
1001
  name: DeviceUpdateParams.name,
1001
1002
  description: DeviceUpdateParams.description,
1002
1003
  latitude: DeviceUpdateParams.latitude,
package/dist/index.mjs CHANGED
@@ -92,7 +92,7 @@ var Service = class {
92
92
  status: response.status
93
93
  };
94
94
  } catch (error) {
95
- console.error(error);
95
+ console.error("JUHUU SDK, error sending request: ", error);
96
96
  responseObject = {
97
97
  ok: false,
98
98
  data: await response?.json(),
@@ -953,6 +953,7 @@ var DevicesService = class extends Service {
953
953
  method: "PATCH",
954
954
  url: "devices/" + DeviceUpdateParams.deviceId,
955
955
  body: {
956
+ status: DeviceUpdateParams.status,
956
957
  name: DeviceUpdateParams.name,
957
958
  description: DeviceUpdateParams.description,
958
959
  latitude: DeviceUpdateParams.latitude,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.93",
3
+ "version": "1.2.95",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",