@sentio/runtime 4.0.0-rc.8 → 4.0.0-rc.9
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/lib/index.d.ts +1 -14
- package/lib/index.js +31 -21287
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +0 -1
- package/src/multicall.ts +0 -1605
- package/src/provider.ts +0 -195
package/lib/index.d.ts
CHANGED
|
@@ -7,9 +7,6 @@ import { MessageInitShape } from '@bufbuild/protobuf';
|
|
|
7
7
|
import { ServiceImpl, HandlerContext } from '@connectrpc/connect';
|
|
8
8
|
import { Subject } from 'rxjs';
|
|
9
9
|
import { Command } from '@commander-js/extra-typings';
|
|
10
|
-
import { JsonRpcProvider, Network } from 'ethers';
|
|
11
|
-
import PQueue from 'p-queue';
|
|
12
|
-
import { EthChainId } from '@sentio/chain';
|
|
13
10
|
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
14
11
|
import { Counter, Attributes, Gauge, Histogram } from '@opentelemetry/api';
|
|
15
12
|
|
|
@@ -1600,16 +1597,6 @@ interface GlobalConfig {
|
|
|
1600
1597
|
}
|
|
1601
1598
|
declare const GLOBAL_CONFIG: GlobalConfig;
|
|
1602
1599
|
|
|
1603
|
-
declare const DummyProvider: JsonRpcProvider;
|
|
1604
|
-
declare function getProvider(chainId?: EthChainId): JsonRpcProvider;
|
|
1605
|
-
declare class QueuedStaticJsonRpcProvider extends JsonRpcProvider {
|
|
1606
|
-
#private;
|
|
1607
|
-
executor: PQueue;
|
|
1608
|
-
constructor(url: string, network: Network, concurrency: number, batchCount?: number);
|
|
1609
|
-
send(method: string, params: Array<any>): Promise<any>;
|
|
1610
|
-
toString(): string;
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
1600
|
declare class C {
|
|
1614
1601
|
private name;
|
|
1615
1602
|
private _counter;
|
|
@@ -1760,4 +1747,4 @@ declare const processMetrics: {
|
|
|
1760
1747
|
};
|
|
1761
1748
|
declare const metricsStorage: AsyncLocalStorage<string>;
|
|
1762
1749
|
|
|
1763
|
-
export { type ChainConfig, type ChainRpc,
|
|
1750
|
+
export { type ChainConfig, type ChainRpc, Endpoints, GLOBAL_CONFIG, type GlobalConfig, ListStateStorage, MapStateStorage, ProcessorServiceImplV3, type RpcConfig, type Semver, State, StateStorage, USER_PROCESSOR, compareSemver, configureEndpoints, dbMetrics, errorString, locatePackageJson, makeEthCallKey, mergeProcessResults, mergeProcessResultsInPlace, metricsStorage, parseSemver, processMetrics, providerMetrics, recordRuntimeInfo };
|