warframe-worldstate-parser 5.3.12 → 5.3.13

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.
@@ -60,7 +60,9 @@ interface InitialWorldState {
60
60
  ProjectPct: number[];
61
61
  SeasonInfo: RawNightwave;
62
62
  PrimeVaultTraders: RawVoidTrader[];
63
- EndlessXpChoices: RawChoice[];
63
+ EndlessXpSchedule: Array<{
64
+ CategoryChoices: RawChoice[];
65
+ }>;
64
66
  KnownCalendarSeasons: RawCalender[];
65
67
  Conquests: RawArchimedea[];
66
68
  Tmp: string;
@@ -329,7 +329,7 @@ var WorldState = class WorldState {
329
329
  character: "Varzia"
330
330
  });
331
331
  [this.archonHunt] = parseArray(Sortie, data.LiteSorties, deps);
332
- const choices = parseArray(DuviriChoice, data.EndlessXpChoices, deps);
332
+ const choices = parseArray(DuviriChoice, safeArray(data.EndlessXpSchedule?.[0]?.CategoryChoices), deps);
333
333
  this.duviriCycle = new DuviriCycle(choices);
334
334
  [this.calendar] = parseArray(Calendar, data.KnownCalendarSeasons, deps);
335
335
  this.archimedeas = parseArray(Archimedea, data.Conquests, deps);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "warframe-worldstate-parser",
3
- "version": "5.3.12",
3
+ "version": "5.3.13",
4
4
  "description": "An Open parser for Warframe's Worldstate in Javascript",
5
5
  "keywords": [
6
6
  "warframe-worldstate",