From 77d509ae33e69419799a127da3cb7972f7eb20f7 Mon Sep 17 00:00:00 2001 From: tate Date: Fri, 27 Jan 2023 09:28:46 +1100 Subject: [PATCH] fix plain node imports --- packages/ensjs/src/functions/createSubname.ts | 2 +- packages/ensjs/src/functions/getExpiry.ts | 2 +- packages/ensjs/src/functions/getOwner.ts | 4 ++-- packages/ensjs/src/functions/getPrice.ts | 4 ++-- packages/ensjs/src/functions/getProfile.ts | 2 +- packages/ensjs/src/functions/getWrapperData.ts | 2 +- packages/ensjs/src/functions/registerName.ts | 2 +- packages/ensjs/src/functions/renewNames.ts | 2 +- packages/ensjs/src/functions/wrapName.ts | 2 +- .../factories/BaseRegistrarImplementation__factory.ts | 2 +- .../ensjs/src/generated/factories/BulkRenewal__factory.ts | 2 +- .../ensjs/src/generated/factories/DNSRegistrar__factory.ts | 2 +- packages/ensjs/src/generated/factories/DNSSECImpl__factory.ts | 2 +- .../generated/factories/DefaultReverseResolver__factory.ts | 2 +- .../ensjs/src/generated/factories/ENSRegistry__factory.ts | 2 +- .../generated/factories/ETHRegistrarController__factory.ts | 2 +- packages/ensjs/src/generated/factories/Multicall__factory.ts | 2 +- .../ensjs/src/generated/factories/NameWrapper__factory.ts | 2 +- .../src/generated/factories/P256SHA256Algorithm__factory.ts | 2 +- .../ensjs/src/generated/factories/PublicResolver__factory.ts | 2 +- .../src/generated/factories/RSASHA1Algorithm__factory.ts | 2 +- .../src/generated/factories/RSASHA256Algorithm__factory.ts | 2 +- .../src/generated/factories/ReverseRegistrar__factory.ts | 2 +- packages/ensjs/src/generated/factories/Root__factory.ts | 2 +- packages/ensjs/src/generated/factories/SHA1Digest__factory.ts | 2 +- .../ensjs/src/generated/factories/SHA1NSEC3Digest__factory.ts | 2 +- .../ensjs/src/generated/factories/SHA256Digest__factory.ts | 2 +- .../src/generated/factories/StaticMetadataService__factory.ts | 2 +- .../src/generated/factories/TLDPublicSuffixList__factory.ts | 2 +- .../src/generated/factories/UniversalResolver__factory.ts | 2 +- packages/ensjs/src/static.ts | 2 +- packages/ensjs/src/utils/ccip.ts | 4 ++-- packages/ensjs/src/utils/registerHelpers.ts | 2 +- packages/ensjs/src/utils/wrapper.ts | 2 +- 34 files changed, 37 insertions(+), 37 deletions(-) diff --git a/packages/ensjs/src/functions/createSubname.ts b/packages/ensjs/src/functions/createSubname.ts index a0851118..8af5c6f1 100644 --- a/packages/ensjs/src/functions/createSubname.ts +++ b/packages/ensjs/src/functions/createSubname.ts @@ -1,4 +1,4 @@ -import { BigNumber } from '@ethersproject/bignumber/lib/bignumber' +import { BigNumber } from '@ethersproject/bignumber' import { keccak256 as solidityKeccak256 } from '@ethersproject/solidity' import { ENSArgs } from '..' import { CombinedFuseInput, encodeFuses } from '../utils/fuses' diff --git a/packages/ensjs/src/functions/getExpiry.ts b/packages/ensjs/src/functions/getExpiry.ts index 288d67d4..63937426 100644 --- a/packages/ensjs/src/functions/getExpiry.ts +++ b/packages/ensjs/src/functions/getExpiry.ts @@ -1,4 +1,4 @@ -import { BigNumber } from '@ethersproject/bignumber/lib/bignumber' +import { BigNumber } from '@ethersproject/bignumber' import { keccak256 as solidityKeccak256 } from '@ethersproject/solidity' import { ENSArgs } from '..' import { namehash } from '../utils/normalise' diff --git a/packages/ensjs/src/functions/getOwner.ts b/packages/ensjs/src/functions/getOwner.ts index be2cd308..b209052c 100644 --- a/packages/ensjs/src/functions/getOwner.ts +++ b/packages/ensjs/src/functions/getOwner.ts @@ -1,5 +1,5 @@ -import { defaultAbiCoder } from '@ethersproject/abi/lib/abi-coder' -import type { Result } from '@ethersproject/abi/lib/coders/abstract-coder' +import type { Result } from '@ethersproject/abi' +import { defaultAbiCoder } from '@ethersproject/abi' import { hexStripZeros } from '@ethersproject/bytes' import { ENSArgs } from '..' import { labelhash } from '../utils/labels' diff --git a/packages/ensjs/src/functions/getPrice.ts b/packages/ensjs/src/functions/getPrice.ts index 295cd1f4..613748bb 100644 --- a/packages/ensjs/src/functions/getPrice.ts +++ b/packages/ensjs/src/functions/getPrice.ts @@ -1,5 +1,5 @@ -import { defaultAbiCoder } from '@ethersproject/abi/lib/abi-coder' -import { BigNumber } from '@ethersproject/bignumber/lib/bignumber' +import { defaultAbiCoder } from '@ethersproject/abi' +import { BigNumber } from '@ethersproject/bignumber' import { ENSArgs } from '..' const raw = async ( diff --git a/packages/ensjs/src/functions/getProfile.ts b/packages/ensjs/src/functions/getProfile.ts index c6d6fdd0..a9e40a81 100644 --- a/packages/ensjs/src/functions/getProfile.ts +++ b/packages/ensjs/src/functions/getProfile.ts @@ -1,5 +1,5 @@ import { formatsByName } from '@ensdomains/address-encoder' -import { defaultAbiCoder } from '@ethersproject/abi/lib/abi-coder' +import { defaultAbiCoder } from '@ethersproject/abi' import { hexStripZeros, isBytesLike } from '@ethersproject/bytes' import { ENSArgs } from '..' import { decodeContenthash, DecodedContentHash } from '../utils/contentHash' diff --git a/packages/ensjs/src/functions/getWrapperData.ts b/packages/ensjs/src/functions/getWrapperData.ts index d68e5977..75b84ff8 100644 --- a/packages/ensjs/src/functions/getWrapperData.ts +++ b/packages/ensjs/src/functions/getWrapperData.ts @@ -1,4 +1,4 @@ -import { BigNumber } from '@ethersproject/bignumber/lib/bignumber' +import { BigNumber } from '@ethersproject/bignumber' import { ENSArgs } from '../index' import { decodeFuses } from '../utils/fuses' import { namehash } from '../utils/normalise' diff --git a/packages/ensjs/src/functions/registerName.ts b/packages/ensjs/src/functions/registerName.ts index c55c41f5..b759e827 100644 --- a/packages/ensjs/src/functions/registerName.ts +++ b/packages/ensjs/src/functions/registerName.ts @@ -1,4 +1,4 @@ -import { BigNumber } from '@ethersproject/bignumber/lib/bignumber' +import { BigNumber } from '@ethersproject/bignumber' import { ENSArgs } from '..' import { BaseRegistrationParams, diff --git a/packages/ensjs/src/functions/renewNames.ts b/packages/ensjs/src/functions/renewNames.ts index fea3416c..a33ff88d 100644 --- a/packages/ensjs/src/functions/renewNames.ts +++ b/packages/ensjs/src/functions/renewNames.ts @@ -1,4 +1,4 @@ -import { BigNumber, BigNumberish } from '@ethersproject/bignumber/lib/bignumber' +import { BigNumber, BigNumberish } from '@ethersproject/bignumber' import { ENSArgs } from '..' import { MAX_INT_64 } from '../utils/consts' import { labelhash } from '../utils/labels' diff --git a/packages/ensjs/src/functions/wrapName.ts b/packages/ensjs/src/functions/wrapName.ts index 16a1ae74..dd34b556 100644 --- a/packages/ensjs/src/functions/wrapName.ts +++ b/packages/ensjs/src/functions/wrapName.ts @@ -1,4 +1,4 @@ -import { defaultAbiCoder } from '@ethersproject/abi/lib/abi-coder' +import { defaultAbiCoder } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { keccak256 as solidityKeccak256 } from '@ethersproject/solidity' import { ENSArgs } from '..' diff --git a/packages/ensjs/src/generated/factories/BaseRegistrarImplementation__factory.ts b/packages/ensjs/src/generated/factories/BaseRegistrarImplementation__factory.ts index 6f3418d8..55fc54b7 100644 --- a/packages/ensjs/src/generated/factories/BaseRegistrarImplementation__factory.ts +++ b/packages/ensjs/src/generated/factories/BaseRegistrarImplementation__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/BulkRenewal__factory.ts b/packages/ensjs/src/generated/factories/BulkRenewal__factory.ts index a1f4959b..95a839a9 100644 --- a/packages/ensjs/src/generated/factories/BulkRenewal__factory.ts +++ b/packages/ensjs/src/generated/factories/BulkRenewal__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/DNSRegistrar__factory.ts b/packages/ensjs/src/generated/factories/DNSRegistrar__factory.ts index 0a764b04..966f06ac 100644 --- a/packages/ensjs/src/generated/factories/DNSRegistrar__factory.ts +++ b/packages/ensjs/src/generated/factories/DNSRegistrar__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/DNSSECImpl__factory.ts b/packages/ensjs/src/generated/factories/DNSSECImpl__factory.ts index 41a580bb..e690f9f9 100644 --- a/packages/ensjs/src/generated/factories/DNSSECImpl__factory.ts +++ b/packages/ensjs/src/generated/factories/DNSSECImpl__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/DefaultReverseResolver__factory.ts b/packages/ensjs/src/generated/factories/DefaultReverseResolver__factory.ts index e02cfc01..f4a12e45 100644 --- a/packages/ensjs/src/generated/factories/DefaultReverseResolver__factory.ts +++ b/packages/ensjs/src/generated/factories/DefaultReverseResolver__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/ENSRegistry__factory.ts b/packages/ensjs/src/generated/factories/ENSRegistry__factory.ts index 096159e3..5a7aa3ab 100644 --- a/packages/ensjs/src/generated/factories/ENSRegistry__factory.ts +++ b/packages/ensjs/src/generated/factories/ENSRegistry__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/ETHRegistrarController__factory.ts b/packages/ensjs/src/generated/factories/ETHRegistrarController__factory.ts index a66aa03c..6e95bd93 100644 --- a/packages/ensjs/src/generated/factories/ETHRegistrarController__factory.ts +++ b/packages/ensjs/src/generated/factories/ETHRegistrarController__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/Multicall__factory.ts b/packages/ensjs/src/generated/factories/Multicall__factory.ts index 0c44bdc8..c53db775 100644 --- a/packages/ensjs/src/generated/factories/Multicall__factory.ts +++ b/packages/ensjs/src/generated/factories/Multicall__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/NameWrapper__factory.ts b/packages/ensjs/src/generated/factories/NameWrapper__factory.ts index b4b3d3dd..97cfef8b 100644 --- a/packages/ensjs/src/generated/factories/NameWrapper__factory.ts +++ b/packages/ensjs/src/generated/factories/NameWrapper__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/P256SHA256Algorithm__factory.ts b/packages/ensjs/src/generated/factories/P256SHA256Algorithm__factory.ts index 902185fd..cd9bca38 100644 --- a/packages/ensjs/src/generated/factories/P256SHA256Algorithm__factory.ts +++ b/packages/ensjs/src/generated/factories/P256SHA256Algorithm__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/PublicResolver__factory.ts b/packages/ensjs/src/generated/factories/PublicResolver__factory.ts index 56a47cb9..77b318e7 100644 --- a/packages/ensjs/src/generated/factories/PublicResolver__factory.ts +++ b/packages/ensjs/src/generated/factories/PublicResolver__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/RSASHA1Algorithm__factory.ts b/packages/ensjs/src/generated/factories/RSASHA1Algorithm__factory.ts index 7d89dc12..09576e4c 100644 --- a/packages/ensjs/src/generated/factories/RSASHA1Algorithm__factory.ts +++ b/packages/ensjs/src/generated/factories/RSASHA1Algorithm__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/RSASHA256Algorithm__factory.ts b/packages/ensjs/src/generated/factories/RSASHA256Algorithm__factory.ts index 48023863..b734f41a 100644 --- a/packages/ensjs/src/generated/factories/RSASHA256Algorithm__factory.ts +++ b/packages/ensjs/src/generated/factories/RSASHA256Algorithm__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/ReverseRegistrar__factory.ts b/packages/ensjs/src/generated/factories/ReverseRegistrar__factory.ts index 2cbfc221..c5fdaf1e 100644 --- a/packages/ensjs/src/generated/factories/ReverseRegistrar__factory.ts +++ b/packages/ensjs/src/generated/factories/ReverseRegistrar__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/Root__factory.ts b/packages/ensjs/src/generated/factories/Root__factory.ts index c22e610d..90ae2d4d 100644 --- a/packages/ensjs/src/generated/factories/Root__factory.ts +++ b/packages/ensjs/src/generated/factories/Root__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/SHA1Digest__factory.ts b/packages/ensjs/src/generated/factories/SHA1Digest__factory.ts index fc099f3d..1c3b5958 100644 --- a/packages/ensjs/src/generated/factories/SHA1Digest__factory.ts +++ b/packages/ensjs/src/generated/factories/SHA1Digest__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/SHA1NSEC3Digest__factory.ts b/packages/ensjs/src/generated/factories/SHA1NSEC3Digest__factory.ts index 56b9cddf..837c6f2c 100644 --- a/packages/ensjs/src/generated/factories/SHA1NSEC3Digest__factory.ts +++ b/packages/ensjs/src/generated/factories/SHA1NSEC3Digest__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/SHA256Digest__factory.ts b/packages/ensjs/src/generated/factories/SHA256Digest__factory.ts index 0f151893..1506ac10 100644 --- a/packages/ensjs/src/generated/factories/SHA256Digest__factory.ts +++ b/packages/ensjs/src/generated/factories/SHA256Digest__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/StaticMetadataService__factory.ts b/packages/ensjs/src/generated/factories/StaticMetadataService__factory.ts index 162c649f..431896ed 100644 --- a/packages/ensjs/src/generated/factories/StaticMetadataService__factory.ts +++ b/packages/ensjs/src/generated/factories/StaticMetadataService__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/TLDPublicSuffixList__factory.ts b/packages/ensjs/src/generated/factories/TLDPublicSuffixList__factory.ts index 7fee015f..0055741c 100644 --- a/packages/ensjs/src/generated/factories/TLDPublicSuffixList__factory.ts +++ b/packages/ensjs/src/generated/factories/TLDPublicSuffixList__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/generated/factories/UniversalResolver__factory.ts b/packages/ensjs/src/generated/factories/UniversalResolver__factory.ts index 213a5923..a2c75cdd 100644 --- a/packages/ensjs/src/generated/factories/UniversalResolver__factory.ts +++ b/packages/ensjs/src/generated/factories/UniversalResolver__factory.ts @@ -2,7 +2,7 @@ /* tslint:disable */ /* eslint-disable */ -import { Interface } from '@ethersproject/abi/lib/interface' +import { Interface } from '@ethersproject/abi' import { Signer } from '@ethersproject/abstract-signer' import { Contract } from '@ethersproject/contracts' import type { Provider } from '@ethersproject/providers' diff --git a/packages/ensjs/src/static.ts b/packages/ensjs/src/static.ts index 7044890a..2674da3e 100644 --- a/packages/ensjs/src/static.ts +++ b/packages/ensjs/src/static.ts @@ -1,4 +1,4 @@ -import type { StaticJsonRpcProvider } from '@ethersproject/providers/lib/url-json-rpc-provider' +import type { StaticJsonRpcProvider } from '@ethersproject/providers' import { gql, GraphQLClient } from 'graphql-request' import { parse, print, visit } from 'graphql/language' import traverse from 'traverse' diff --git a/packages/ensjs/src/utils/ccip.ts b/packages/ensjs/src/utils/ccip.ts index 882b407a..5e1156ab 100644 --- a/packages/ensjs/src/utils/ccip.ts +++ b/packages/ensjs/src/utils/ccip.ts @@ -1,4 +1,4 @@ -import { BigNumber } from '@ethersproject/bignumber/lib/bignumber' +import { BigNumber } from '@ethersproject/bignumber' import { arrayify, BytesLike, @@ -6,7 +6,7 @@ import { hexDataSlice, } from '@ethersproject/bytes' import type { BaseProvider, TransactionRequest } from '@ethersproject/providers' -import { toUtf8String } from '@ethersproject/strings/lib/utf8' +import { toUtf8String } from '@ethersproject/strings' import type { Transaction } from '@ethersproject/transactions' function bytesPad(value: Uint8Array): Uint8Array { diff --git a/packages/ensjs/src/utils/registerHelpers.ts b/packages/ensjs/src/utils/registerHelpers.ts index 3d0dbdd5..447bd4d8 100644 --- a/packages/ensjs/src/utils/registerHelpers.ts +++ b/packages/ensjs/src/utils/registerHelpers.ts @@ -1,4 +1,4 @@ -import { defaultAbiCoder } from '@ethersproject/abi/lib/abi-coder' +import { defaultAbiCoder } from '@ethersproject/abi' import { keccak256 } from '@ethersproject/keccak256' import type { PublicResolver } from '../generated' import { CombinedFuseInput, encodeFuses, hasFuses } from './fuses' diff --git a/packages/ensjs/src/utils/wrapper.ts b/packages/ensjs/src/utils/wrapper.ts index 36fb2bf6..952a2dd4 100644 --- a/packages/ensjs/src/utils/wrapper.ts +++ b/packages/ensjs/src/utils/wrapper.ts @@ -1,4 +1,4 @@ -import { BigNumber } from '@ethersproject/bignumber/lib/bignumber' +import { BigNumber } from '@ethersproject/bignumber' import { toUtf8Bytes } from '@ethersproject/strings' import { ENSArgs } from '../index'