From 04d8f64037169f57b967b270a836142e665cb784 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Wed, 27 Nov 2024 13:53:04 -0800 Subject: [PATCH] Spaces. --- src/lib/blake2b.ts | 3 ++- src/lib/workers/nacl-nano.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/blake2b.ts b/src/lib/blake2b.ts index f9b8efc..cbc9777 100644 --- a/src/lib/blake2b.ts +++ b/src/lib/blake2b.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Chris Duncan // SPDX-License-Identifier: GPL-3.0-or-later -//@ts-nocheck + 'use strict' /** @@ -11,6 +11,7 @@ * * Original source commit: https://github.com/emilbayes/blake2b/blob/1f63e02e3f226642959506cdaa67c8819ff145cd/index.js */ + function blake2b (outlen: number, key?: Uint8Array, salt?: Uint8Array, personal?: Uint8Array, noAssert?: boolean) { const BYTES_MIN = 16 const BYTES_MAX = 64 diff --git a/src/lib/workers/nacl-nano.ts b/src/lib/workers/nacl-nano.ts index 9805cfd..a2c190f 100644 --- a/src/lib/workers/nacl-nano.ts +++ b/src/lib/workers/nacl-nano.ts @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2024 Chris Duncan // SPDX-License-Identifier: GPL-3.0-or-later //@ts-nocheck -import blake2b from './blake2b.js' +import { blake2b } from '../blake2b.js' 'use strict'; -- 2.34.1