0.3.3 update deps
parent
b856710a3b
commit
09da08b548
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@uci/socket",
|
||||
"version": "0.3.2",
|
||||
"version": "0.3.3",
|
||||
"description": "JSON packet intra(named)/inter(TCP) host communication over socket",
|
||||
"main": "src",
|
||||
"scripts": {
|
||||
|
@ -51,7 +51,7 @@
|
|||
"better-try-catch": "^0.6.2",
|
||||
"clone": "^2.1.2",
|
||||
"death": "^1.1.0",
|
||||
"delay": "^4.3.0",
|
||||
"delay": "^4.4.0",
|
||||
"make-dir": "^3.1.0",
|
||||
"p-reflect": "^2.1.0"
|
||||
}
|
||||
|
|
|
@ -490,7 +490,7 @@ export default function socketClass(Server) {
|
|||
let [err,ser] = await btc(consumer.stream.serialize)(packet)
|
||||
if (err) reject('unable to serialze the packet')
|
||||
if (!ser) {
|
||||
console.log('empty-seriallized packet', consumer.name, consumer.socketName)
|
||||
// console.log('empty-serialized packet', consumer.name, consumer.socketName)
|
||||
reject('empty packet rejecting send, nothing to send')
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue