@haex-space/vault-sdk 2.5.52 → 2.5.55

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.mjs CHANGED
@@ -511,6 +511,7 @@ var HAEXTENSION_METHODS = {
511
511
  // Backend Management
512
512
  listBackends: "haextension:remote-storage:list-backends",
513
513
  addBackend: "haextension:remote-storage:add-backend",
514
+ updateBackend: "haextension:remote-storage:update-backend",
514
515
  removeBackend: "haextension:remote-storage:remove-backend",
515
516
  testBackend: "haextension:remote-storage:test-backend",
516
517
  // Storage Operations
@@ -1293,6 +1294,18 @@ var BackendManagement = class {
1293
1294
  request
1294
1295
  );
1295
1296
  }
1297
+ /**
1298
+ * Update a storage backend
1299
+ * Only provided fields are updated. Credentials are preserved if not provided.
1300
+ * @param request - Update request with backendId and fields to update
1301
+ * @returns Updated backend info
1302
+ */
1303
+ async update(request) {
1304
+ return this.client.request(
1305
+ HAEXTENSION_METHODS.remoteStorage.updateBackend,
1306
+ request
1307
+ );
1308
+ }
1296
1309
  /**
1297
1310
  * Remove a storage backend
1298
1311
  * @param backendId - Backend ID to remove