@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/{client-Bgu2k1yJ.d.ts → client-C_0ajqhQ.d.ts} +33 -1
- package/dist/{client-BDxVgihp.d.mts → client-DTXGxFqD.d.mts} +33 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -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
|
@@ -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-
|
|
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-
|
|
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
|