@calimero-network/mero-js 19.11.0 → 19.12.0

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
@@ -1470,6 +1470,20 @@ var AdminApiClient = class {
1470
1470
  )
1471
1471
  );
1472
1472
  }
1473
+ /**
1474
+ * Name a device of this account, for a listing to render.
1475
+ *
1476
+ * Run on the node holding the account root to name any device; a paired
1477
+ * node is accepted only for that device's own id.
1478
+ */
1479
+ async labelAccountDevice(deviceId, request) {
1480
+ return unwrap(
1481
+ await this.httpClient.put(
1482
+ `/admin-api/account/devices/${encodeURIComponent(deviceId)}/label`,
1483
+ request
1484
+ )
1485
+ );
1486
+ }
1473
1487
  /**
1474
1488
  * Every device of this account, as this node sees them - its own included.
1475
1489
  *