playsocketjs
Advanced tools
+1
-1
| { | ||
| "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", |
+3
-2
@@ -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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
209014
0.1%5138
0.04%279
0.36%