@cryptorubic/web3 0.8.17-alpha.solana.7 → 0.8.17-alpha.solana.8

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,17 +1,17 @@
1
1
  {
2
2
  "name": "@cryptorubic/web3",
3
- "version": "0.8.17-alpha.solana.7",
3
+ "version": "v0.8.17-alpha.solana.8",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0",
6
6
  "bignumber.js": "9.1.2",
7
- "@cryptorubic/core": "0.8.17-alpha.solana.7",
7
+ "@cryptorubic/core": "v0.8.17-alpha.solana.8",
8
8
  "viem": "^2.19.1",
9
9
  "web3-utils": "^4.3.1",
10
10
  "@ton/ton": "^15.1.0",
11
11
  "@solana/web3.js": "1.95.3",
12
12
  "@solflare-wallet/utl-sdk": "^1.4.0",
13
13
  "@ethersproject/bignumber": "^5.7.0",
14
- "@cryptorubic/tron-types": "0.8.17-alpha.solana.7",
14
+ "@cryptorubic/tron-types": "v0.8.17-alpha.solana.8",
15
15
  "bitcoin-address-validation": "^2.2.3",
16
16
  "axios": "0.27.2",
17
17
  "crc-32": "^1.2.2",
@@ -43,6 +43,7 @@ class EvmAdapter extends abstract_adapter_1.AbstractAdapter {
43
43
  timeout: 5_000
44
44
  }));
45
45
  const chain = viem_blockchain_mapping_1.viemBlockchainMapping[this.blockchain];
46
+ // @ts-ignore
46
47
  return (0, viem_1.createPublicClient)({
47
48
  // @ts-ignore
48
49
  chain,
@@ -80,7 +81,8 @@ class EvmAdapter extends abstract_adapter_1.AbstractAdapter {
80
81
  to: to,
81
82
  value: (0, viem_1.parseEther)(value),
82
83
  data: data,
83
- chain: this.public.chain
84
+ chain: this.public.chain,
85
+ kzg: undefined
84
86
  });
85
87
  return result;
86
88
  }
@@ -36,6 +36,7 @@ class SolanaGasService {
36
36
  if (!this.HELIUS_API_KEY) {
37
37
  console.warn('[SolanaApiService_getConsumedUnitsPrice] heliusApiKey is not provided in "createFactory"');
38
38
  }
39
+ // @ts-ignore
39
40
  const cuPrice = await Promise.any([this.calculateCUPriceHelius(txData), this.calculateCUPriceSolWeb3()]);
40
41
  return cuPrice;
41
42
  }