speedruncom.js 2.0.3 → 2.0.4

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.
@@ -23,6 +23,17 @@ export default interface GETEndpoints {
23
23
  */
24
24
  page?: number;
25
25
  };
26
+ GetGameData: {
27
+ /**
28
+ * ID of the game.
29
+ */
30
+ gameId: string;
31
+ } | {
32
+ /**
33
+ * Game page URL.
34
+ */
35
+ gameUrl: string;
36
+ };
26
37
  /**
27
38
  * Gets a specific site article.
28
39
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speedruncom.js",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "WIP NodeJS module for Speedrun's version 2 API.",
5
5
  "type": "module",
6
6
  "author": {
@@ -31,6 +31,20 @@ export default interface GETEndpoints {
31
31
  page?: number;
32
32
  };
33
33
 
34
+ GetGameData: {
35
+
36
+ /**
37
+ * ID of the game.
38
+ */
39
+ gameId: string;
40
+ } | {
41
+
42
+ /**
43
+ * Game page URL.
44
+ */
45
+ gameUrl: string;
46
+ }
47
+
34
48
  /**
35
49
  * Gets a specific site article.
36
50
  */