@cryptorubic/web3 1.4.7 → 1.5.0-alpha.pactswap.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptorubic/web3",
3
- "version": "1.4.7",
3
+ "version": "1.5.0-alpha.pactswap.2",
4
4
  "dependencies": {
5
5
  "@ethersproject/bignumber": "^5.8.0",
6
6
  "@mysten/sui": "^1.24.0",
@@ -46,7 +46,7 @@ class BitcoinAdapter extends abstract_adapter_1.AbstractAdapter {
46
46
  }
47
47
  async getPublicKey(userAddress) {
48
48
  try {
49
- const url = `https://api.blockcypher.com/v1/btc/main/addrs/${userAddress}/full`;
49
+ const url = `https://api.blockcypher.com/v1/btc/main/addrs/${userAddress}/full?limit=50`;
50
50
  const response = await this.httpClient.get(url);
51
51
  const txs = response.txs;
52
52
  let publicKey = null;
@@ -66,7 +66,8 @@ class BitcoinAdapter extends abstract_adapter_1.AbstractAdapter {
66
66
  }
67
67
  return publicKey;
68
68
  }
69
- catch {
69
+ catch (err) {
70
+ this.logger?.error(err);
70
71
  return null;
71
72
  }
72
73
  }
@@ -1,4 +1,3 @@
1
- import { ErrorInterface } from '@cryptorubic/core';
2
1
  export interface EvmTransactionConfig {
3
2
  to: string;
4
3
  data: string;
@@ -7,5 +6,4 @@ export interface EvmTransactionConfig {
7
6
  gasPrice?: string;
8
7
  maxFeePerGas?: string;
9
8
  maxPriorityFeePerGas?: string;
10
- warnings?: ErrorInterface[];
11
9
  }