New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

playsocketjs

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playsocketjs - npm Package Compare versions

Comparing version
3.0.0
to
3.1.0
+1
-1
package.json
{
"name": "playsocketjs",
"version": "3.0.0",
"version": "3.1.0",
"description": "WebSocket wrapper for creating simple multiplayer systems with ease.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -260,5 +260,6 @@ # PlaySocket Client

| `clientRegistrationRequested` | `clientId: string, customData: object` | Client requests to register | Return `false` or rejection reason `string` to block |
| `clientLeft` | `clientId: string` | Client disconnected from the server | - |
| `clientJoinedRoom` | `clientId: string, roomId: string` | Client joined a room (clients can only leave by disconnecting) | - |
| `clientDisconnected` | `clientId: string` | Client disconnected from the server | - |
| `clientJoinedRoom` | `clientId: string, roomId: string` | Client joined a room | - |
| `clientJoinRequested` | `clientId: string, roomId: string` | Client requests to join a room | Return `false` or rejection reason `string` to block |
| `clientLeftRoom` | `clientId: string, roomId: string` | Client left a room | - |
| `roomCreated` | `roomId: string` | Client created a room | - |

@@ -265,0 +266,0 @@ | `roomDestroyed` | `roomId: string` | Room was destroyed (happens when all participants leave, unless room host is "server") | - |

Sorry, the diff of this file is too big to display