@haex-space/vault-sdk 2.5.11 → 2.5.12

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.
@@ -955,8 +955,8 @@ var TAURI_COMMANDS = {
955
955
  showImage: "webview_extension_fs_show_image"
956
956
  },
957
957
  external: {
958
- // Response handling (called by extensions)
959
- respond: "external_respond"},
958
+ // Response handling (called by extensions running in WebView)
959
+ respond: "webview_extension_external_respond"},
960
960
  filesync: {
961
961
  // Spaces
962
962
  listSpaces: "filesync_list_spaces",
@@ -1089,12 +1089,9 @@ var externalHandlers = {
1089
1089
  command: TAURI_COMMANDS.external.respond,
1090
1090
  args: (p) => ({
1091
1091
  request_id: p.requestId,
1092
- response: {
1093
- request_id: p.requestId,
1094
- success: p.success,
1095
- data: p.data,
1096
- error: p.error
1097
- }
1092
+ success: p.success,
1093
+ data: p.data,
1094
+ error: p.error
1098
1095
  })
1099
1096
  }
1100
1097
  };