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