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