@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.
@@ -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
  */
@@ -45,4 +45,5 @@ export declare class Garden extends EventBroker<GardenEvents> implements IGarden
45
45
  private postRefundSACP;
46
46
  private fetchCurrentBlockNumbers;
47
47
  private filterExpiredAndAssignStatus;
48
+ private broadcastRedeemTx;
48
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gardenfi/core",
3
- "version": "2.0.16",
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.58",
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",