@haex-space/vault-sdk 2.5.8 → 2.5.10

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
@@ -1453,9 +1453,9 @@ var externalHandlers = {
1453
1453
  "external.respond": {
1454
1454
  command: TAURI_COMMANDS.external.respond,
1455
1455
  args: (p) => ({
1456
- requestId: p.requestId,
1456
+ request_id: p.requestId,
1457
1457
  response: {
1458
- requestId: p.requestId,
1458
+ request_id: p.requestId,
1459
1459
  success: p.success,
1460
1460
  data: p.data,
1461
1461
  error: p.error
@@ -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(