@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.
package/dist/index.mjs CHANGED
@@ -1294,8 +1294,8 @@ var TAURI_COMMANDS = {
1294
1294
  showImage: "webview_extension_fs_show_image"
1295
1295
  },
1296
1296
  external: {
1297
- // Response handling (called by extensions)
1298
- respond: "external_respond",
1297
+ // Response handling (called by extensions running in WebView)
1298
+ respond: "webview_extension_external_respond",
1299
1299
  // Bridge server management
1300
1300
  bridgeStart: "external_bridge_start",
1301
1301
  bridgeStop: "external_bridge_stop",
@@ -1452,12 +1452,9 @@ var externalHandlers = {
1452
1452
  command: TAURI_COMMANDS.external.respond,
1453
1453
  args: (p) => ({
1454
1454
  request_id: p.requestId,
1455
- response: {
1456
- request_id: p.requestId,
1457
- success: p.success,
1458
- data: p.data,
1459
- error: p.error
1460
- }
1455
+ success: p.success,
1456
+ data: p.data,
1457
+ error: p.error
1461
1458
  })
1462
1459
  }
1463
1460
  };