tornapi-typescript 5.0.2 → 5.0.3

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/dist/index.d.ts CHANGED
@@ -543,8 +543,8 @@ export interface UserCompetitionEasterEggs {
543
543
  export interface UserCompetitionElimination {
544
544
  name: "Elimination";
545
545
  score: number;
546
- team?: string;
547
- attacks?: number;
546
+ team: string;
547
+ attacks: number;
548
548
  }
549
549
  export interface UserCompetitionRps {
550
550
  name: "Rock, Paper, Scissors";
package/dist/index.ts CHANGED
@@ -5539,8 +5539,8 @@ export interface UserCompetitionEasterEggs {
5539
5539
  export interface UserCompetitionElimination {
5540
5540
  name: "Elimination";
5541
5541
  score: number;
5542
- team?: string;
5543
- attacks?: number;
5542
+ team: string;
5543
+ attacks: number;
5544
5544
  }
5545
5545
 
5546
5546
  export interface UserCompetitionRps {
package/dist/openapi.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Torn API",
5
5
  "description": "\n * The development of Torn's API v2 is still ongoing.\n * If selections remain unaltered, they will default to the API v1 version.\n * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters.\n * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.\n * In case you're using bots to check for changes on openapi.json file, make sure to specificy a custom user-agent header - CloudFlare sometimes prevents requests from default user-agents.",
6
- "version": "5.0.2"
6
+ "version": "5.0.3"
7
7
  },
8
8
  "servers": [
9
9
  {
@@ -16759,7 +16759,8 @@
16759
16759
  "required": [
16760
16760
  "name",
16761
16761
  "score",
16762
- "total"
16762
+ "attacks",
16763
+ "team"
16763
16764
  ],
16764
16765
  "properties": {
16765
16766
  "name": {
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "tornapi-typescript",
3
3
  "type": "module",
4
- "version": "5.0.2",
4
+ "version": "5.0.3",
5
5
  "scripts": {
6
6
  "generate-types": "tsc && node build/index.js"
7
7
  },
8
8
  "devDependencies": {
9
- "@scalar/openapi-types": "^0.5.1",
9
+ "@scalar/openapi-types": "^0.5.2",
10
10
  "@types/node": "^24.10.1",
11
- "prettier": "^3.7.3",
11
+ "prettier": "^3.7.4",
12
12
  "typeconv": "^2.3.1",
13
13
  "typescript": "^5.9.3"
14
14
  },