@haex-space/vault-sdk 2.5.54 → 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-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 +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
package/dist/vue.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as HaexVaultSdk, S as StorageAPI } from './client-
|
|
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-
|
|
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
|