@radaros/edge 0.3.35 → 0.3.39

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.cjs CHANGED
@@ -4462,7 +4462,7 @@ var CameraToolkit = class extends import_core2.Toolkit {
4462
4462
  width: w,
4463
4463
  height: h,
4464
4464
  base64_length: b64.length,
4465
- data: b64.slice(0, 200) + "...[truncated for LLM context]"
4465
+ data: `${b64.slice(0, 200)}...[truncated for LLM context]`
4466
4466
  });
4467
4467
  }
4468
4468
  return JSON.stringify({ filepath, width: w, height: h, format: this.format });
@@ -5202,8 +5202,8 @@ var SystemToolkit = class extends import_core6.Toolkit {
5202
5202
  const wifiIface = iwconfig.split("\n").slice(2).map((l) => l.trim().split(":")[0]).filter(Boolean)[0];
5203
5203
  if (wifiIface) {
5204
5204
  try {
5205
- const { execSync: execSync2 } = await import("child_process");
5206
- const ssid = execSync2(`iwgetid -r 2>/dev/null`, { encoding: "utf-8" }).trim();
5205
+ const { execSync } = await import("child_process");
5206
+ const ssid = execSync(`iwgetid -r 2>/dev/null`, { encoding: "utf-8" }).trim();
5207
5207
  if (ssid) wifiSsid = ssid;
5208
5208
  } catch {
5209
5209
  }
@@ -5950,7 +5950,7 @@ var EdgeCloudSync = class extends import_node_events3.EventEmitter {
5950
5950
  getHeaders() {
5951
5951
  const headers = {};
5952
5952
  if (this.config.authToken) {
5953
- headers["Authorization"] = `Bearer ${this.config.authToken}`;
5953
+ headers.Authorization = `Bearer ${this.config.authToken}`;
5954
5954
  }
5955
5955
  return headers;
5956
5956
  }
package/dist/index.js CHANGED
@@ -4414,7 +4414,7 @@ var CameraToolkit = class extends Toolkit2 {
4414
4414
  width: w,
4415
4415
  height: h,
4416
4416
  base64_length: b64.length,
4417
- data: b64.slice(0, 200) + "...[truncated for LLM context]"
4417
+ data: `${b64.slice(0, 200)}...[truncated for LLM context]`
4418
4418
  });
4419
4419
  }
4420
4420
  return JSON.stringify({ filepath, width: w, height: h, format: this.format });
@@ -5154,8 +5154,8 @@ var SystemToolkit = class extends Toolkit6 {
5154
5154
  const wifiIface = iwconfig.split("\n").slice(2).map((l) => l.trim().split(":")[0]).filter(Boolean)[0];
5155
5155
  if (wifiIface) {
5156
5156
  try {
5157
- const { execSync: execSync2 } = await import("child_process");
5158
- const ssid = execSync2(`iwgetid -r 2>/dev/null`, { encoding: "utf-8" }).trim();
5157
+ const { execSync } = await import("child_process");
5158
+ const ssid = execSync(`iwgetid -r 2>/dev/null`, { encoding: "utf-8" }).trim();
5159
5159
  if (ssid) wifiSsid = ssid;
5160
5160
  } catch {
5161
5161
  }
@@ -5902,7 +5902,7 @@ var EdgeCloudSync = class extends EventEmitter3 {
5902
5902
  getHeaders() {
5903
5903
  const headers = {};
5904
5904
  if (this.config.authToken) {
5905
- headers["Authorization"] = `Bearer ${this.config.authToken}`;
5905
+ headers.Authorization = `Bearer ${this.config.authToken}`;
5906
5906
  }
5907
5907
  return headers;
5908
5908
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radaros/edge",
3
- "version": "0.3.35",
3
+ "version": "0.3.39",
4
4
  "description": "Edge deployment for RadarOS — IoT toolkits (GPIO, sensors, camera, BLE), edge runtime, and Ollama helpers for Raspberry Pi",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -44,7 +44,7 @@
44
44
  "typescript": "^5.6.0"
45
45
  },
46
46
  "peerDependencies": {
47
- "@radaros/core": "^0.3.35",
47
+ "@radaros/core": "^0.3.39",
48
48
  "node-libgpiod": ">=0.4.0",
49
49
  "i2c-bus": ">=5.0.0",
50
50
  "@stoprocent/noble": ">=2.0.0"