From 3525548be5b107f6b9bd3f88fcc67bd0c92e817a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 11 Feb 2026 16:09:41 -0800 Subject: fix imports --- src/lib/nip44.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/lib/nip44.ts') diff --git a/src/lib/nip44.ts b/src/lib/nip44.ts index 313d6f6b..4583c27a 100644 --- a/src/lib/nip44.ts +++ b/src/lib/nip44.ts @@ -2,13 +2,13 @@ // https://github.com/paulmillr/nip44/blob/main/javascript/index.ts // Modified slightly to deal with a dependency issue -import { chacha20 } from '@noble/ciphers/chacha'; -import { equalBytes } from '@noble/ciphers/utils'; -import { secp256k1 } from '@noble/curves/secp256k1'; -import { extract as hkdf_extract, expand as hkdf_expand } from '@noble/hashes/hkdf'; -import { hmac } from '@noble/hashes/hmac'; -import { sha256 } from '@noble/hashes/sha256'; -import { concatBytes, randomBytes, utf8ToBytes } from '@noble/hashes/utils'; +import { chacha20 } from '@noble/ciphers/chacha.js'; +import { equalBytes } from '@noble/ciphers/utils.js'; +import { secp256k1 } from '@noble/curves/secp256k1.js'; +import { extract as hkdf_extract, expand as hkdf_expand } from '@noble/hashes/hkdf.js'; +import { hmac } from '@noble/hashes/hmac.js'; +import { sha256 } from '@noble/hashes/sha256.js'; +import { concatBytes, randomBytes, utf8ToBytes } from '@noble/hashes/utils.js'; import { base64 } from '@scure/base'; declare const TextDecoder: any; -- cgit v1.2.3