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.18.0 to 1.19.0

21

lib/proto/ewd-client.js

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

| Copyright (c) 2016-18 M/Gateway Developments Ltd, |
| Reigate, Surrey UK. |
| Redhill, Surrey UK. |
| All rights reserved. |

@@ -28,3 +28,3 @@ | |

16 February 2018
24 September 2018

@@ -296,8 +296,19 @@ Thanks to Ward DeBacker for enhancements to the client functionality

if (url) {
socket = io(url, {
var options = {
transports: ['websocket'] // needed for react-native
});
};
if (typeof qewd !== 'undefined' && qewd.io_path) {
if (EWD.log) console.log('Setting custom socket.io path to ' + qewd.io_path);
options.path = qewd.io_path + '/socket.io';
}
socket = io(url, options);
}
else {
socket = io.connect();
if (typeof qewd !== 'undefined' && qewd.io_path) {
if (EWD.log) console.log('Setting custom socket.io path to ' + qewd.io_path);
socket = io({path: qewd.io_path + '/socket.io'});
}
else {
socket = io.connect();
}
}

@@ -304,0 +315,0 @@ socket.on('connect', function() {

{
"name": "ewd-client",
"version": "1.18.0",
"version": "1.19.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