]> git.codecow.com Git - libnemo.git/commitdiff
Import fixes.
authorChris Duncan <chris@zoso.dev>
Fri, 8 Aug 2025 02:26:23 +0000 (19:26 -0700)
committerChris Duncan <chris@zoso.dev>
Fri, 8 Aug 2025 02:26:23 +0000 (19:26 -0700)
src/lib/account.ts
src/lib/bip39-mnemonic.ts
src/lib/constants.ts
src/lib/rolodex.ts
src/lib/safe.ts
src/lib/wallet.ts

index 05d175a3449951571148e4da240a7e566bac96fc..3cc15bf3bcd6c7b36e0d4dbef0c34804a841e9fe 100644 (file)
@@ -3,10 +3,10 @@
 \r
 import { Blake2b } from './blake2b'\r
 import { ACCOUNT_KEY_BYTE_LENGTH, ACCOUNT_KEY_HEX_LENGTH, ALPHABET, PREFIX, PREFIX_LEGACY } from './constants'\r
-import { base32, bytes, hex, utf8 } from './convert'\r
+import { base32, bytes, hex } from './convert'\r
 import { NanoNaCl } from './nano-nacl'\r
 import { Rpc } from './rpc'\r
-import { Key, KeyPair, NamedData } from '#types'\r
+import { Key, KeyPair } from '#types'\r
 \r
 /**\r
 * Represents a single Nano address and the associated public key. To include the\r
index f75a5687572fc4ff227d514eb2f4753772427fc6..10a59ea4c27afe35b591f2c0f8561c4cd04a6982 100644 (file)
@@ -3,7 +3,7 @@
 \r
 import { Bip39Words } from './bip39-wordlist'\r
 import { BIP39_ITERATIONS } from './constants'\r
-import { bytes, hex, utf8 } from './convert'\r
+import { bytes, utf8 } from './convert'\r
 import { Entropy } from './entropy'\r
 \r
 /**\r
index 0332ab81f1d73f4d50a2c0b81d833e13decf28ea..15be831febf196ace72e24370d39916ba9b6ec33 100644 (file)
@@ -69,6 +69,7 @@ export default `
        const BIP44_PURPOSE = ${BIP44_PURPOSE}
        const BIP44_COIN_NANO = ${BIP44_COIN_NANO}
        const BURN_ADDRESS = '${BURN_ADDRESS}'
+       const BURN_PUBLIC_KEY = '${BURN_PUBLIC_KEY}'
        const HARDENED_OFFSET = ${HARDENED_OFFSET}
        const NONCE_LENGTH = ${NONCE_LENGTH}
        const PBKDF2_ITERATIONS = ${PBKDF2_ITERATIONS}
index 5f24a098d8e0809bd2a0a884fd4e2ebf66686879..9c23b0e00a4dc8fe61c150b7cb1163b758d38433 100644 (file)
@@ -2,7 +2,6 @@
 //! SPDX-License-Identifier: GPL-3.0-or-later
 
 import { Account } from './account'
-import { bytes, utf8 } from './convert'
 import { Database } from './database'
 import { verify } from './tools'
 import { NamedData } from '#types'
index 81e7516ac5df386edf3c6af5dcb09bf926ef0794..33c8bfb8288ff0f1af0e7d645100387322d1cb61 100644 (file)
@@ -4,13 +4,13 @@
 'use strict'
 
 import { parentPort } from 'node:worker_threads'
-import { Bip39Mnemonic } from './bip39-mnemonic.js'
+import { Bip39Mnemonic } from './bip39-mnemonic'
 import { default as Bip39Words } from './bip39-wordlist'
 import { Bip44Ckd } from './bip44-ckd'
 import { Blake2b } from './blake2b'
 import { Blake2bCkd } from './blake2b-ckd'
 import { default as Constants, BIP44_COIN_NANO } from './constants'
-import { default as Convert, bytes, hex, utf8 } from './convert.js'
+import { default as Convert, bytes, hex, utf8 } from './convert'
 import { Entropy } from './entropy'
 import { NanoNaCl } from './nano-nacl'
 import { NamedData } from '#types'
index be76ffa8057caca4353e7d73baf5664631e39e58..18d7a69a787f8d9d52cedd25c98984cded59eebe 100644 (file)
@@ -2,8 +2,8 @@
 //! SPDX-License-Identifier: GPL-3.0-or-later\r
 \r
 import { Account, AccountList } from './account'\r
-import { Block } from './block'\r
 import { Bip39Mnemonic } from './bip39-mnemonic'\r
+import { Block } from './block'\r
 import { ADDRESS_GAP } from './constants'\r
 import { bytes, hex, utf8 } from './convert'\r
 import { Database } from './database'\r