nodpay 0.2.29 → 0.2.30

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scripts/txs.mjs +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodpay",
3
- "version": "0.2.29",
3
+ "version": "0.2.30",
4
4
  "description": "NodPay CLI — propose on-chain payments from agent-human shared wallets",
5
5
  "type": "module",
6
6
  "bin": {
package/scripts/txs.mjs CHANGED
@@ -124,7 +124,8 @@ try {
124
124
  }
125
125
  }
126
126
 
127
- console.log(JSON.stringify(data, null, 2));
127
+ // BigInt values from @nodpay/core (e.g. decoded value) must be serialized as strings
128
+ console.log(JSON.stringify(data, (_, v) => typeof v === 'bigint' ? v.toString() : v, 2));
128
129
  } catch (err) {
129
130
  console.error(JSON.stringify({ error: err.message }));
130
131
  process.exit(1);