@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.
- package/dist/{client-Dv3ysOWr.d.ts → client-C_0ajqhQ.d.ts} +20 -1
- package/dist/{client-Y3QEhTe2.d.mts → client-DTXGxFqD.d.mts} +20 -1
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -0
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +13 -0
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +13 -0
- package/dist/react.mjs.map +1 -1
- package/dist/runtime/nuxt.plugin.client.d.mts +1 -1
- package/dist/runtime/nuxt.plugin.client.d.ts +1 -1
- package/dist/runtime/nuxt.plugin.client.js +13 -0
- package/dist/runtime/nuxt.plugin.client.js.map +1 -1
- package/dist/runtime/nuxt.plugin.client.mjs +13 -0
- package/dist/runtime/nuxt.plugin.client.mjs.map +1 -1
- package/dist/svelte.d.mts +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/svelte.js +13 -0
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs +13 -0
- package/dist/svelte.mjs.map +1 -1
- package/dist/vue.d.mts +1 -1
- package/dist/vue.d.ts +1 -1
- package/dist/vue.js +13 -0
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +13 -0
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vue.mjs
CHANGED
|
@@ -424,6 +424,7 @@ var HAEXTENSION_METHODS = {
|
|
|
424
424
|
// Backend Management
|
|
425
425
|
listBackends: "haextension:remote-storage:list-backends",
|
|
426
426
|
addBackend: "haextension:remote-storage:add-backend",
|
|
427
|
+
updateBackend: "haextension:remote-storage:update-backend",
|
|
427
428
|
removeBackend: "haextension:remote-storage:remove-backend",
|
|
428
429
|
testBackend: "haextension:remote-storage:test-backend",
|
|
429
430
|
// Storage Operations
|
|
@@ -1015,6 +1016,18 @@ var BackendManagement = class {
|
|
|
1015
1016
|
request
|
|
1016
1017
|
);
|
|
1017
1018
|
}
|
|
1019
|
+
/**
|
|
1020
|
+
* Update a storage backend
|
|
1021
|
+
* Only provided fields are updated. Credentials are preserved if not provided.
|
|
1022
|
+
* @param request - Update request with backendId and fields to update
|
|
1023
|
+
* @returns Updated backend info
|
|
1024
|
+
*/
|
|
1025
|
+
async update(request) {
|
|
1026
|
+
return this.client.request(
|
|
1027
|
+
HAEXTENSION_METHODS.remoteStorage.updateBackend,
|
|
1028
|
+
request
|
|
1029
|
+
);
|
|
1030
|
+
}
|
|
1018
1031
|
/**
|
|
1019
1032
|
* Remove a storage backend
|
|
1020
1033
|
* @param backendId - Backend ID to remove
|