From: Chris Duncan Date: Tue, 29 Jul 2025 08:04:25 +0000 (-0700) Subject: Specify buffer type for entropy. X-Git-Tag: v0.10.5~48^2~11 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=5acde266a9ba7ff074450020e9f77d5c051cfdcc;p=libnemo.git Specify buffer type for entropy. --- diff --git a/src/lib/entropy.ts b/src/lib/entropy.ts index a99825b..afdc128 100644 --- a/src/lib/entropy.ts +++ b/src/lib/entropy.ts @@ -21,7 +21,7 @@ export class Entropy { get bits (): string { return bytes.toBin(this.#bytes) } get buffer (): ArrayBuffer { return this.#bytes.buffer } - get bytes (): Uint8Array { return this.#bytes } + get bytes (): Uint8Array { return this.#bytes } get hex (): string { return bytes.toHex(this.#bytes) } private constructor (bytes: Uint8Array) {