diff --git a/Makefile b/Makefile index 45d97520..27f54e5e 100644 --- a/Makefile +++ b/Makefile @@ -11,11 +11,14 @@ default: clean: rm -rf build - #rm -rf ./node_modules - #rm -f .sconsign.dblite + +dist_clean: clean + rm -rf ./node_modules + rm -f .sconsign.dblite requirements: pip install -U scons boto taschenmesser + sudo apt update sudo apt install -y npm nodejs-legacy default-jre node -v sudo npm install -g google-closure-compiler nodeunit diff --git a/lib/session.js b/lib/session.js index 58df6f8f..93888afe 100644 --- a/lib/session.js +++ b/lib/session.js @@ -86,7 +86,8 @@ var Event = function (publication, topic, publisher, publisher_authid, - publisher_authrole) { + publisher_authrole, + retained) { var self = this; @@ -95,6 +96,7 @@ var Event = function (publication, self.publisher = publisher; self.publisher_authid = publisher_authid; self.publisher_authrole = publisher_authrole; + self.retained = retained; }; @@ -500,7 +502,8 @@ var Session = function (socket, defer, onchallenge) { details.topic || (subs[0] && subs[0].topic), details.publisher, details.publisher_authid, - details.publisher_authrole + details.publisher_authrole, + details.retained || false ); for (var i = 0; i < subs.length; ++i) { diff --git a/package.json b/package.json index 50bf5801..60a92dce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "autobahn", - "version": "0.12.0", + "version": "17.5.1", "description": "An implementation of The Web Application Messaging Protocol (WAMP).", "main": "index.js", "scripts": {