@haex-space/vault-sdk 2.5.9 → 2.5.11

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
@@ -1516,6 +1516,9 @@ async function sendInvoke(method, params, config, log) {
1516
1516
  const handler = allHandlers[method];
1517
1517
  if (handler) {
1518
1518
  const args = handler.args(params);
1519
+ console.log("[SDK Debug] Handler found for method:", method);
1520
+ console.log("[SDK Debug] Handler command:", handler.command);
1521
+ console.log("[SDK Debug] Transformed args:", JSON.stringify(args, null, 2));
1519
1522
  return invoke(handler.command, args);
1520
1523
  }
1521
1524
  throw new HaexVaultSdkError(
@@ -1729,6 +1732,7 @@ async function handleExternalRequest(request, handlers, respond, log) {
1729
1732
  }
1730
1733
  }
1731
1734
  async function respondToExternalRequest(response, request) {
1735
+ console.log("[SDK Debug] respondToExternalRequest called with:", JSON.stringify(response, null, 2));
1732
1736
  await request("external.respond", response);
1733
1737
  }
1734
1738