From b1dbbb0de3f10a3d9e12d6a84ad5c52bea25c7f6 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Fri, 28 Jul 2023 00:34:29 -0400 Subject: [PATCH] Added new exports for FallbackProviderOptions and FetchUrlFeeDataNetworkPlugin (#2828, #4160). --- src.ts/ethers.ts | 7 ++++--- src.ts/providers/index.ts | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src.ts/ethers.ts b/src.ts/ethers.ts index a48d3b0aab..cd148ce623 100644 --- a/src.ts/ethers.ts +++ b/src.ts/ethers.ts @@ -77,8 +77,9 @@ export { EnsResolver, Network, - EnsPlugin, EtherscanPlugin, FeeDataNetworkPlugin, GasCostPlugin, NetworkPlugin, - MulticoinProviderPlugin, + EnsPlugin, EtherscanPlugin, + FeeDataNetworkPlugin, FetchUrlFeeDataNetworkPlugin, + GasCostPlugin, NetworkPlugin, MulticoinProviderPlugin, SocketBlockSubscriber, SocketEventSubscriber, SocketPendingSubscriber, SocketSubscriber, UnmanagedSubscriber, @@ -162,7 +163,7 @@ export type { TypedDataDomain, TypedDataField } from "./hash/index.js"; export type { Provider, Signer, - AbstractProviderOptions, + AbstractProviderOptions, FallbackProviderOptions, AbstractProviderPlugin, BlockParams, BlockTag, ContractRunner, DebugEventBrowserProvider, Eip1193Provider, EventFilter, Filter, FilterByBlockHash, GasCostParameters, diff --git a/src.ts/providers/index.ts b/src.ts/providers/index.ts index 0096b18efb..00e6d79ebb 100644 --- a/src.ts/providers/index.ts +++ b/src.ts/providers/index.ts @@ -40,6 +40,7 @@ export { GasCostPlugin, EnsPlugin, FeeDataNetworkPlugin, + FetchUrlFeeDataNetworkPlugin, } from "./plugins-network.js"; export { @@ -115,6 +116,8 @@ export type { DebugEventBrowserProvider, Eip1193Provider } from "./provider-browser.js"; +export type { FallbackProviderOptions } from "./provider-fallback.js"; + export type { JsonRpcPayload, JsonRpcResult, JsonRpcError, JsonRpcApiProviderOptions,