@cryptorubic/web3 0.3.7 → 0.3.8-id-990
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,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptorubic/web3",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8-id-990",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.3.0",
|
|
6
6
|
"bignumber.js": "9.1.2",
|
|
7
|
-
"@cryptorubic/core": "0.3.
|
|
7
|
+
"@cryptorubic/core": "0.3.8-id-990",
|
|
8
|
+
"viem": "^2.19.1",
|
|
8
9
|
"web3-utils": "^4.3.1",
|
|
9
10
|
"@ton/ton": "^15.1.0",
|
|
10
11
|
"@solana/web3.js": "1.95.3",
|
|
11
12
|
"@solflare-wallet/utl-sdk": "^1.4.0",
|
|
12
13
|
"@ethersproject/bignumber": "^5.7.0",
|
|
13
|
-
"@cryptorubic/tron-types": "0.3.
|
|
14
|
+
"@cryptorubic/tron-types": "0.3.8-id-990",
|
|
14
15
|
"bitcoin-address-validation": "^2.2.3",
|
|
15
16
|
"axios": "0.27.2",
|
|
16
17
|
"crc-32": "^1.2.2",
|
|
@@ -364,13 +364,13 @@ class EvmAdapter extends abstract_adapter_1.AbstractAdapter {
|
|
|
364
364
|
const isError = !response.ok ||
|
|
365
365
|
'error' in response ||
|
|
366
366
|
possible_errors_1.possibleErrors.some((error) => body.includes(error));
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
367
|
+
if (isError) {
|
|
368
|
+
this.logger?.customError('Rpc fetch error', {
|
|
369
|
+
blockchain: this.blockchain,
|
|
370
|
+
text: await response.text(),
|
|
371
|
+
url: response.url,
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
exports.EvmAdapter = EvmAdapter;
|