From 5acde266a9ba7ff074450020e9f77d5c051cfdcc Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 29 Jul 2025 01:04:25 -0700 Subject: [PATCH] Specify buffer type for entropy. --- src/lib/entropy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.47.3