ewd-client
Advanced tools
Comparing version 1.16.0 to 1.17.0
@@ -27,3 +27,3 @@ /*! | ||
26 July 2017 | ||
28 July 2017 | ||
@@ -274,3 +274,3 @@ Thanks to Ward DeBacker for enhancements to the client functionality | ||
messageObj.token = token; | ||
messageObj.jwt = jwt; | ||
//if (messageObj.type = 'ewd-register') messageObj.jwt = jwt; | ||
socket.emit('ewdjs', messageObj); | ||
@@ -320,3 +320,3 @@ delete messageObj.token; | ||
}; | ||
if (jwt) message.jwt = jwt; | ||
//if (jwt) message.jwt = jwt; | ||
} | ||
@@ -336,3 +336,3 @@ else { | ||
socket.on('disconnect', function() { | ||
console.log('*** server has disconnected socket, probably because it shut down'); | ||
console.log('*** server has disconnected socket, possibly because it shut down or because token has expired'); | ||
EWD.emit('socketDisconnected'); | ||
@@ -339,0 +339,0 @@ }); |
{ | ||
"name": "ewd-client", | ||
"version": "1.16.0", | ||
"version": "1.17.0", | ||
"description": "Browser (websocket & HTTP) Client for QEWD applications", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
18246