@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.mjs CHANGED
@@ -1594,6 +1594,7 @@ var TAURI_COMMANDS = {
1594
1594
  // not extension-specific. All extensions share the same storage backends.
1595
1595
  listBackends: "storage_list_backends",
1596
1596
  addBackend: "storage_add_backend",
1597
+ updateBackend: "storage_update_backend",
1597
1598
  removeBackend: "storage_remove_backend",
1598
1599
  testBackend: "storage_test_backend",
1599
1600
  // Storage Operations
@@ -1601,6 +1602,20 @@ var TAURI_COMMANDS = {
1601
1602
  download: "storage_download",
1602
1603
  delete: "storage_delete",
1603
1604
  list: "storage_list"
1605
+ },
1606
+ // Extension Remote Storage commands (with permission checks)
1607
+ // These commands require publicKey and name to identify the extension
1608
+ // and validate filesync permissions before executing storage operations.
1609
+ extensionRemoteStorage: {
1610
+ listBackends: "extension_remote_storage_list_backends",
1611
+ addBackend: "extension_remote_storage_add_backend",
1612
+ updateBackend: "extension_remote_storage_update_backend",
1613
+ removeBackend: "extension_remote_storage_remove_backend",
1614
+ testBackend: "extension_remote_storage_test_backend",
1615
+ upload: "extension_remote_storage_upload",
1616
+ download: "extension_remote_storage_download",
1617
+ delete: "extension_remote_storage_delete",
1618
+ list: "extension_remote_storage_list"
1604
1619
  }
1605
1620
  };
1606
1621