@highoutput/amqp
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -35,3 +35,3 @@ "use strict"; | ||
if (!this.sender || this.sender.is_closed()) { | ||
throw new Error('Sender is closed.'); | ||
throw new error_1.default('CLIENT_ERROR', 'Sender is closed.'); | ||
} | ||
@@ -71,3 +71,3 @@ const correlationId = v4_1.default(); | ||
this.callbacks.delete(correlationId); | ||
throw new Error('Request timeout.'); | ||
throw new error_1.default('TIMEOUT', 'Request timeout.'); | ||
})(), | ||
@@ -74,0 +74,0 @@ ]); |
@@ -8,2 +8,3 @@ "use strict"; | ||
const events_1 = require("events"); | ||
const error_1 = __importDefault(require("@highoutput/error")); | ||
const logger_1 = __importDefault(require("./logger")); | ||
@@ -24,3 +25,3 @@ const util_1 = require("./util"); | ||
if (!this.sender || this.sender.is_closed()) { | ||
throw new Error('Sender is closed.'); | ||
throw new error_1.default('PUBLISHER_ERROR', 'Sender is closed.'); | ||
} | ||
@@ -27,0 +28,0 @@ const body = { |
{ | ||
"name": "@highoutput/amqp", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A simplified abstraction of the AMQP 1.0 protocol", | ||
@@ -52,3 +52,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "51ee715da2021d648d46aa25e0c0f2236a7ceaac" | ||
"gitHead": "5ed7d2f0f80acea6e95e7b8daad2b9cea004d183" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
53359
679