Remove debug messages and bump version for release

This commit is contained in:
Holly Stubbs 2023-10-24 12:23:25 +01:00
parent 8367213725
commit a157685fcc
2 changed files with 1 additions and 3 deletions

View file

@ -379,11 +379,9 @@ class BrowserBuffer {
export function getBufferClass() : BufferConstructor { export function getBufferClass() : BufferConstructor {
if (typeof(Buffer) === "undefined") { if (typeof(Buffer) === "undefined") {
console.log("Using BrowserBuffer implementation.");
// @ts-ignore // @ts-ignore
return BrowserBuffer; return BrowserBuffer;
} else { } else {
console.log("Using native Buffer implementation.");
return Buffer; return Buffer;
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "bufferstuff", "name": "bufferstuff",
"version": "1.3.2", "version": "1.3.3",
"description": "A set of utility classes for reading and writing binary data in NodeJS and the browser", "description": "A set of utility classes for reading and writing binary data in NodeJS and the browser",
"main": "./lib/index.js", "main": "./lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",