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