warframe-worldstate-parser 3.0.2 → 3.0.3
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.
|
@@ -42,12 +42,11 @@ const sat = () => {
|
|
|
42
42
|
export default class SentientOutpost {
|
|
43
43
|
#node;
|
|
44
44
|
constructor(data, { locale, sentientData, logger }) {
|
|
45
|
-
// eslint-disable-next-line no-param-reassign
|
|
46
45
|
if (!data) data = '{"sfn":000}';
|
|
47
46
|
[this.#node] = data.match(/\d{3}/g) || ['000'];
|
|
48
|
-
const id = `CrewBattleNode${node}`;
|
|
47
|
+
const id = `CrewBattleNode${this.#node}`;
|
|
49
48
|
/* istanbul ignore if */
|
|
50
|
-
if (node === '000') {
|
|
49
|
+
if (this.#node === '000') {
|
|
51
50
|
this.mission = undefined;
|
|
52
51
|
} else {
|
|
53
52
|
this.mission = {
|