@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/index.js CHANGED
@@ -1627,6 +1627,9 @@ async function sendInvoke(method, params, config, log) {
1627
1627
  const handler = allHandlers[method];
1628
1628
  if (handler) {
1629
1629
  const args = handler.args(params);
1630
+ console.log("[SDK Debug] Handler found for method:", method);
1631
+ console.log("[SDK Debug] Handler command:", handler.command);
1632
+ console.log("[SDK Debug] Transformed args:", JSON.stringify(args, null, 2));
1630
1633
  return invoke(handler.command, args);
1631
1634
  }
1632
1635
  throw new HaexVaultSdkError(
@@ -1840,6 +1843,7 @@ async function handleExternalRequest(request, handlers, respond, log) {
1840
1843
  }
1841
1844
  }
1842
1845
  async function respondToExternalRequest(response, request) {
1846
+ console.log("[SDK Debug] respondToExternalRequest called with:", JSON.stringify(response, null, 2));
1843
1847
  await request("external.respond", response);
1844
1848
  }
1845
1849