From e1a3e5dd406ce6f0f3533ab6fdc5714cd6c7cdec Mon Sep 17 00:00:00 2001 From: rileystephens28 Date: Wed, 19 Jun 2024 15:42:17 -0500 Subject: [PATCH] Fix some imports not specifying `.js` file extension --- src/providers/format.ts | 2 +- src/transaction/quai-transaction.ts | 2 +- src/wallet/qi-hdwallet.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/providers/format.ts b/src/providers/format.ts index 1192a107..efe72e0c 100644 --- a/src/providers/format.ts +++ b/src/providers/format.ts @@ -4,7 +4,7 @@ import { getAddress } from '../address/index.js'; import { Signature } from '../crypto/index.js'; import { accessListify } from '../transaction/index.js'; -import { hexlify } from '../utils/data'; +import { hexlify } from '../utils/data.js'; import { getBigInt, getNumber, diff --git a/src/transaction/quai-transaction.ts b/src/transaction/quai-transaction.ts index 5e3536d6..77a69794 100644 --- a/src/transaction/quai-transaction.ts +++ b/src/transaction/quai-transaction.ts @@ -19,7 +19,7 @@ import { decodeProtoTransaction, encodeProtoTransaction } from '../encoding/inde import { getAddress, recoverAddress, validateAddress } from '../address/index.js'; import { formatNumber, handleNumber } from '../providers/format.js'; import { ProtoTransaction } from './abstract-transaction.js'; -import { Zone } from '../constants'; +import { Zone } from '../constants/index.js'; /** * @category Transaction diff --git a/src/wallet/qi-hdwallet.ts b/src/wallet/qi-hdwallet.ts index f9c17dcf..84110942 100644 --- a/src/wallet/qi-hdwallet.ts +++ b/src/wallet/qi-hdwallet.ts @@ -1,5 +1,5 @@ -import { AbstractHDWallet, NeuteredAddressInfo, SerializedHDWallet } from './hdwallet'; -import { HDNodeWallet } from './hdnodewallet'; +import { AbstractHDWallet, NeuteredAddressInfo, SerializedHDWallet } from './hdwallet.js'; +import { HDNodeWallet } from './hdnodewallet.js'; import { QiTransactionRequest, Provider, TransactionResponse } from '../providers/index.js'; import { computeAddress } from '../address/index.js'; import { getBytes, hexlify } from '../utils/index.js';