@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.
@@ -1090,9 +1090,9 @@ var externalHandlers = {
1090
1090
  "external.respond": {
1091
1091
  command: TAURI_COMMANDS.external.respond,
1092
1092
  args: (p) => ({
1093
- requestId: p.requestId,
1093
+ request_id: p.requestId,
1094
1094
  response: {
1095
- requestId: p.requestId,
1095
+ request_id: p.requestId,
1096
1096
  success: p.success,
1097
1097
  data: p.data,
1098
1098
  error: p.error
@@ -1264,6 +1264,9 @@ async function sendInvoke(method, params, config, log) {
1264
1264
  const handler = allHandlers[method];
1265
1265
  if (handler) {
1266
1266
  const args = handler.args(params);
1267
+ console.log("[SDK Debug] Handler found for method:", method);
1268
+ console.log("[SDK Debug] Handler command:", handler.command);
1269
+ console.log("[SDK Debug] Transformed args:", JSON.stringify(args, null, 2));
1267
1270
  return invoke(handler.command, args);
1268
1271
  }
1269
1272
  throw new HaexVaultSdkError(