From: Chris Duncan Date: Thu, 2 Jul 2026 18:07:24 +0000 (-0700) Subject: Allow Node buffers for byte type alias. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=fed813b9a3f62df65e93748443b02bf6fa4fff14;p=libnemo.git Allow Node buffers for byte type alias. --- diff --git a/src/index.ts b/src/index.ts index 641c1e7..9b95e52 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ import { Tools } from './lib/tools' import { Wallet } from './lib/wallet' declare global { - type Bytes = Uint8Array + type Bytes = Uint8Array | Buffer } export {