@wireio/stake 2.4.2 → 2.4.3

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.
@@ -16990,7 +16990,7 @@ const _SolanaStakingClient = class _SolanaStakingClient {
16990
16990
  }
16991
16991
  async getPendingWithdraws(address) {
16992
16992
  this.ensureUser();
16993
- const owner = address ?? this.squadsVaultPDA ?? this.anchor.wallet.publicKey;
16993
+ const owner = address ? new PublicKey(address) : this.squadsVaultPDA ?? this.anchor.wallet.publicKey;
16994
16994
  return await this.convertClient.fetchWithdrawReceipts(owner);
16995
16995
  }
16996
16996
  async claimWithdraw(tokenId) {
@@ -42700,10 +42700,10 @@ class EthereumStakingClient {
42700
42700
  const result = await this.convertClient.performWithdraw(address, amountWei);
42701
42701
  return result.txHash;
42702
42702
  }
42703
- async getPendingWithdraws() {
42703
+ async getPendingWithdraws(address) {
42704
42704
  this.ensureUser();
42705
- const address = await this.address;
42706
- return await this.receiptClient.fetchWithdrawReceipts(address);
42705
+ const owner = address ?? await this.address;
42706
+ return await this.receiptClient.fetchWithdrawReceipts(owner);
42707
42707
  }
42708
42708
  async claimWithdraw(tokenId) {
42709
42709
  this.ensureUser();