@lichess-org/types 2.0.70 → 2.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lichess-api.d.ts +3 -1
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -2503,7 +2503,7 @@ export interface paths {
|
|
|
2503
2503
|
* Stream incoming events
|
|
2504
2504
|
* @description Stream the events reaching a lichess user in real time as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
|
|
2505
2505
|
*
|
|
2506
|
-
* An empty line is sent every
|
|
2506
|
+
* An empty line is sent every 7 seconds for keep alive purposes.
|
|
2507
2507
|
*
|
|
2508
2508
|
* Each non-empty line is a JSON object containing a `type` field. Possible values are:
|
|
2509
2509
|
* - `gameStart` Start of a game
|
|
@@ -2514,6 +2514,8 @@ export interface paths {
|
|
|
2514
2514
|
*
|
|
2515
2515
|
* When the stream opens, all current challenges and games are sent.
|
|
2516
2516
|
*
|
|
2517
|
+
* Only one global event stream can be active at a time. When the stream opens, the previous one with the same access token is closed.
|
|
2518
|
+
*
|
|
2517
2519
|
*/
|
|
2518
2520
|
get: operations["apiStreamEvent"];
|
|
2519
2521
|
put?: never;
|