warframe-worldstate-parser 4.4.0 → 4.4.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/lib/WorldState.js CHANGED
@@ -368,14 +368,15 @@ export class WorldState {
368
368
 
369
369
  this.kinepage = new Kinepage(tmp.pgr, deps.locale);
370
370
 
371
- if (tmp.lqo27) {
371
+ const key = Object.keys(tmp).find((k) => k.startsWith('lqo'));
372
+ if (key) {
372
373
  const { activation, expiry } = this.nightwave.activeChallenges.filter((c) => !c.isDaily)[0];
373
374
 
374
375
  /**
375
376
  * The current Deep Archimedea missions and modifiers
376
377
  * @type {DeepArchimedea}
377
378
  */
378
- this.deepArchimedea = new DeepArchimedea(activation, expiry, tmp.lqo27);
379
+ this.deepArchimedea = new DeepArchimedea(activation, expiry, tmp[key]);
379
380
  }
380
381
 
381
382
  this.calendar = parseArray(Calendar, data.KnownCalendarSeasons, deps);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "warframe-worldstate-parser",
3
- "version": "4.4.0",
3
+ "version": "4.4.1",
4
4
  "description": "An Open parser for Warframe's Worldstate in Javascript",
5
5
  "keywords": [
6
6
  "warframe-worldstate",