warframe-worldstate-parser 4.2.0 → 4.2.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
@@ -367,8 +367,15 @@ export class WorldState {
367
367
 
368
368
  this.kinepage = new Kinepage(tmp.pgr, deps.locale);
369
369
 
370
- const { activation, expiry } = this.nightwave.activeChallenges.filter((c) => !c.isDaily)[0];
371
- this.deepArchimedea = new DeepArchimedea(activation, expiry, tmp.lqo27);
370
+ if (tmp.lqo27) {
371
+ const { activation, expiry } = this.nightwave.activeChallenges.filter((c) => !c.isDaily)[0];
372
+
373
+ /**
374
+ * The current Deep Archimedea missions and modifiers
375
+ * @type {DeepArchimedea}
376
+ */
377
+ this.deepArchimedea = new DeepArchimedea(activation, expiry, tmp.lqo27);
378
+ }
372
379
  }
373
380
  }
374
381
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "warframe-worldstate-parser",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "An Open parser for Warframe's Worldstate in Javascript",
5
5
  "keywords": [
6
6
  "warframe-worldstate",
@@ -149,6 +149,10 @@ export class WorldState {
149
149
  steelPath: SteelPathOffering;
150
150
  duviriCycle: DuviriCycle;
151
151
  kinepage: Kinepage;
152
+ /**
153
+ * The current Deep Archimedea missions and modifiers
154
+ * @type {DeepArchimedea}
155
+ */
152
156
  deepArchimedea: DeepArchimedea;
153
157
  }
154
158
  declare function _default(json: any, deps: any): Promise<WorldState>;