@lichess-org/types 2.0.111 → 2.0.112

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.
Files changed (2) hide show
  1. package/lichess-api.d.ts +5 -5
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -523,7 +523,7 @@ export interface paths {
523
523
  /**
524
524
  * Export one game
525
525
  * @description Download one game in either PGN or JSON format.
526
- * Ongoing games are delayed by a few seconds ranging from 3 to 60 depending on the time control, as to prevent cheat bots from using this API.
526
+ * Ongoing games are delayed by 3 moves, as to prevent cheat bots from using this API.
527
527
  */
528
528
  get: operations["gamePgn"];
529
529
  put?: never;
@@ -545,7 +545,7 @@ export interface paths {
545
545
  * Export ongoing game of a user
546
546
  * @description Download the ongoing game, or the last game played, of a user.
547
547
  * Available in either PGN or JSON format.
548
- * Ongoing games are delayed by a few seconds ranging from 3 to 60 depending on the time control, as to prevent cheat bots from using this API.
548
+ * Ongoing games are delayed by 3 moves, as to prevent cheat bots from using this API.
549
549
  */
550
550
  get: operations["apiUserCurrentGame"];
551
551
  put?: never;
@@ -598,7 +598,7 @@ export interface paths {
598
598
  * Games are sorted by reverse chronological order (most recent first)
599
599
  * The method is `POST` so a longer list of IDs can be sent in the request body.
600
600
  * 300 IDs can be submitted.
601
- * Ongoing games are delayed by a few seconds ranging from 3 to 60 depending on the time control, as to prevent cheat bots from using this API.
601
+ * Ongoing games are delayed by 3 moves, as to prevent cheat bots from using this API.
602
602
  */
603
603
  post: operations["gamesExportIds"];
604
604
  delete?: never;
@@ -713,7 +713,7 @@ export interface paths {
713
713
  * A description of the game is sent as a first message.
714
714
  * Then a message is sent each time a move is played.
715
715
  * Finally, a description of the game is sent when it finishes, and the stream is closed.
716
- * Ongoing games are delayed by a few seconds ranging from 3 to 60 depending on the time control, as to prevent cheat bots from using this API.
716
+ * Ongoing games are delayed by 3 moves, as to prevent cheat bots from using this API.
717
717
  * No more than 8 game streams can be opened at the same time from the same IP address.
718
718
  */
719
719
  get: operations["streamGame"];
@@ -1488,7 +1488,7 @@ export interface paths {
1488
1488
  patch?: never;
1489
1489
  trace?: never;
1490
1490
  };
1491
- "/study/by/{username}/export.pgn": {
1491
+ "/api/study/by/{username}/export.pgn": {
1492
1492
  parameters: {
1493
1493
  query?: never;
1494
1494
  header?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.111",
3
+ "version": "2.0.112",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",