tornapi-typescript 4.3.1 → 4.3.2
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 +1 -1
- package/dist/index.ts +1 -1
- package/dist/openapi.json +3 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -2285,7 +2285,7 @@ export interface FactionBalanceResponse {
|
|
|
2285
2285
|
balance: FactionBalance;
|
|
2286
2286
|
}
|
|
2287
2287
|
/**
|
|
2288
|
-
* The following selections will fallback to API v1 and may change at any time: 'armor', 'boosters', 'caches', 'cesium', 'crimeexp', 'drugs', 'medical', 'temporary', 'weapons'.
|
|
2288
|
+
* The following selections will fallback to API v1 and may change at any time: 'armor', 'boosters', 'caches', 'cesium', 'crimeexp', 'drugs', 'medical', 'utilities', 'temporary', 'weapons'.
|
|
2289
2289
|
* * The following selections are not available in API v2: 'armorynews', 'attacknews', 'crimenews', 'currency', 'donations', 'fundsnews', 'mainnews', 'membershipnews', 'territorynews'.
|
|
2290
2290
|
*/
|
|
2291
2291
|
export type FactionSelectionName = string;
|
package/dist/index.ts
CHANGED
|
@@ -7817,7 +7817,7 @@ export interface FactionBalanceResponse {
|
|
|
7817
7817
|
}
|
|
7818
7818
|
|
|
7819
7819
|
/**
|
|
7820
|
-
* The following selections will fallback to API v1 and may change at any time: 'armor', 'boosters', 'caches', 'cesium', 'crimeexp', 'drugs', 'medical', 'temporary', 'weapons'.
|
|
7820
|
+
* The following selections will fallback to API v1 and may change at any time: 'armor', 'boosters', 'caches', 'cesium', 'crimeexp', 'drugs', 'medical', 'utilities', 'temporary', 'weapons'.
|
|
7821
7821
|
* * The following selections are not available in API v2: 'armorynews', 'attacknews', 'crimenews', 'currency', 'donations', 'fundsnews', 'mainnews', 'membershipnews', 'territorynews'.
|
|
7822
7822
|
*/
|
|
7823
7823
|
export type FactionSelectionName = string;
|
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": "4.3.
|
|
6
|
+
"version": "4.3.2"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -25072,7 +25072,7 @@
|
|
|
25072
25072
|
"FactionSelectionName": {
|
|
25073
25073
|
"oneOf": [
|
|
25074
25074
|
{
|
|
25075
|
-
"description": "The following selections will fallback to API v1 and may change at any time: 'armor', 'boosters', 'caches', 'cesium', 'crimeexp', 'drugs', 'medical', 'temporary', 'weapons'.\n * The following selections are not available in API v2: 'armorynews', 'attacknews', 'crimenews', 'currency', 'donations', 'fundsnews', 'mainnews', 'membershipnews', 'territorynews'.",
|
|
25075
|
+
"description": "The following selections will fallback to API v1 and may change at any time: 'armor', 'boosters', 'caches', 'cesium', 'crimeexp', 'drugs', 'medical', 'utilities', 'temporary', 'weapons'.\n * The following selections are not available in API v2: 'armorynews', 'attacknews', 'crimenews', 'currency', 'donations', 'fundsnews', 'mainnews', 'membershipnews', 'territorynews'.",
|
|
25076
25076
|
"type": "string",
|
|
25077
25077
|
"enum": [
|
|
25078
25078
|
"applications",
|
|
@@ -25116,6 +25116,7 @@
|
|
|
25116
25116
|
"crimeexp",
|
|
25117
25117
|
"drugs",
|
|
25118
25118
|
"medical",
|
|
25119
|
+
"utilities",
|
|
25119
25120
|
"temporary",
|
|
25120
25121
|
"weapons"
|
|
25121
25122
|
]
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tornapi-typescript",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.3.
|
|
4
|
+
"version": "4.3.2",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate-types": "tsc && node build/index.js"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@scalar/openapi-types": "^0.5.
|
|
10
|
-
"@types/node": "^24.
|
|
9
|
+
"@scalar/openapi-types": "^0.5.1",
|
|
10
|
+
"@types/node": "^24.10.0",
|
|
11
11
|
"prettier": "^3.6.2",
|
|
12
12
|
"typeconv": "^2.3.1",
|
|
13
13
|
"typescript": "^5.9.3"
|