@argonprotocol/bitcoin 1.3.27 → 1.4.0-dev.535b5795
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/browser/index.d.ts +20 -16
- package/browser/index.js +172 -174
- package/browser/index.js.map +1 -1
- package/lib/{bitcoin_bindings_bg-CY7AADGN.wasm → bitcoin_bindings_bg-YHPBJNYF.wasm} +0 -0
- package/lib/index.d.ts +20 -16
- package/lib/index.js +174 -177
- package/package.json +3 -3
package/browser/index.d.ts
CHANGED
|
@@ -7,23 +7,26 @@ import { BTC_NETWORK } from '@scure/btc-signer/utils';
|
|
|
7
7
|
import * as bip39 from '@scure/bip39';
|
|
8
8
|
export { bip39 };
|
|
9
9
|
|
|
10
|
+
/* tslint:disable */
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
|
|
10
13
|
declare enum BitcoinNetwork {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Mainnet Bitcoin.
|
|
16
|
+
*/
|
|
17
|
+
Bitcoin = 0,
|
|
18
|
+
/**
|
|
19
|
+
* Bitcoin's testnet network.
|
|
20
|
+
*/
|
|
21
|
+
Testnet = 1,
|
|
22
|
+
/**
|
|
23
|
+
* Bitcoin's signet network
|
|
24
|
+
*/
|
|
25
|
+
Signet = 2,
|
|
26
|
+
/**
|
|
27
|
+
* Bitcoin's regtest network.
|
|
28
|
+
*/
|
|
29
|
+
Regtest = 3,
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
declare class CosignScript {
|
|
@@ -39,6 +42,7 @@ declare class CosignScript {
|
|
|
39
42
|
vout: number;
|
|
40
43
|
};
|
|
41
44
|
releaseRequest: IReleaseRequest;
|
|
45
|
+
utxoSatoshis?: bigint;
|
|
42
46
|
}): Transaction;
|
|
43
47
|
psbtFromHex(psbtHex: string): Transaction;
|
|
44
48
|
/**
|