@techteamer/mq
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -0,1 +1,4 @@ | ||
2.2.1 | ||
- Fix multi-byte character (de)serialization | ||
2.2.0 | ||
@@ -2,0 +5,0 @@ - Binary sending is available |
{ | ||
"name": "@techteamer/mq", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "A RabbitMQ wrapper for node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -40,4 +40,4 @@ class QueueMessage { | ||
let lengthBuf = Buffer.alloc(4) | ||
lengthBuf.writeUInt32BE(stringJson.length) | ||
let jsonBuf = Buffer.from(stringJson) | ||
lengthBuf.writeUInt32BE(jsonBuf.length) | ||
return Buffer.concat([formatBuf, lengthBuf, jsonBuf, ...attachmentBuffers]) | ||
@@ -44,0 +44,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33245