From: Chris Duncan Date: Tue, 2 Sep 2025 20:41:57 +0000 (-0700) Subject: Formatting. X-Git-Tag: v0.10.5~35^2~7 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=0266b8b0d7cae4f0c02cbb15c9b22d2e961546f5;p=libnemo.git Formatting. --- diff --git a/src/lib/wallet/create.ts b/src/lib/wallet/create.ts index 34258e9..2aec6fe 100644 --- a/src/lib/wallet/create.ts +++ b/src/lib/wallet/create.ts @@ -27,7 +27,7 @@ export async function _create (wallet: Wallet, vault: Vault, password: unknown, } } else { if (typeof password !== 'string') { - throw new TypeError('Invalid password', { cause: typeof password }) + throw new TypeError('Password must be a string') } if (mnemonicSalt !== undefined && typeof mnemonicSalt !== 'string') { throw new TypeError('Mnemonic salt must be a string')