@haex-space/vault-sdk 2.5.55 → 2.5.58
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/index.d.mts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -0
- package/dist/index.mjs.map +1 -1
- package/dist/react.js +1 -2
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +1 -2
- package/dist/react.mjs.map +1 -1
- package/dist/runtime/nuxt.plugin.client.js +1 -2
- package/dist/runtime/nuxt.plugin.client.js.map +1 -1
- package/dist/runtime/nuxt.plugin.client.mjs +1 -2
- package/dist/runtime/nuxt.plugin.client.mjs.map +1 -1
- package/dist/svelte.js +1 -2
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs +1 -2
- package/dist/svelte.mjs.map +1 -1
- package/dist/vue.js +1 -2
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +1 -2
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -218,6 +218,7 @@ declare const TAURI_COMMANDS: {
|
|
|
218
218
|
readonly storage: {
|
|
219
219
|
readonly listBackends: "storage_list_backends";
|
|
220
220
|
readonly addBackend: "storage_add_backend";
|
|
221
|
+
readonly updateBackend: "storage_update_backend";
|
|
221
222
|
readonly removeBackend: "storage_remove_backend";
|
|
222
223
|
readonly testBackend: "storage_test_backend";
|
|
223
224
|
readonly upload: "storage_upload";
|
|
@@ -225,8 +226,19 @@ declare const TAURI_COMMANDS: {
|
|
|
225
226
|
readonly delete: "storage_delete";
|
|
226
227
|
readonly list: "storage_list";
|
|
227
228
|
};
|
|
229
|
+
readonly extensionRemoteStorage: {
|
|
230
|
+
readonly listBackends: "extension_remote_storage_list_backends";
|
|
231
|
+
readonly addBackend: "extension_remote_storage_add_backend";
|
|
232
|
+
readonly updateBackend: "extension_remote_storage_update_backend";
|
|
233
|
+
readonly removeBackend: "extension_remote_storage_remove_backend";
|
|
234
|
+
readonly testBackend: "extension_remote_storage_test_backend";
|
|
235
|
+
readonly upload: "extension_remote_storage_upload";
|
|
236
|
+
readonly download: "extension_remote_storage_download";
|
|
237
|
+
readonly delete: "extension_remote_storage_delete";
|
|
238
|
+
readonly list: "extension_remote_storage_list";
|
|
239
|
+
};
|
|
228
240
|
};
|
|
229
|
-
type TauriCommand = (typeof TAURI_COMMANDS.database)[keyof typeof TAURI_COMMANDS.database] | (typeof TAURI_COMMANDS.permissions)[keyof typeof TAURI_COMMANDS.permissions] | (typeof TAURI_COMMANDS.web)[keyof typeof TAURI_COMMANDS.web] | (typeof TAURI_COMMANDS.filesystem)[keyof typeof TAURI_COMMANDS.filesystem] | (typeof TAURI_COMMANDS.external)[keyof typeof TAURI_COMMANDS.external] | (typeof TAURI_COMMANDS.extension)[keyof typeof TAURI_COMMANDS.extension] | (typeof TAURI_COMMANDS.storage)[keyof typeof TAURI_COMMANDS.storage];
|
|
241
|
+
type TauriCommand = (typeof TAURI_COMMANDS.database)[keyof typeof TAURI_COMMANDS.database] | (typeof TAURI_COMMANDS.permissions)[keyof typeof TAURI_COMMANDS.permissions] | (typeof TAURI_COMMANDS.web)[keyof typeof TAURI_COMMANDS.web] | (typeof TAURI_COMMANDS.filesystem)[keyof typeof TAURI_COMMANDS.filesystem] | (typeof TAURI_COMMANDS.external)[keyof typeof TAURI_COMMANDS.external] | (typeof TAURI_COMMANDS.extension)[keyof typeof TAURI_COMMANDS.extension] | (typeof TAURI_COMMANDS.storage)[keyof typeof TAURI_COMMANDS.storage] | (typeof TAURI_COMMANDS.extensionRemoteStorage)[keyof typeof TAURI_COMMANDS.extensionRemoteStorage];
|
|
230
242
|
|
|
231
243
|
interface VerifyResult {
|
|
232
244
|
valid: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -218,6 +218,7 @@ declare const TAURI_COMMANDS: {
|
|
|
218
218
|
readonly storage: {
|
|
219
219
|
readonly listBackends: "storage_list_backends";
|
|
220
220
|
readonly addBackend: "storage_add_backend";
|
|
221
|
+
readonly updateBackend: "storage_update_backend";
|
|
221
222
|
readonly removeBackend: "storage_remove_backend";
|
|
222
223
|
readonly testBackend: "storage_test_backend";
|
|
223
224
|
readonly upload: "storage_upload";
|
|
@@ -225,8 +226,19 @@ declare const TAURI_COMMANDS: {
|
|
|
225
226
|
readonly delete: "storage_delete";
|
|
226
227
|
readonly list: "storage_list";
|
|
227
228
|
};
|
|
229
|
+
readonly extensionRemoteStorage: {
|
|
230
|
+
readonly listBackends: "extension_remote_storage_list_backends";
|
|
231
|
+
readonly addBackend: "extension_remote_storage_add_backend";
|
|
232
|
+
readonly updateBackend: "extension_remote_storage_update_backend";
|
|
233
|
+
readonly removeBackend: "extension_remote_storage_remove_backend";
|
|
234
|
+
readonly testBackend: "extension_remote_storage_test_backend";
|
|
235
|
+
readonly upload: "extension_remote_storage_upload";
|
|
236
|
+
readonly download: "extension_remote_storage_download";
|
|
237
|
+
readonly delete: "extension_remote_storage_delete";
|
|
238
|
+
readonly list: "extension_remote_storage_list";
|
|
239
|
+
};
|
|
228
240
|
};
|
|
229
|
-
type TauriCommand = (typeof TAURI_COMMANDS.database)[keyof typeof TAURI_COMMANDS.database] | (typeof TAURI_COMMANDS.permissions)[keyof typeof TAURI_COMMANDS.permissions] | (typeof TAURI_COMMANDS.web)[keyof typeof TAURI_COMMANDS.web] | (typeof TAURI_COMMANDS.filesystem)[keyof typeof TAURI_COMMANDS.filesystem] | (typeof TAURI_COMMANDS.external)[keyof typeof TAURI_COMMANDS.external] | (typeof TAURI_COMMANDS.extension)[keyof typeof TAURI_COMMANDS.extension] | (typeof TAURI_COMMANDS.storage)[keyof typeof TAURI_COMMANDS.storage];
|
|
241
|
+
type TauriCommand = (typeof TAURI_COMMANDS.database)[keyof typeof TAURI_COMMANDS.database] | (typeof TAURI_COMMANDS.permissions)[keyof typeof TAURI_COMMANDS.permissions] | (typeof TAURI_COMMANDS.web)[keyof typeof TAURI_COMMANDS.web] | (typeof TAURI_COMMANDS.filesystem)[keyof typeof TAURI_COMMANDS.filesystem] | (typeof TAURI_COMMANDS.external)[keyof typeof TAURI_COMMANDS.external] | (typeof TAURI_COMMANDS.extension)[keyof typeof TAURI_COMMANDS.extension] | (typeof TAURI_COMMANDS.storage)[keyof typeof TAURI_COMMANDS.storage] | (typeof TAURI_COMMANDS.extensionRemoteStorage)[keyof typeof TAURI_COMMANDS.extensionRemoteStorage];
|
|
230
242
|
|
|
231
243
|
interface VerifyResult {
|
|
232
244
|
valid: boolean;
|
package/dist/index.js
CHANGED
|
@@ -1596,6 +1596,7 @@ var TAURI_COMMANDS = {
|
|
|
1596
1596
|
// not extension-specific. All extensions share the same storage backends.
|
|
1597
1597
|
listBackends: "storage_list_backends",
|
|
1598
1598
|
addBackend: "storage_add_backend",
|
|
1599
|
+
updateBackend: "storage_update_backend",
|
|
1599
1600
|
removeBackend: "storage_remove_backend",
|
|
1600
1601
|
testBackend: "storage_test_backend",
|
|
1601
1602
|
// Storage Operations
|
|
@@ -1603,6 +1604,20 @@ var TAURI_COMMANDS = {
|
|
|
1603
1604
|
download: "storage_download",
|
|
1604
1605
|
delete: "storage_delete",
|
|
1605
1606
|
list: "storage_list"
|
|
1607
|
+
},
|
|
1608
|
+
// Extension Remote Storage commands (with permission checks)
|
|
1609
|
+
// These commands require publicKey and name to identify the extension
|
|
1610
|
+
// and validate filesync permissions before executing storage operations.
|
|
1611
|
+
extensionRemoteStorage: {
|
|
1612
|
+
listBackends: "extension_remote_storage_list_backends",
|
|
1613
|
+
addBackend: "extension_remote_storage_add_backend",
|
|
1614
|
+
updateBackend: "extension_remote_storage_update_backend",
|
|
1615
|
+
removeBackend: "extension_remote_storage_remove_backend",
|
|
1616
|
+
testBackend: "extension_remote_storage_test_backend",
|
|
1617
|
+
upload: "extension_remote_storage_upload",
|
|
1618
|
+
download: "extension_remote_storage_download",
|
|
1619
|
+
delete: "extension_remote_storage_delete",
|
|
1620
|
+
list: "extension_remote_storage_list"
|
|
1606
1621
|
}
|
|
1607
1622
|
};
|
|
1608
1623
|
|