warframe-worldstate-parser 2.22.0 → 2.23.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.
package/lib/Sortie.js
CHANGED
|
@@ -78,6 +78,12 @@ class Sortie extends WorldstateObject {
|
|
|
78
78
|
*/
|
|
79
79
|
this.faction = translator.sortieFaction(data.Boss, locale);
|
|
80
80
|
|
|
81
|
+
/**
|
|
82
|
+
* The sortie's faction
|
|
83
|
+
* @type {string}
|
|
84
|
+
*/
|
|
85
|
+
this.factionKey = translator.sortieFaction(data.boss, 'en');
|
|
86
|
+
|
|
81
87
|
/**
|
|
82
88
|
* Whether or not this is expired (at time of object creation)
|
|
83
89
|
* @type {boolean}
|
package/lib/SyndicateMission.js
CHANGED
|
@@ -67,6 +67,12 @@ class SyndicateMission extends WorldstateObject {
|
|
|
67
67
|
*/
|
|
68
68
|
this.syndicate = translator.syndicate(data.Tag, locale);
|
|
69
69
|
|
|
70
|
+
/**
|
|
71
|
+
* The syndicate that is offering the mission
|
|
72
|
+
* @type {string}
|
|
73
|
+
*/
|
|
74
|
+
this.syndicateKey = translator.syndicate(data.Tag, 'en');
|
|
75
|
+
|
|
70
76
|
/**
|
|
71
77
|
* The nodes on which the missions are taking place
|
|
72
78
|
* @type {Array.<string>}
|
package/package.json
CHANGED
package/types/lib/Sortie.d.ts
CHANGED
|
@@ -48,6 +48,11 @@ declare class Sortie extends WorldstateObject {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
*/
|
|
50
50
|
faction: string;
|
|
51
|
+
/**
|
|
52
|
+
* The sortie's faction
|
|
53
|
+
* @type {string}
|
|
54
|
+
*/
|
|
55
|
+
factionKey: string;
|
|
51
56
|
/**
|
|
52
57
|
* Whether or not this is expired (at time of object creation)
|
|
53
58
|
* @type {boolean}
|
|
@@ -35,6 +35,11 @@ declare class SyndicateMission extends WorldstateObject {
|
|
|
35
35
|
* @type {string}
|
|
36
36
|
*/
|
|
37
37
|
syndicate: string;
|
|
38
|
+
/**
|
|
39
|
+
* The syndicate that is offering the mission
|
|
40
|
+
* @type {string}
|
|
41
|
+
*/
|
|
42
|
+
syndicateKey: string;
|
|
38
43
|
/**
|
|
39
44
|
* The nodes on which the missions are taking place
|
|
40
45
|
* @type {Array.<string>}
|