From 1370ebd263af18b3292a2e7d7aa7da2edad7df6b Mon Sep 17 00:00:00 2001 From: ethella Date: Fri, 7 Jul 2023 15:59:38 -0700 Subject: [PATCH] * add file extension --- src/utils/ec-recover.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/ec-recover.ts b/src/utils/ec-recover.ts index e50db51..44fdb73 100644 --- a/src/utils/ec-recover.ts +++ b/src/utils/ec-recover.ts @@ -1,6 +1,6 @@ -import { keccak256 } from 'ethereum-cryptography/keccak'; -import { ecdsaRecover, publicKeyConvert } from 'ethereum-cryptography/secp256k1-compat'; -import { utf8ToBytes, bytesToHex, hexToBytes } from 'ethereum-cryptography/utils'; +import { keccak256 } from 'ethereum-cryptography/keccak.js'; +import { ecdsaRecover, publicKeyConvert } from 'ethereum-cryptography/secp256k1-compat.js'; +import { utf8ToBytes, bytesToHex, hexToBytes } from 'ethereum-cryptography/utils.js'; function hashPersonalMessage(message: Uint8Array): Uint8Array { const prefix = utf8ToBytes(`\u0019Ethereum Signed Message:\n${message.length}`);