@scure/btc-signer 1.1.0 → 1.1.1
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/README.md +6 -5
- package/index.d.ts +451 -591
- package/index.d.ts.map +1 -1
- package/index.js +11 -11
- package/index.js.map +1 -1
- package/index.ts +6 -5
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -15,11 +15,12 @@ Initial development has been funded by [Ryan Shea](https://shea.io). Check out [
|
|
|
15
15
|
|
|
16
16
|
### This library belongs to _scure_
|
|
17
17
|
|
|
18
|
-
> **scure** —
|
|
18
|
+
> **scure** — audited micro-libraries.
|
|
19
19
|
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
20
|
+
- Zero or minimal dependencies
|
|
21
|
+
- Highly readable TypeScript / JS code
|
|
22
|
+
- PGP-signed releases and transparent NPM builds
|
|
23
|
+
- Check out [homepage](https://paulmillr.com/noble/#scure) & all libraries:
|
|
23
24
|
[base](https://github.com/paulmillr/scure-base),
|
|
24
25
|
[bip32](https://github.com/paulmillr/scure-bip32),
|
|
25
26
|
[bip39](https://github.com/paulmillr/scure-bip39),
|
|
@@ -530,7 +531,7 @@ type TransactionOutput = {
|
|
|
530
531
|
|
|
531
532
|
tx.addOutput(o: TransactionOutput): number;
|
|
532
533
|
tx.updateOutput(idx: number, output: TransactionOutput);
|
|
533
|
-
tx.addOutputAddress(address: string, amount:
|
|
534
|
+
tx.addOutputAddress(address: string, amount: bigint, network = NETWORK): number;
|
|
534
535
|
|
|
535
536
|
const compressed = hex.decode(
|
|
536
537
|
'030000000000000000000000000000000000000000000000000000000000000001'
|