From 7f6a8345bcf26c3d91e73b6dba3b9811c566cd39 Mon Sep 17 00:00:00 2001 From: Rastislav Date: Fri, 23 Aug 2024 17:00:52 +0200 Subject: [PATCH] Fix buffer --- package.json | 2 +- src/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 312189e..1eb3e85 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "txms.js", - "version": "1.2.4", + "version": "1.2.5", "description": "Transaction messaging service protocol", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/index.ts b/src/index.ts index 5a1330a..daddb2c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,5 @@ import fs from 'fs'; +import { Buffer } from 'buffer'; export interface Transport { encode(hex: string): string;