@haex-space/vault-sdk 2.5.56 → 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 +12 -1
- package/dist/index.d.ts +12 -1
- 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.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
|
@@ -226,8 +226,19 @@ declare const TAURI_COMMANDS: {
|
|
|
226
226
|
readonly delete: "storage_delete";
|
|
227
227
|
readonly list: "storage_list";
|
|
228
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
|
+
};
|
|
229
240
|
};
|
|
230
|
-
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];
|
|
231
242
|
|
|
232
243
|
interface VerifyResult {
|
|
233
244
|
valid: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -226,8 +226,19 @@ declare const TAURI_COMMANDS: {
|
|
|
226
226
|
readonly delete: "storage_delete";
|
|
227
227
|
readonly list: "storage_list";
|
|
228
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
|
+
};
|
|
229
240
|
};
|
|
230
|
-
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];
|
|
231
242
|
|
|
232
243
|
interface VerifyResult {
|
|
233
244
|
valid: boolean;
|
package/dist/index.js
CHANGED
|
@@ -1604,6 +1604,20 @@ var TAURI_COMMANDS = {
|
|
|
1604
1604
|
download: "storage_download",
|
|
1605
1605
|
delete: "storage_delete",
|
|
1606
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"
|
|
1607
1621
|
}
|
|
1608
1622
|
};
|
|
1609
1623
|
|