@lichess-org/types 2.0.71 → 2.0.72

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 +4 -1
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -35730,7 +35730,10 @@ export interface operations {
35730
35730
  };
35731
35731
  challengeAccept: {
35732
35732
  parameters: {
35733
- query?: never;
35733
+ query?: {
35734
+ /** @description Accept challenge as this color (only valid if this is an [open challenge](#challenge/open)) */
35735
+ color?: "white" | "black";
35736
+ };
35734
35737
  header?: never;
35735
35738
  path: {
35736
35739
  challengeId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.71",
3
+ "version": "2.0.72",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",