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