diff options
| author | Adam Soltys <[email protected]> | 2026-02-11 16:09:41 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 16:09:41 -0800 |
| commit | 3525548be5b107f6b9bd3f88fcc67bd0c92e817a (patch) | |
| tree | 1b83a53434cdf1005384ce626569445adef9fb7f /src/lib/nip44.ts | |
| parent | 58367706577969351879fb09adb75c4e9441bf83 (diff) | |
| download | coinos-ui-3525548be5b107f6b9bd3f88fcc67bd0c92e817a.tar.gz coinos-ui-3525548be5b107f6b9bd3f88fcc67bd0c92e817a.zip | |
fix imports
Diffstat (limited to 'src/lib/nip44.ts')
| -rw-r--r-- | src/lib/nip44.ts | 14 |
1 files changed, 7 insertions, 7 deletions
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;
|
