ecash-lib 4.14.0 → 4.14.2

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/.gitignore ADDED
@@ -0,0 +1,18 @@
1
+ # Dependency directories
2
+ node_modules/
3
+
4
+ # test coverage (c8, nyc)
5
+ coverage/
6
+ .nyc_output/
7
+
8
+ # npm run junit artifact
9
+ test-results.xml
10
+
11
+ # artifact from testing CI locally
12
+ test_results/
13
+
14
+ # compiled ts
15
+ dist/
16
+
17
+ # compiled WebAssembly
18
+ src/ffi/
package/.npmignore ADDED
@@ -0,0 +1,11 @@
1
+ # Note: Keep source files as some bundlers expect them
2
+
3
+ # Don't publish tests
4
+ /testkeys
5
+ /tests
6
+ *.test.ts
7
+ *.test.d.ts
8
+ *.test.d.ts.map
9
+ *.test.js
10
+ *.test.js.map
11
+ genkeys.sh
package/README.md CHANGED
@@ -118,3 +118,5 @@ console.log(toHex(rawTx));
118
118
  - 4.12.0 - Add multisig support to `TxBuilder` (bare and P2SH signatories, ECDSA and Schnorr), partial signing via `Tx.addMultisigSignature` and `Tx.isFullySignedMultisig`, and BIP 174 `Psbt` (`Psbt.fromTx` / `Psbt.fromBytes` / `Psbt.toBytes`, `Psbt.addMultisigSignature`, `Psbt.isFullySignedMultisig`) for passing partially signed transactions between signers. [D19688](https://reviews.bitcoinabc.org/D19688)
119
119
  - 4.13.0 - Load WASM from an embedded base64 payload via a single `initWasm` entry point (Node.js, browser, and bundlers like Next.js). Remove separate Node.js WASM files and dual `indexBrowser` / `indexNodeJs` package entries. [D20201](https://reviews.bitcoinabc.org/D20201)
120
120
  - 4.14.0 - Add optional `changeScript` on `payment.Action` so XEC change can go to a script other than the spending wallet. [D20561](https://reviews.bitcoinabc.org/D20561)
121
+ - 4.14.1 - Bound `parseMultisigRedeemScript` so `m` must be a safe integer in `1..=n` and `n <= MAX_PUBKEYS_PER_MULTISIG`, preventing `Psbt.toTx()` from allocating `Array(m)` for a crafted redeem script. [D20580](https://reviews.bitcoinabc.org/D20580)
122
+ - 4.14.2 - Patch bump to catch the latest `b58-ts` [D20768](https://reviews.bitcoinabc.org/D20768)