From: Chris Duncan Date: Thu, 28 Nov 2024 09:14:38 +0000 (-0800) Subject: Rename NaCl implementation. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=e1f605032c7cd4f654fe4cdc9a51f71e513ff8bf;p=libnemo.git Rename NaCl implementation. --- diff --git a/src/lib/account.ts b/src/lib/account.ts index eefeb20..636a84f 100644 --- a/src/lib/account.ts +++ b/src/lib/account.ts @@ -6,7 +6,7 @@ import { ACCOUNT_KEY_LENGTH, ALPHABET, PREFIX, PREFIX_LEGACY } from './constants import { base32, bytes, hex } from './convert.js' import { Rpc } from './rpc.js' import { Safe } from './safe.js' -import { nacl } from './workers/nacl-nano.js' +import { nacl } from './workers/nano-nacl.js' /** * Represents a single Nano address and the associated public key. To include the diff --git a/src/lib/block.ts b/src/lib/block.ts index 7084c76..c5d2a88 100644 --- a/src/lib/block.ts +++ b/src/lib/block.ts @@ -6,7 +6,7 @@ import { Account } from './account.js' import { bytes, dec, hex } from './convert.js' import { Rpc } from './rpc.js' import Tools from './tools.js' -import { nacl } from './workers/nacl-nano.js' +import { nacl } from './workers/nano-nacl.js' /** * Represents a block as defined by the Nano cryptocurrency protocol. The Block diff --git a/src/lib/tools.ts b/src/lib/tools.ts index fbd1be8..2ef54b7 100644 --- a/src/lib/tools.ts +++ b/src/lib/tools.ts @@ -8,7 +8,7 @@ import { bytes, hex } from './convert.js' import { Rpc } from './rpc.js' import { Bip44Wallet, Blake2bWallet, LedgerWallet } from './wallet.js' import { SendBlock } from './block.js' -import { nacl } from './workers/nacl-nano.js' +import { nacl } from './workers/nano-nacl.js' /** * Converts a decimal amount of nano from one unit divider to another. diff --git a/src/lib/workers/nacl-nano.d.ts b/src/lib/workers/nano-nacl.d.ts similarity index 100% rename from src/lib/workers/nacl-nano.d.ts rename to src/lib/workers/nano-nacl.d.ts diff --git a/src/lib/workers/nacl-nano.ts b/src/lib/workers/nano-nacl.ts similarity index 100% rename from src/lib/workers/nacl-nano.ts rename to src/lib/workers/nano-nacl.ts