@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.
@@ -1088,9 +1088,9 @@ var externalHandlers = {
1088
1088
  "external.respond": {
1089
1089
  command: TAURI_COMMANDS.external.respond,
1090
1090
  args: (p) => ({
1091
- requestId: p.requestId,
1091
+ request_id: p.requestId,
1092
1092
  response: {
1093
- requestId: p.requestId,
1093
+ request_id: p.requestId,
1094
1094
  success: p.success,
1095
1095
  data: p.data,
1096
1096
  error: p.error
@@ -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(