diff --git a/package.json b/package.json index 1354db3..36f9dd9 100644 --- a/package.json +++ b/package.json @@ -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" } diff --git a/src/processing.js b/src/processing.js index 188611d..a1f291f 100644 --- a/src/processing.js +++ b/src/processing.js @@ -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 } },