halo-infinite-api 4.0.5 → 4.1.0

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.
@@ -4,9 +4,12 @@ export declare enum GameVariantCategory {
4
4
  MultiplayerFiesta = 9,
5
5
  MultiplayerStrongholds = 11,
6
6
  MultiplayerKingOfTheHill = 12,
7
+ MultiplayerTotalControl = 14,
7
8
  MultiplayerCtf = 15,
8
9
  MultiplayerOddball = 18,
10
+ MultiplayerInfection = 22,
9
11
  MultiplayerGrifball = 25,
10
12
  MultiplayerLandGrab = 39,
11
- MultiplayerExtraction = 17
13
+ MultiplayerExtraction = 17,
14
+ MultiplayerFirefight = 42
12
15
  }
@@ -5,10 +5,13 @@ export var GameVariantCategory;
5
5
  GameVariantCategory[GameVariantCategory["MultiplayerFiesta"] = 9] = "MultiplayerFiesta";
6
6
  GameVariantCategory[GameVariantCategory["MultiplayerStrongholds"] = 11] = "MultiplayerStrongholds";
7
7
  GameVariantCategory[GameVariantCategory["MultiplayerKingOfTheHill"] = 12] = "MultiplayerKingOfTheHill";
8
+ GameVariantCategory[GameVariantCategory["MultiplayerTotalControl"] = 14] = "MultiplayerTotalControl";
8
9
  GameVariantCategory[GameVariantCategory["MultiplayerCtf"] = 15] = "MultiplayerCtf";
9
10
  GameVariantCategory[GameVariantCategory["MultiplayerOddball"] = 18] = "MultiplayerOddball";
11
+ GameVariantCategory[GameVariantCategory["MultiplayerInfection"] = 22] = "MultiplayerInfection";
10
12
  GameVariantCategory[GameVariantCategory["MultiplayerGrifball"] = 25] = "MultiplayerGrifball";
11
13
  GameVariantCategory[GameVariantCategory["MultiplayerLandGrab"] = 39] = "MultiplayerLandGrab";
12
14
  GameVariantCategory[GameVariantCategory["MultiplayerExtraction"] = 17] = "MultiplayerExtraction";
15
+ GameVariantCategory[GameVariantCategory["MultiplayerFirefight"] = 42] = "MultiplayerFirefight";
13
16
  })(GameVariantCategory || (GameVariantCategory = {}));
14
17
  //# sourceMappingURL=game-variant-category.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"game-variant-category.js","sourceRoot":"","sources":["../../../src/models/halo-infinite/game-variant-category.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,mBAWX;AAXD,WAAY,mBAAmB;IAC7B,uFAAqB,CAAA;IACrB,6FAAwB,CAAA;IACxB,uFAAqB,CAAA;IACrB,kGAA2B,CAAA;IAC3B,sGAA6B,CAAA;IAC7B,kFAAmB,CAAA;IACnB,0FAAuB,CAAA;IACvB,4FAAwB,CAAA;IACxB,4FAAwB,CAAA;IACxB,gGAA0B,CAAA;AAC5B,CAAC,EAXW,mBAAmB,KAAnB,mBAAmB,QAW9B"}
1
+ {"version":3,"file":"game-variant-category.js","sourceRoot":"","sources":["../../../src/models/halo-infinite/game-variant-category.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,mBAcX;AAdD,WAAY,mBAAmB;IAC7B,uFAAqB,CAAA;IACrB,6FAAwB,CAAA;IACxB,uFAAqB,CAAA;IACrB,kGAA2B,CAAA;IAC3B,sGAA6B,CAAA;IAC7B,oGAA4B,CAAA;IAC5B,kFAAmB,CAAA;IACnB,0FAAuB,CAAA;IACvB,8FAAyB,CAAA;IACzB,4FAAwB,CAAA;IACxB,4FAAwB,CAAA;IACxB,gGAA0B,CAAA;IAC1B,8FAAyB,CAAA;AAC3B,CAAC,EAdW,mBAAmB,KAAnB,mBAAmB,QAc9B"}
@@ -51,6 +51,9 @@ type StatsMap = {
51
51
  [GameVariantCategory.MultiplayerExtraction]: {
52
52
  ExtractionStats: ExtractionStats;
53
53
  };
54
+ [GameVariantCategory.MultiplayerFirefight]: {
55
+ ExtractionStats: ExtractionStats;
56
+ };
54
57
  };
55
58
  export type Stats<TCategory extends GameVariantCategory = GameVariantCategory> = {
56
59
  CoreStats: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "halo-infinite-api",
3
3
  "type": "module",
4
- "version": "4.0.5",
4
+ "version": "4.1.0",
5
5
  "description": "An NPM package for accessing the official Halo Infinite API.",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {
@@ -4,9 +4,12 @@ export enum GameVariantCategory {
4
4
  MultiplayerFiesta = 9,
5
5
  MultiplayerStrongholds = 11,
6
6
  MultiplayerKingOfTheHill = 12,
7
+ MultiplayerTotalControl = 14,
7
8
  MultiplayerCtf = 15,
8
9
  MultiplayerOddball = 18,
10
+ MultiplayerInfection = 22,
9
11
  MultiplayerGrifball = 25,
10
12
  MultiplayerLandGrab = 39,
11
13
  MultiplayerExtraction = 17,
14
+ MultiplayerFirefight = 42,
12
15
  }
@@ -48,6 +48,9 @@ type StatsMap = {
48
48
  [GameVariantCategory.MultiplayerExtraction]: {
49
49
  ExtractionStats: ExtractionStats;
50
50
  };
51
+ [GameVariantCategory.MultiplayerFirefight]: {
52
+ ExtractionStats: ExtractionStats;
53
+ };
51
54
  };
52
55
 
53
56
  export type Stats<TCategory extends GameVariantCategory = GameVariantCategory> =