@gardenfi/core 2.0.16 → 2.0.18
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 +12 -12
- package/dist/index.js +1461 -1383
- package/dist/src/lib/bitcoin/htlc.d.ts +1 -0
- package/dist/src/lib/garden/garden.d.ts +1 -0
- package/package.json +2 -2
|
@@ -80,6 +80,7 @@ export declare class GardenHTLC implements IHTLCWallet {
|
|
|
80
80
|
* Reveals the secret and redeems the HTLC
|
|
81
81
|
*/
|
|
82
82
|
redeem(secret: string, receiver?: string): Promise<string>;
|
|
83
|
+
getRedeemHex(secret: string, receiver?: string): Promise<string>;
|
|
83
84
|
/**
|
|
84
85
|
* Refunds the funds back to the initiator if the expiry block height + 1 is reached
|
|
85
86
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gardenfi/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"registry": "https://registry.npmjs.org/"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@catalogfi/wallets": "^0.2.
|
|
29
|
+
"@catalogfi/wallets": "^0.2.59",
|
|
30
30
|
"@gardenfi/orderbook": "^2.0.4",
|
|
31
31
|
"@gardenfi/utils": "^2.0.1",
|
|
32
32
|
"bignumber.js": "^9.1.2",
|