From e6f6383346818fa67423f1f20450e011242eb554 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Wed, 5 Jun 2019 21:52:09 -0400 Subject: [PATCH] Expose poll function in utils (#512). --- packages/ethers/src.ts/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ethers/src.ts/utils.ts b/packages/ethers/src.ts/utils.ts index b6429269fd..68f3030d3d 100644 --- a/packages/ethers/src.ts/utils.ts +++ b/packages/ethers/src.ts/utils.ts @@ -18,7 +18,7 @@ import { formatBytes32String, parseBytes32String, toUtf8Bytes, toUtf8String } fr import { computeAddress, parse as parseTransaction, recoverAddress, serialize as serializeTransaction } from "@ethersproject/transactions"; import { commify, formatEther, parseEther, formatUnits, parseUnits } from "@ethersproject/units"; import { verifyMessage } from "@ethersproject/wallet"; -import { fetchJson } from "@ethersproject/web"; +import { fetchJson, poll } from "@ethersproject/web"; //////////////////////// // Enums @@ -50,6 +50,7 @@ export { RLP, fetchJson, + poll, checkProperties, deepCopy,