Socket
Socket
Sign inDemoInstall

wspromisify

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wspromisify - npm Package Compare versions

Comparing version 0.0.1 to 0.0.11

2

package.json
{
"name": "wspromisify",
"version": "0.0.1",
"version": "0.0.11",
"description": "Makes it easier to handle different data via WebSockets.",

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

@@ -18,3 +18,4 @@

timeout: 1400,
id_name: 'id'
id_name: 'id',
adapter: (host => new WebSocket(host))
}

@@ -64,3 +65,3 @@

this.messages = [] // send() queue
this.ws = new WebSocket(`ws://${config.url}`)
this.ws = this.config.adapter(`ws://${config.url}`)
const ws = this.ws

@@ -67,0 +68,0 @@

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