@arkade-os/sdk 0.3.0-alpha.1 → 0.3.0-alpha.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/dist/cjs/identity/singleKey.js +3 -0
- package/dist/cjs/providers/ark.js +53 -71
- package/dist/cjs/providers/indexer.js +45 -51
- package/dist/cjs/providers/utils.js +60 -0
- package/dist/cjs/repositories/walletRepository.js +34 -4
- package/dist/cjs/script/tapscript.js +8 -2
- package/dist/cjs/tree/signingSession.js +3 -3
- package/dist/cjs/tree/txTree.js +3 -3
- package/dist/cjs/tree/validation.js +1 -1
- package/dist/cjs/wallet/wallet.js +5 -6
- package/dist/esm/identity/singleKey.js +4 -1
- package/dist/esm/providers/ark.js +53 -71
- package/dist/esm/providers/indexer.js +45 -51
- package/dist/esm/providers/utils.js +57 -0
- package/dist/esm/repositories/walletRepository.js +34 -4
- package/dist/esm/script/tapscript.js +8 -2
- package/dist/esm/tree/signingSession.js +3 -3
- package/dist/esm/tree/txTree.js +3 -3
- package/dist/esm/tree/validation.js +1 -1
- package/dist/esm/wallet/wallet.js +5 -6
- package/dist/types/identity/index.d.ts +3 -2
- package/dist/types/identity/singleKey.d.ts +1 -0
- package/dist/types/providers/ark.d.ts +1 -0
- package/dist/types/providers/utils.d.ts +1 -0
- package/dist/types/tree/txTree.d.ts +2 -2
- package/package.json +2 -1
|
@@ -13,7 +13,7 @@ export type TxTreeNode = {
|
|
|
13
13
|
* TxTree is a graph of bitcoin transactions.
|
|
14
14
|
* It is used to represent batch tree created during settlement session
|
|
15
15
|
*/
|
|
16
|
-
export declare class TxTree
|
|
16
|
+
export declare class TxTree {
|
|
17
17
|
readonly root: Transaction;
|
|
18
18
|
readonly children: Map<number, TxTree>;
|
|
19
19
|
constructor(root: Transaction, children?: Map<number, TxTree>);
|
|
@@ -24,5 +24,5 @@ export declare class TxTree implements Iterable<TxTree> {
|
|
|
24
24
|
get txid(): string;
|
|
25
25
|
find(txid: string): TxTree | null;
|
|
26
26
|
update(txid: string, fn: (tx: Transaction) => void): void;
|
|
27
|
-
|
|
27
|
+
iterator(): Generator<TxTree, void, unknown>;
|
|
28
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkade-os/sdk",
|
|
3
|
-
"version": "0.3.0-alpha.
|
|
3
|
+
"version": "0.3.0-alpha.2",
|
|
4
4
|
"description": "Bitcoin wallet SDK with Taproot and Ark integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"@types/node": "24.3.1",
|
|
59
59
|
"@vitest/coverage-v8": "3.2.4",
|
|
60
60
|
"esbuild": "^0.25.9",
|
|
61
|
+
"eventsource": "4.0.0",
|
|
61
62
|
"glob": "11.0.3",
|
|
62
63
|
"husky": "9.1.7",
|
|
63
64
|
"prettier": "3.6.2",
|