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