@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/vue.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { H as HaexVaultSdk, S as StorageAPI } from './client-BDxVgihp.mjs';
1
+ import { H as HaexVaultSdk, S as StorageAPI } from './client-DTXGxFqD.mjs';
2
2
  import * as drizzle_orm_sqlite_proxy from 'drizzle-orm/sqlite-proxy';
3
3
  import { Ref } from 'vue';
4
4
  import { H as HaexHubConfig } from './types-DiXJ5SF6.mjs';
package/dist/vue.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { H as HaexVaultSdk, S as StorageAPI } from './client-Bgu2k1yJ.js';
1
+ import { H as HaexVaultSdk, S as StorageAPI } from './client-C_0ajqhQ.js';
2
2
  import * as drizzle_orm_sqlite_proxy from 'drizzle-orm/sqlite-proxy';
3
3
  import { Ref } from 'vue';
4
4
  import { H as HaexHubConfig } from './types-DiXJ5SF6.js';
package/dist/vue.js CHANGED
@@ -426,6 +426,7 @@ var HAEXTENSION_METHODS = {
426
426
  // Backend Management
427
427
  listBackends: "haextension:remote-storage:list-backends",
428
428
  addBackend: "haextension:remote-storage:add-backend",
429
+ updateBackend: "haextension:remote-storage:update-backend",
429
430
  removeBackend: "haextension:remote-storage:remove-backend",
430
431
  testBackend: "haextension:remote-storage:test-backend",
431
432
  // Storage Operations
@@ -1017,6 +1018,18 @@ var BackendManagement = class {
1017
1018
  request
1018
1019
  );
1019
1020
  }
1021
+ /**
1022
+ * Update a storage backend
1023
+ * Only provided fields are updated. Credentials are preserved if not provided.
1024
+ * @param request - Update request with backendId and fields to update
1025
+ * @returns Updated backend info
1026
+ */
1027
+ async update(request) {
1028
+ return this.client.request(
1029
+ HAEXTENSION_METHODS.remoteStorage.updateBackend,
1030
+ request
1031
+ );
1032
+ }
1020
1033
  /**
1021
1034
  * Remove a storage backend
1022
1035
  * @param backendId - Backend ID to remove