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