New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

websocket-as-promised

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

websocket-as-promised - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "websocket-as-promised",
"version": "2.0.0",
"version": "2.0.1",
"description": "A WebSocket client library providing Promise-based API for connecting, disconnecting and messaging with server",

@@ -5,0 +5,0 @@ "author": {

@@ -25,2 +25,3 @@

send: (data: string | ArrayBuffer | Blob) => void;
waitUnpackedMessage: (predicate: (data: any) => boolean, options?: WaitUnpackedMessageOptions) => Promise<any>
close: () => Promise<CloseEvent>;

@@ -34,1 +35,6 @@ removeAllListeners: () => void;

}
declare interface WaitUnpackedMessageOptions {
timeout?: number;
timeoutError?: Error;
}
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