Expose poll function in utils (#512).

This commit is contained in:
Richard Moore 2019-06-05 21:52:09 -04:00
parent 095c1fe579
commit e6f6383346
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295

@ -18,7 +18,7 @@ import { formatBytes32String, parseBytes32String, toUtf8Bytes, toUtf8String } fr
import { computeAddress, parse as parseTransaction, recoverAddress, serialize as serializeTransaction } from "@ethersproject/transactions"; import { computeAddress, parse as parseTransaction, recoverAddress, serialize as serializeTransaction } from "@ethersproject/transactions";
import { commify, formatEther, parseEther, formatUnits, parseUnits } from "@ethersproject/units"; import { commify, formatEther, parseEther, formatUnits, parseUnits } from "@ethersproject/units";
import { verifyMessage } from "@ethersproject/wallet"; import { verifyMessage } from "@ethersproject/wallet";
import { fetchJson } from "@ethersproject/web"; import { fetchJson, poll } from "@ethersproject/web";
//////////////////////// ////////////////////////
// Enums // Enums
@ -50,6 +50,7 @@ export {
RLP, RLP,
fetchJson, fetchJson,
poll,
checkProperties, checkProperties,
deepCopy, deepCopy,