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.
- package/package.json +1 -1
- package/scripts/txs.mjs +2 -1
package/package.json
CHANGED
package/scripts/txs.mjs
CHANGED
|
@@ -124,7 +124,8 @@ try {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
|
|
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);
|