From: Chris Duncan Date: Wed, 27 Nov 2024 21:53:04 +0000 (-0800) Subject: Spaces. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=04d8f64037169f57b967b270a836142e665cb784;p=libnemo.git Spaces. --- 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';