paisa-mcp 0.0.11 → 0.0.12

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.js CHANGED
@@ -45461,8 +45461,8 @@ function registerTransactionTools(server, client, crypto3) {
45461
45461
  }
45462
45462
  }, async (params) => {
45463
45463
  const data = await client.get("/api/transactions", Object.fromEntries(Object.entries(params).filter(([, v2]) => v2 !== undefined).map(([k2, v2]) => [k2, String(v2)])));
45464
- if (crypto3 && data.transactions)
45465
- await decryptTransactionFields(data.transactions, crypto3.key);
45464
+ if (crypto3 && data.data)
45465
+ await decryptTransactionFields(data.data, crypto3.key);
45466
45466
  return { content: [{ type: "text", text: JSON.stringify(data) }] };
45467
45467
  });
45468
45468
  server.registerTool("update_transaction", {
@@ -45746,5 +45746,5 @@ main().catch((err) => {
45746
45746
  process.exit(1);
45747
45747
  });
45748
45748
 
45749
- //# debugId=3D60F5F759B1186A64756E2164756E21
45749
+ //# debugId=2A5FB457B4850D1E64756E2164756E21
45750
45750
  //# sourceMappingURL=index.js.map