0.1.21 add info to ack package so one can see it's just the default ack
update socket deps for changes in error handlingmaster
parent
ea1342272e
commit
903d907201
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@uci/base",
|
||||
"version": "0.1.20",
|
||||
"version": "0.1.21",
|
||||
"description": "Multi type and transport JSON packet communication base class. Used in UCI extended classes",
|
||||
"main": "src/base",
|
||||
"scripts": {
|
||||
|
@ -39,8 +39,8 @@
|
|||
"@uci-utils/bind-funcs": "^0.2.3",
|
||||
"@uci-utils/logger": "^0.0.14",
|
||||
"@uci/mqtt": "^0.1.11",
|
||||
"@uci/socket": "^0.2.12",
|
||||
"@uci/websocket": "^0.3.6",
|
||||
"@uci/socket": "^0.2.13",
|
||||
"@uci/websocket": "^0.3.7",
|
||||
"await-to-js": "^2.1.1",
|
||||
"p-settle": "^3.1.0"
|
||||
}
|
||||
|
|
|
@ -73,6 +73,7 @@ const defaultCmds ={
|
|||
ack: async packet => {
|
||||
packet.cmd = 'reply'
|
||||
packet.ack = true
|
||||
packet.info = 'this is the base default ack, superceed in your extended class'
|
||||
return packet
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue