warframe-worldstate-parser 2.23.1 → 2.23.2
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/WorldEvent.js +1 -1
- package/package.json +4 -4
- package/types/lib/CambionCycle.d.ts +1 -0
package/lib/WorldEvent.js
CHANGED
|
@@ -307,7 +307,7 @@ class WorldEvent extends WorldstateObject {
|
|
|
307
307
|
lines.push(`${this.health}% Remaining`);
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
if (this.affiliatedWith) {
|
|
310
|
+
if (this.affiliatedWith && this.jobs) {
|
|
311
311
|
lines.push(`${this.affiliatedWith} will reward you for performing `
|
|
312
312
|
+ `${this.jobs.map((job) => job.type).join(', ')} job${this.jobs.length > 1 ? 's' : ''}`);
|
|
313
313
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "warframe-worldstate-parser",
|
|
3
|
-
"version": "2.23.
|
|
3
|
+
"version": "2.23.2",
|
|
4
4
|
"description": "An Open parser for Warframe's Worldstate in Javascript",
|
|
5
5
|
"types": "./types/main.d.ts",
|
|
6
6
|
"main": "main.js",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
25
25
|
"eslint-plugin-import": "^2.20.1",
|
|
26
26
|
"greenkeeper-lockfile": "^1.15.1",
|
|
27
|
-
"mocha": "^
|
|
27
|
+
"mocha": "^10.0.0",
|
|
28
28
|
"nyc": "^15.1.0",
|
|
29
29
|
"precommit-hook": "^3.0.0",
|
|
30
|
-
"rewire": "^
|
|
31
|
-
"sinon": "^
|
|
30
|
+
"rewire": "^6.0.0",
|
|
31
|
+
"sinon": "^13.0.0",
|
|
32
32
|
"sinon-chai": "^3.5.0",
|
|
33
33
|
"typescript": "^4.0.5"
|
|
34
34
|
},
|