]> git.codecow.com Git - libnemo.git/commitdiff
Temporarily revert static import to dynamic to troubleshoot test type conflicts.
authorChris Duncan <chris@zoso.dev>
Sun, 21 Sep 2025 06:14:59 +0000 (23:14 -0700)
committerChris Duncan <chris@zoso.dev>
Sun, 21 Sep 2025 06:14:59 +0000 (23:14 -0700)
src/lib/wallet/verify.ts

index f364e7a80c067bba813178b039b9df6723296c6b..86bf4b8218b0d0285611e4b5ce143434fae48a3d 100644 (file)
@@ -13,6 +13,7 @@ export async function _verify (type: WalletType, vault: Vault, secret: unknown):
                        throw new TypeError('Wallet secret must be a string', { cause: typeof secret })
                }
                if (type === 'Ledger') {
+                       const { Ledger } = await import('../ledger')
                        return await Ledger.verify(secret)
                } else {
                        const data: { [key: string]: string | ArrayBuffer } = {