Skip to content

Commit

Permalink
Merge pull request #104 from ensdomains/fix/plain-node-imports
Browse files Browse the repository at this point in the history
fix: plain node imports
  • Loading branch information
TateB authored Jan 26, 2023
2 parents 5ad498d + 77d509a commit a2f4329
Show file tree
Hide file tree
Showing 34 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion packages/ensjs/src/functions/createSubname.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/functions/getExpiry.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
4 changes: 2 additions & 2 deletions packages/ensjs/src/functions/getOwner.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
4 changes: 2 additions & 2 deletions packages/ensjs/src/functions/getPrice.ts
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/functions/getProfile.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/functions/getWrapperData.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/functions/registerName.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BigNumber } from '@ethersproject/bignumber/lib/bignumber'
import { BigNumber } from '@ethersproject/bignumber'
import { ENSArgs } from '..'
import {
BaseRegistrationParams,
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/functions/renewNames.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/functions/wrapName.ts
Original file line number Diff line number Diff line change
@@ -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 '..'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/generated/factories/Root__factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/static.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
4 changes: 2 additions & 2 deletions packages/ensjs/src/utils/ccip.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { BigNumber } from '@ethersproject/bignumber/lib/bignumber'
import { BigNumber } from '@ethersproject/bignumber'
import {
arrayify,
BytesLike,
hexConcat,
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 {
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/utils/registerHelpers.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/utils/wrapper.ts
Original file line number Diff line number Diff line change
@@ -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'

Expand Down

0 comments on commit a2f4329

Please sign in to comment.