From 1f2318a34a224fc7e4c63fae1c680e1af14895ec Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Thu, 29 Sep 2022 21:56:40 -0400 Subject: [PATCH] Fix some root exports. --- src.ts/ethers.ts | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src.ts/ethers.ts b/src.ts/ethers.ts index cf4c6128e..0811324bf 100644 --- a/src.ts/ethers.ts +++ b/src.ts/ethers.ts @@ -53,6 +53,19 @@ export { TypedDataEncoder } from "./hash/index.js"; +export { + AbstractProvider, + + FallbackProvider, + JsonRpcApiProvider, JsonRpcProvider, JsonRpcSigner, + + AlchemyProvider, AnkrProvider, CloudflareProvider, EtherscanProvider, InfuraProvider, + //PocketProvider } from "./provider-pocket.js"; + + IpcSocketProvider, SocketProvider, WebSocketProvider, + + Network +} from "./providers/index.js"; export { accessListify, @@ -115,18 +128,8 @@ export type { ProgressCallback, SignatureLike } from "./crypto/index.js"; export type { TypedDataDomain, TypedDataField } from "./hash/index.js"; -export { - AbstractProvider, - - FallbackProvider, - JsonRpcApiProvider, JsonRpcProvider, JsonRpcSigner, - - AlchemyProvider, AnkrProvider, CloudflareProvider, EtherscanProvider, InfuraProvider, - //PocketProvider } from "./provider-pocket.js"; - - IpcSocketProvider, SocketProvider, WebSocketProvider, - - Network +export type { + Provider } from "./providers/index.js"; export type {