@haex-space/vault-sdk 2.5.65 → 2.5.67

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/vue.mjs CHANGED
@@ -452,6 +452,12 @@ var FILESYSTEM_COMMANDS = {
452
452
  copy: "extension_filesystem_copy"
453
453
  };
454
454
 
455
+ // src/commands/externalBridge.ts
456
+ var EXTERNAL_BRIDGE_COMMANDS = {
457
+ // Response handling (called by extensions running in WebView)
458
+ /** Respond to an external request */
459
+ respond: "webview_extension_external_respond"};
460
+
455
461
  // src/commands/extension.ts
456
462
  var EXTENSION_COMMANDS = {
457
463
  /** Get application context (theme, locale, etc.) */
@@ -1539,7 +1545,7 @@ async function handleExternalRequest(request, handlers, respond, log) {
1539
1545
  }
1540
1546
  async function respondToExternalRequest(response, request) {
1541
1547
  console.log("[SDK Debug] respondToExternalRequest called with:", JSON.stringify(response, null, 2));
1542
- await request("external.respond", response);
1548
+ await request(EXTERNAL_BRIDGE_COMMANDS.respond, response);
1543
1549
  }
1544
1550
 
1545
1551
  // src/client.ts