@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/react.mjs CHANGED
@@ -1340,9 +1340,9 @@ var externalHandlers = {
1340
1340
  "external.respond": {
1341
1341
  command: TAURI_COMMANDS.external.respond,
1342
1342
  args: (p) => ({
1343
- requestId: p.requestId,
1343
+ request_id: p.requestId,
1344
1344
  response: {
1345
- requestId: p.requestId,
1345
+ request_id: p.requestId,
1346
1346
  success: p.success,
1347
1347
  data: p.data,
1348
1348
  error: p.error
@@ -1514,6 +1514,9 @@ async function sendInvoke(method, params, config, log) {
1514
1514
  const handler = allHandlers[method];
1515
1515
  if (handler) {
1516
1516
  const args = handler.args(params);
1517
+ console.log("[SDK Debug] Handler found for method:", method);
1518
+ console.log("[SDK Debug] Handler command:", handler.command);
1519
+ console.log("[SDK Debug] Transformed args:", JSON.stringify(args, null, 2));
1517
1520
  return invoke(handler.command, args);
1518
1521
  }
1519
1522
  throw new HaexVaultSdkError(