@dodoex/api 3.0.0-beta.2 → 3.0.0-beta.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.
- package/dist/chainConfig/chain.d.ts +2 -1
- package/dist/cjs/chainConfig/chain.d.ts +2 -1
- package/dist/cjs/helper/ContractRequests/index.d.ts +2 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/helper/ContractRequests/index.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import { ChainId } from '../../chainConfig';
|
|
|
5
5
|
import { ABIName } from './abi/abiName';
|
|
6
6
|
import type { Query } from './type';
|
|
7
7
|
import { Interface } from '@ethersproject/abi';
|
|
8
|
+
import { BatchProvider } from './batchProvider';
|
|
8
9
|
import BigNumber from 'bignumber.js';
|
|
9
10
|
export declare const CONTRACT_QUERY_KEY = "contract-query";
|
|
10
11
|
export type { Query } from './type';
|
|
@@ -32,7 +33,7 @@ export default class ContractRequests {
|
|
|
32
33
|
setRpc(rpc: ContractRequestsConfig['rpc']): void;
|
|
33
34
|
setGetConfigProvider(getProvider: ContractRequestsConfig['getProvider']): void;
|
|
34
35
|
getProvider(chainId: number): JsonRpcProvider;
|
|
35
|
-
getBatchProvider(chainId: number):
|
|
36
|
+
getBatchProvider(chainId: number): BatchProvider;
|
|
36
37
|
/**
|
|
37
38
|
* Create ContractRequests of the same configuration.
|
|
38
39
|
* Updating the configuration of the current ContractRequests will also update the created ContractRequests.
|