@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.
@@ -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 implements Iterable<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
- [Symbol.iterator](): IterableIterator<TxTree>;
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.1",
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",