@cryptorubic/web3 0.8.17-alpha.solana.6 → 0.8.17-alpha.solana.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.
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptorubic/web3",
|
|
3
|
-
"version": "0.8.17-alpha.solana.
|
|
3
|
+
"version": "0.8.17-alpha.solana.7",
|
|
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
|
+
"@cryptorubic/core": "0.8.17-alpha.solana.7",
|
|
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.
|
|
14
|
+
"@cryptorubic/tron-types": "0.8.17-alpha.solana.7",
|
|
15
15
|
"bitcoin-address-validation": "^2.2.3",
|
|
16
16
|
"axios": "0.27.2",
|
|
17
17
|
"crc-32": "^1.2.2",
|
|
@@ -11,7 +11,7 @@ export declare const NATIVE_SOLANA_MINT_ADDRESS = "So111111111111111111111111111
|
|
|
11
11
|
export declare const DEFAULT_CU_LIMIT = 600000;
|
|
12
12
|
export declare class SolanaAdapter extends AbstractAdapter<Connection, Connection, SolanaBlockchainName> {
|
|
13
13
|
private readonly httpClient;
|
|
14
|
-
readonly
|
|
14
|
+
readonly gasService: SolanaGasService;
|
|
15
15
|
constructor(rpcList: string[], httpClient: HttpClient, solanaConfig: SolanaAdapterConfig, logger?: ICustomLogger);
|
|
16
16
|
private createPublicClient;
|
|
17
17
|
read<T>(_address: string, _abi: Abi, _method: string, _methodArgs?: unknown[]): Promise<T>;
|
|
@@ -18,7 +18,7 @@ class SolanaAdapter extends abstract_adapter_1.AbstractAdapter {
|
|
|
18
18
|
super(core_1.BLOCKCHAIN_NAME.SOLANA, logger);
|
|
19
19
|
this.httpClient = httpClient;
|
|
20
20
|
this.public = this.createPublicClient(rpcList);
|
|
21
|
-
this.
|
|
21
|
+
this.gasService = new solana_gas_service_1.SolanaGasService(httpClient, this.public, solanaConfig);
|
|
22
22
|
}
|
|
23
23
|
createPublicClient(rpcList) {
|
|
24
24
|
if (!rpcList?.[0]) {
|