@atomiqlabs/base 13.1.6 → 13.1.7

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.
@@ -203,7 +203,10 @@ export interface SpvVaultContract<TX = any, Signer extends AbstractSigner = Abst
203
203
  * @param startBlockheight
204
204
  */
205
205
  getHistoricalWithdrawalStates?(recipient: string, startBlockheight?: number): Promise<{
206
- [btcTxId: string]: SpvWithdrawalClaimedState | SpvWithdrawalFrontedState;
206
+ withdrawals: {
207
+ [btcTxId: string]: SpvWithdrawalClaimedState | SpvWithdrawalFrontedState;
208
+ };
209
+ latestBlockheight?: number;
207
210
  }>;
208
211
  /**
209
212
  * Parses withdrawal data from the parsed bitcoin transaction
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/base",
3
- "version": "13.1.6",
3
+ "version": "13.1.7",
4
4
  "description": "Base classes and interfaces for atomiq protocol",
5
5
  "main": "./dist/index.js",
6
6
  "types:": "./dist/index.d.ts",
@@ -215,7 +215,10 @@ export interface SpvVaultContract<
215
215
  * @param startBlockheight
216
216
  */
217
217
  getHistoricalWithdrawalStates?(recipient: string, startBlockheight?: number): Promise<{
218
- [btcTxId: string]: SpvWithdrawalClaimedState | SpvWithdrawalFrontedState
218
+ withdrawals: {
219
+ [btcTxId: string]: SpvWithdrawalClaimedState | SpvWithdrawalFrontedState
220
+ },
221
+ latestBlockheight?: number
219
222
  }>;
220
223
 
221
224
  /**