@types/socket.io
Advanced tools
Comparing version 1.4.36 to 1.4.37
@@ -700,2 +700,19 @@ // Type definitions for socket.io 1.4.5 | ||
/** | ||
* The interface describing a room | ||
*/ | ||
interface Room { | ||
sockets: {[id: string]: boolean }; | ||
length: number; | ||
} | ||
/** | ||
* The interface describing a dictionary of rooms | ||
* Where room is the name of the room | ||
*/ | ||
interface Rooms { | ||
[room: string]: Room; | ||
} | ||
/** | ||
* The interface used when dealing with rooms etc | ||
@@ -712,5 +729,4 @@ */ | ||
* A dictionary of all the rooms that we have in this namespace | ||
* The rooms are made of a `sockets` key which is the dictionary of sockets per ID | ||
*/ | ||
rooms: {[room: string]: {sockets: {[id: string]: boolean }, length: number }}; | ||
rooms: Rooms; | ||
@@ -717,0 +733,0 @@ /** |
{ | ||
"name": "@types/socket.io", | ||
"version": "1.4.36", | ||
"version": "1.4.37", | ||
"description": "TypeScript definitions for socket.io", | ||
@@ -47,4 +47,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "c5495c2e3122176369227be32f2c410a2300ff6c4eebc709cc1140498b4ac165", | ||
"typesPublisherContentHash": "937075b61c2a658ba528440049ed89bf0f962c1822adbb6654fd559a58312b74", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 18 Jun 2018 22:47:06 GMT | ||
* Last updated: Sat, 18 Aug 2018 01:07:25 GMT | ||
* Dependencies: node | ||
@@ -14,0 +14,0 @@ * Global values: SocketIO |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24938
720