@haex-space/vault-sdk 2.5.54 → 2.5.56

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.
@@ -98,6 +98,7 @@ var HAEXTENSION_METHODS = {
98
98
  // Backend Management
99
99
  listBackends: "haextension:remote-storage:list-backends",
100
100
  addBackend: "haextension:remote-storage:add-backend",
101
+ updateBackend: "haextension:remote-storage:update-backend",
101
102
  removeBackend: "haextension:remote-storage:remove-backend",
102
103
  testBackend: "haextension:remote-storage:test-backend",
103
104
  // Storage Operations
@@ -689,6 +690,18 @@ var BackendManagement = class {
689
690
  request
690
691
  );
691
692
  }
693
+ /**
694
+ * Update a storage backend
695
+ * Only provided fields are updated. Credentials are preserved if not provided.
696
+ * @param request - Update request with backendId and fields to update
697
+ * @returns Updated backend info
698
+ */
699
+ async update(request) {
700
+ return this.client.request(
701
+ HAEXTENSION_METHODS.remoteStorage.updateBackend,
702
+ request
703
+ );
704
+ }
692
705
  /**
693
706
  * Remove a storage backend
694
707
  * @param backendId - Backend ID to remove