@omnity/ree-client-ts-sdk 0.5.8 → 0.6.0
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/index.cjs.js +6 -6
- package/dist/index.d.ts +7 -0
- package/dist/index.es.js +128 -124
- package/dist/react.d.ts +7 -0
- package/package.json +7 -2
- package/patches/runelib+1.0.7.patch +857 -0
package/dist/react.d.ts
CHANGED
|
@@ -353,6 +353,12 @@ export declare interface RuneInfo {
|
|
|
353
353
|
|
|
354
354
|
declare function toBitcoinNetwork(network: Network): bitcoin.networks.Network;
|
|
355
355
|
|
|
356
|
+
declare type ToSignInput = {
|
|
357
|
+
publicKey?: string;
|
|
358
|
+
address?: string;
|
|
359
|
+
index: number;
|
|
360
|
+
};
|
|
361
|
+
|
|
356
362
|
/**
|
|
357
363
|
* Transaction builder for Bitcoin and Rune transactions
|
|
358
364
|
* Handles PSBT creation, UTXO selection, and fee calculation
|
|
@@ -521,6 +527,7 @@ declare class Transaction {
|
|
|
521
527
|
psbt: bitcoin.Psbt;
|
|
522
528
|
txid: string;
|
|
523
529
|
fee: bigint;
|
|
530
|
+
toSignInputs: ToSignInput[];
|
|
524
531
|
}>;
|
|
525
532
|
private static estimateTxVirtualSize;
|
|
526
533
|
private static parseAddressType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnity/ree-client-ts-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "A TypeScript SDK for interacting with the Ree protocol on Bitcoin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bitcoin",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"dist",
|
|
25
|
+
"patches",
|
|
25
26
|
"README.md",
|
|
26
27
|
"LICENSE"
|
|
27
28
|
],
|
|
@@ -42,7 +43,9 @@
|
|
|
42
43
|
},
|
|
43
44
|
"typesVersions": {
|
|
44
45
|
"*": {
|
|
45
|
-
"react": [
|
|
46
|
+
"react": [
|
|
47
|
+
"./dist/react.d.ts"
|
|
48
|
+
]
|
|
46
49
|
}
|
|
47
50
|
},
|
|
48
51
|
"peerDependencies": {
|
|
@@ -64,6 +67,7 @@
|
|
|
64
67
|
"test": "vitest",
|
|
65
68
|
"test:ui": "vitest --ui",
|
|
66
69
|
"coverage": "vitest run --coverage",
|
|
70
|
+
"postinstall": "patch-package",
|
|
67
71
|
"prepublishOnly": "npm run test && npm run build",
|
|
68
72
|
"publish:beta": "npm publish --tag beta",
|
|
69
73
|
"publish:latest": "npm publish"
|
|
@@ -77,6 +81,7 @@
|
|
|
77
81
|
"bitcoinjs-lib": "^7.0.0-rc.0",
|
|
78
82
|
"buffer": "^6.0.3",
|
|
79
83
|
"jsdom": "^23.0.0",
|
|
84
|
+
"patch-package": "^8.0.1",
|
|
80
85
|
"process": "^0.11.10",
|
|
81
86
|
"react": "^18.3.1",
|
|
82
87
|
"react-dom": "^18.3.1",
|