@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.
@@ -1,6 +1,6 @@
1
1
  import * as nuxt_app from 'nuxt/app';
2
2
  import { ShallowRef } from 'vue';
3
- import { H as HaexVaultSdk } from '../client-BDxVgihp.mjs';
3
+ import { H as HaexVaultSdk } from '../client-DTXGxFqD.mjs';
4
4
  import { A as ApplicationContext } from '../types-DiXJ5SF6.mjs';
5
5
  import 'drizzle-orm/sqlite-proxy';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import * as nuxt_app from 'nuxt/app';
2
2
  import { ShallowRef } from 'vue';
3
- import { H as HaexVaultSdk } from '../client-Bgu2k1yJ.js';
3
+ import { H as HaexVaultSdk } from '../client-C_0ajqhQ.js';
4
4
  import { A as ApplicationContext } from '../types-DiXJ5SF6.js';
5
5
  import 'drizzle-orm/sqlite-proxy';
6
6
 
@@ -100,6 +100,7 @@ var HAEXTENSION_METHODS = {
100
100
  // Backend Management
101
101
  listBackends: "haextension:remote-storage:list-backends",
102
102
  addBackend: "haextension:remote-storage:add-backend",
103
+ updateBackend: "haextension:remote-storage:update-backend",
103
104
  removeBackend: "haextension:remote-storage:remove-backend",
104
105
  testBackend: "haextension:remote-storage:test-backend",
105
106
  // Storage Operations
@@ -691,6 +692,18 @@ var BackendManagement = class {
691
692
  request
692
693
  );
693
694
  }
695
+ /**
696
+ * Update a storage backend
697
+ * Only provided fields are updated. Credentials are preserved if not provided.
698
+ * @param request - Update request with backendId and fields to update
699
+ * @returns Updated backend info
700
+ */
701
+ async update(request) {
702
+ return this.client.request(
703
+ HAEXTENSION_METHODS.remoteStorage.updateBackend,
704
+ request
705
+ );
706
+ }
694
707
  /**
695
708
  * Remove a storage backend
696
709
  * @param backendId - Backend ID to remove