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

ewd-client - npm Package Compare versions

Comparing version 1.12.0 to 1.13.0

16

lib/proto/ewd-client.js

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

24 October 2016
17 December 2016

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

//console.log('starting ewd-client: ' + JSON.stringify(application));
var url;
var cookieName = 'ewdSession';
var appName = application;

@@ -83,4 +86,11 @@ if (typeof application === 'object') {

appName = application.application;
cookieName = application.cookieName;
}
function getCookie(name) {
var value = "; " + document.cookie;
var parts = value.split("; " + name + "=");
if (parts.length == 2) return parts.pop().split(";").shift();
}
(function(application, io, customAjaxFn, url) {

@@ -274,2 +284,6 @@

//console.log('token: ' + token + '; ' + cookieName + ' cookie: ' + getCookie(cookieName));
if (!token && cookieName && getCookie(cookieName)) token = getCookie(cookieName);
if (token) {

@@ -276,0 +290,0 @@ // re-connection occured - re-register to attach to original Session

2

package.json
{
"name": "ewd-client",
"version": "1.12.0",
"version": "1.13.0",
"description": "Browser (websocket & HTTP) Client for ewd-xpress applications",

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc