Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-socket-io

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-socket-io - npm Package Compare versions

Comparing version 4.5.0 to 4.5.1

2

package.json
{
"name": "ngx-socket-io",
"version": "4.5.0",
"version": "4.5.1",
"description": "Socket.IO module for Angular",

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

@@ -13,2 +13,14 @@ # ngx-socket-io

**Important:**
Make sure you're using the proper corresponding version of socket.io on the server.
| Package Version | Socket-io Server Version | Angular version |
|-----------------|--------------------------|-----------------|
| v3.4.0 | v2.2.0 | |
| v4.1.0 | v4.0.0 | 12.x |
| v4.2.0 | v4.0.0 | 13.x |
| v4.3.0 | v4.5.1 | 14.x |
| v4.4.0 | v4.5.1 | 15.x |
## How to use

@@ -53,3 +65,3 @@

getMessage() {
return this.socket.fromEvent('message').pipe(map(data => data.msg));
return this.socket.fromEvent('message').pipe(map((data) => data.msg));
}

@@ -56,0 +68,0 @@ }

@@ -20,2 +20,12 @@ import { Observable } from 'rxjs';

fromOneTimeEvent<T>(eventName: string): Promise<T>;
listeners(eventName: string): any;
listenersAny(): any;
listenersAnyOutgoing(): any;
off(eventName?: string, listener?: Function[]): any;
onAny(callback: (event: string, ...args: any[]) => void): any;
onAnyOutgoing(callback: (event: string, ...args: any[]) => void): any;
prependAny(callback: (event: string, ...args: any[]) => void): any;
prependAnyOutgoing(callback: (event: string | symbol, ...args: any[]) => void): any;
timeout(value: number): any;
volatile(): any;
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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