]> git.codecow.com Git - libnemo.git/commitdiff
Allow Node buffers for byte type alias.
authorChris Duncan <chris@codecow.com>
Thu, 2 Jul 2026 18:07:24 +0000 (11:07 -0700)
committerChris Duncan <chris@codecow.com>
Thu, 2 Jul 2026 18:07:24 +0000 (11:07 -0700)
src/index.ts

index 641c1e732c4bda39255d013ccb637e5f09635395..9b95e52e1e112b9b213b2e482c650dcf77211591 100644 (file)
@@ -11,7 +11,7 @@ import { Tools } from './lib/tools'
 import { Wallet } from './lib/wallet'
 
 declare global {
-       type Bytes = Uint8Array<ArrayBuffer>
+       type Bytes = Uint8Array<ArrayBuffer> | Buffer<ArrayBuffer>
 }
 
 export {