From e1f605032c7cd4f654fe4cdc9a51f71e513ff8bf Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 28 Nov 2024 01:14:38 -0800 Subject: [PATCH] Rename NaCl implementation. --- src/lib/account.ts | 2 +- src/lib/block.ts | 2 +- src/lib/tools.ts | 2 +- src/lib/workers/{nacl-nano.d.ts => nano-nacl.d.ts} | 0 src/lib/workers/{nacl-nano.ts => nano-nacl.ts} | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename src/lib/workers/{nacl-nano.d.ts => nano-nacl.d.ts} (100%) rename src/lib/workers/{nacl-nano.ts => nano-nacl.ts} (100%) 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 -- 2.34.1