@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.
@@ -1264,6 +1264,9 @@ async function sendInvoke(method, params, config, log) {
1264
1264
  const handler = allHandlers[method];
1265
1265
  if (handler) {
1266
1266
  const args = handler.args(params);
1267
+ console.log("[SDK Debug] Handler found for method:", method);
1268
+ console.log("[SDK Debug] Handler command:", handler.command);
1269
+ console.log("[SDK Debug] Transformed args:", JSON.stringify(args, null, 2));
1267
1270
  return invoke(handler.command, args);
1268
1271
  }
1269
1272
  throw new HaexVaultSdkError(
@@ -1477,6 +1480,7 @@ async function handleExternalRequest(request, handlers, respond, log) {
1477
1480
  }
1478
1481
  }
1479
1482
  async function respondToExternalRequest(response, request) {
1483
+ console.log("[SDK Debug] respondToExternalRequest called with:", JSON.stringify(response, null, 2));
1480
1484
  await request("external.respond", response);
1481
1485
  }
1482
1486