You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

nativescript-websockets

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-websockets - npm Package Compare versions

Comparing version

to
1.5.4

2

package.json
{
"name": "nativescript-websockets",
"version": "1.5.3",
"version": "1.5.4",
"description": "A WebSocket NativeScript module for Android and iOS",

@@ -5,0 +5,0 @@ "main": "websockets",

@@ -12,12 +12,10 @@ [![npm](https://img.shields.io/npm/v/nativescript-websockets.svg)](https://www.npmjs.com/package/nativescript-websockets)

## License
My code is (c)2015-2018, Master Technology. All my code is LICENSED under the MIT License. The Android Library is also MIT, the iOS libraries used Apache 2.0; which you may view them by reading the "LICENSE" file.
My code is (c)2015-2019, Master Technology. All my code is LICENSED under the MIT License. The Android Library is also MIT, the iOS libraries used Apache 2.0; which you may view them by reading the "LICENSE" file.
I also do contract work; so if you have a module you want built for NativeScript (or any other software projects) feel free to contact me [nathan@master-technology.com](mailto://nathan@master-technology.com).
[![Donate](https://img.shields.io/badge/Donate-PayPal-brightgreen.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=HN8DDMWVGBNQL&lc=US&item_name=Nathanael%20Anderson&item_number=nativescript%2dwebsockets&no_note=1&no_shipping=1&currency_code=USD&bn=PP%2dDonationsBF%3ax%3aNonHosted)
[![Patreon](https://img.shields.io/badge/Pledge-Patreon-brightgreen.svg)](https://www.patreon.com/NathanaelA)
If you want professional and support plugins; checkout the all new [https://proplugins.org](https://proplugins.org)
## Installation

@@ -24,0 +22,0 @@

@@ -159,2 +159,2 @@ /*****************************************************************************************

// We attach to the GLOBAL object, so this is not available everywhere.
global.WebSocket = BrowserWebSockets;
global.WebSocket = BrowserWebSockets;

@@ -101,6 +101,8 @@ /*****************************************************************************************

// TODO: remove this when the readystate issue gets resolved.
var self = this;
var self = this;
setTimeout(function() {
self.wrapper._notify("close", [self.wrapper, code, reason]);
self.wrapper = null; // Clean up memory
if (self.wrapper) {
self.wrapper._notify('close', [self.wrapper, code, reason])
self.wrapper = null; // Clean up memory
}
}, 1);

@@ -107,0 +109,0 @@ }

@@ -0,0 +0,0 @@ /*****************************************************************************************

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet