@highoutput/amqp
Advanced tools
Comparing version 0.5.7 to 0.5.8
@@ -35,7 +35,7 @@ "use strict"; | ||
this.connection.on('disconnected', () => { | ||
logger_1.default.tag(['client', 'connection', 'disconnected']).tag('Setting disconnected.'); | ||
logger_1.default.tag(['client', 'connection', 'disconnected']).tag('Connection is disconnected.'); | ||
this.disconnected = true; | ||
}); | ||
this.connection.on('connection_close', () => { | ||
logger_1.default.tag(['client', 'connection', 'connection_close']).tag('Setting disconnected.'); | ||
logger_1.default.tag(['client', 'connection', 'connection_close']).tag('Connection is closed.'); | ||
this.disconnected = true; | ||
@@ -42,0 +42,0 @@ }); |
@@ -24,7 +24,7 @@ "use strict"; | ||
this.connection.on('disconnected', () => { | ||
logger_1.default.tag(['publisher', 'connection', 'disconnected']).tag('Setting disconnected.'); | ||
logger_1.default.tag(['publisher', 'connection', 'disconnected']).tag('Connection is disconnected.'); | ||
this.disconnected = true; | ||
}); | ||
this.connection.on('connection_close', () => { | ||
logger_1.default.tag(['publisher', 'connection', 'connection_close']).tag('Setting disconnected.'); | ||
logger_1.default.tag(['publisher', 'connection', 'connection_close']).tag('Connection is closed.'); | ||
this.disconnected = true; | ||
@@ -31,0 +31,0 @@ }); |
@@ -27,7 +27,7 @@ "use strict"; | ||
this.connection.on('disconnected', () => { | ||
logger_1.default.tag(['subscriber', 'connection', 'disconnected']).tag('Setting disconnected.'); | ||
logger_1.default.tag(['subscriber', 'connection', 'disconnected']).tag('Connection is disconnected.'); | ||
this.disconnected = true; | ||
}); | ||
this.connection.on('connection_close', () => { | ||
logger_1.default.tag(['subscriber', 'connection', 'connection_close']).tag('Setting disconnected.'); | ||
logger_1.default.tag(['subscriber', 'connection', 'connection_close']).tag('Connection is closed.'); | ||
this.disconnected = true; | ||
@@ -88,5 +88,2 @@ }); | ||
}); | ||
this.connection.on('disconnected', () => { | ||
this.disconnected = true; | ||
}); | ||
})(); | ||
@@ -93,0 +90,0 @@ return this.initialize; |
@@ -30,7 +30,7 @@ "use strict"; | ||
this.connection.on('disconnected', () => { | ||
logger_1.default.tag(['worker', 'connection', 'disconnected']).tag('Setting disconnected.'); | ||
logger_1.default.tag(['worker', 'connection', 'disconnected']).tag('Connection is disconnected.'); | ||
this.disconnected = true; | ||
}); | ||
this.connection.on('connection_close', () => { | ||
logger_1.default.tag(['worker', 'connection', 'connection_close']).tag('Setting disconnected.'); | ||
logger_1.default.tag(['worker', 'connection', 'connection_close']).tag('Connection is closed.'); | ||
this.disconnected = true; | ||
@@ -37,0 +37,0 @@ }); |
{ | ||
"name": "@highoutput/amqp", | ||
"version": "0.5.7", | ||
"version": "0.5.8", | ||
"description": "A simplified abstraction of the AMQP 1.0 protocol", | ||
@@ -55,3 +55,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "ebdb30739a8f2bbbe48346aaaed438f38d93e831" | ||
"gitHead": "67874b64112fa68afa4e58e7be5a48c4bb19b3f6" | ||
} |
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
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
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
67490
850