You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

ewd-client

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.19.0 to 1.20.0

21

lib/proto/ewd-client.js

@@ -6,3 +6,3 @@ /*!

| |
| Copyright (c) 2016-18 M/Gateway Developments Ltd, |
| Copyright (c) 2016-19 M/Gateway Developments Ltd, |
| Redhill, Surrey UK. |

@@ -28,3 +28,3 @@ | All rights reserved. |

24 September 2018
29 May 2019

@@ -112,2 +112,5 @@ Thanks to Ward DeBacker for enhancements to the client functionality

EWD.application = application;
if (typeof qewd !== 'undefined' && qewd.log === true) {
EWD.log = true;
}

@@ -158,2 +161,6 @@ function registerEvent(messageObj, callback) {

EWD.updateTokenFromJWT = function() {
token = getCookie('JSESSIONID');
};
if (!EWD.jwt) {

@@ -194,2 +201,12 @@ Object.defineProperty(EWD, 'jwt', {

if (jwt) {
if (messageObj.message && !messageObj.message.error) {
if (messageObj.message.token) {
// update token with latest JWT
token = messageObj.message.token;
//console.log('ewd-client: token - ' + token);
}
}
}
EWD.emit(messageObj.type, messageObj);

@@ -196,0 +213,0 @@ };

2

package.json
{
"name": "ewd-client",
"version": "1.19.0",
"version": "1.20.0",
"description": "Browser (websocket & HTTP) Client for QEWD applications",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc