tornapi-typescript 6.3.0 → 6.3.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
@@ -197,6 +197,8 @@ export interface Attack {
197
197
  is_stealthed: boolean;
198
198
  is_raid: boolean;
199
199
  is_ranked_war: boolean;
200
+ is_territory_war: boolean;
201
+ territory_war_id: TerritoryWarId | null;
200
202
  finishing_hit_effects: AttackingFinishingHitEffects[];
201
203
  modifiers: {
202
204
  fair_fight: number;
package/dist/index.ts CHANGED
@@ -5108,6 +5108,8 @@ export interface Attack {
5108
5108
  is_stealthed: boolean;
5109
5109
  is_raid: boolean;
5110
5110
  is_ranked_war: boolean;
5111
+ is_territory_war: boolean;
5112
+ territory_war_id: TerritoryWarId | null;
5111
5113
  finishing_hit_effects: AttackingFinishingHitEffects[];
5112
5114
  modifiers: {
5113
5115
  fair_fight: number;
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": "6.3.0"
6
+ "version": "6.3.1"
7
7
  },
8
8
  "servers": [
9
9
  {
@@ -16525,6 +16525,8 @@
16525
16525
  "is_stealthed",
16526
16526
  "is_raid",
16527
16527
  "is_ranked_war",
16528
+ "is_territory_war",
16529
+ "territory_war_id",
16528
16530
  "finishing_hit_effects",
16529
16531
  "modifiers"
16530
16532
  ],
@@ -16586,6 +16588,19 @@
16586
16588
  "is_ranked_war": {
16587
16589
  "type": "boolean"
16588
16590
  },
16591
+ "is_territory_war": {
16592
+ "type": "boolean"
16593
+ },
16594
+ "territory_war_id": {
16595
+ "oneOf": [
16596
+ {
16597
+ "$ref": "#/components/schemas/TerritoryWarId"
16598
+ },
16599
+ {
16600
+ "type": "null"
16601
+ }
16602
+ ]
16603
+ },
16589
16604
  "finishing_hit_effects": {
16590
16605
  "type": "array",
16591
16606
  "items": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tornapi-typescript",
3
3
  "type": "module",
4
- "version": "6.3.0",
4
+ "version": "6.3.1",
5
5
  "repository": {
6
6
  "url": "git+https://github.com/Torn-Playground/tornapi-typescript.git"
7
7
  },