tornapi-typescript 4.1.0 → 4.1.1

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
@@ -6379,7 +6379,7 @@ export interface UserV2 extends BaseSchema {
6379
6379
  };
6380
6380
  list: {
6381
6381
  response: UserListResponse;
6382
- params: "cat" | "limit" | "offset" | "sort" | "timestamp";
6382
+ params: "cat" | "striptags" | "limit" | "offset" | "sort" | "timestamp";
6383
6383
  };
6384
6384
  log: {
6385
6385
  response: UserLogsResponse;
package/dist/index.ts CHANGED
@@ -12082,7 +12082,13 @@ export interface UserV2 extends BaseSchema {
12082
12082
  };
12083
12083
  list: {
12084
12084
  response: UserListResponse;
12085
- params: "cat" | "limit" | "offset" | "sort" | "timestamp";
12085
+ params:
12086
+ | "cat"
12087
+ | "striptags"
12088
+ | "limit"
12089
+ | "offset"
12090
+ | "sort"
12091
+ | "timestamp";
12086
12092
  };
12087
12093
  log: {
12088
12094
  response: UserLogsResponse;
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.1.0"
6
+ "version": "4.1.1"
7
7
  },
8
8
  "servers": [
9
9
  {
@@ -1552,6 +1552,9 @@
1552
1552
  "$ref": "#/components/schemas/UserListEnum"
1553
1553
  }
1554
1554
  },
1555
+ {
1556
+ "$ref": "#/components/parameters/ApiStripTagsTrue"
1557
+ },
1555
1558
  {
1556
1559
  "$ref": "#/components/parameters/ApiLimit50"
1557
1560
  },
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "tornapi-typescript",
3
3
  "type": "module",
4
- "version": "4.1.0",
4
+ "version": "4.1.1",
5
5
  "scripts": {
6
6
  "generate-types": "tsc && node build/index.js"
7
7
  },
8
8
  "devDependencies": {
9
9
  "@scalar/openapi-types": "^0.3.7",
10
- "@types/node": "^22.18.3",
10
+ "@types/node": "^22.18.4",
11
11
  "prettier": "^3.6.2",
12
12
  "typeconv": "^2.3.1",
13
13
  "typescript": "^5.9.2"