返回提交历史
Modified
package-lock.json
+4
-4
Modified
package.json
+1
-1
Modified
src/services/serversideVendorsService.ts
+1
-1
XFEstudio/SpaceNinjaServer
chore: update PE+ (#2105)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2105 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
ae1850d6
代码差异
3 个文件
+6
-6
@@ -18,7 +18,7 @@
18
18
"morgan": "^1.10.0",
19
19
"ncp": "^2.0.0",
20
20
"typescript": "^5.5",
21
"warframe-public-export-plus": "^0.5.64",
21
"warframe-public-export-plus": "^0.5.65",
22
22
"warframe-riven-info": "^0.1.2",
23
23
"winston": "^3.17.0",
24
24
"winston-daily-rotate-file": "^5.0.0"
@@ -3814,9 +3814,9 @@
3814
3814
}
3815
3815
},
3816
3816
"node_modules/warframe-public-export-plus": {
3817
"version": "0.5.64",
3818
"resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.64.tgz",
3819
"integrity": "sha512-JyHRtYumfwQ1Iog2unzlBWfQHJlZER+iUISquyFFv0Qqtv2QsNzFv2AbV7sCaqgDcE8tw6e5/YqGgfI0m403/g=="
3817
"version": "0.5.65",
3818
"resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.65.tgz",
3819
"integrity": "sha512-y/HN61lE5g8gx0Giutdl/jzQnQmw1u2uI0BiwKVW341nf42sKWQPsKsCVTL5x9MIDYyRCbFsMU+PazKC7byMdg=="
3820
3820
},
3821
3821
"node_modules/warframe-riven-info": {
3822
3822
"version": "0.1.2",
@@ -25,7 +25,7 @@
25
25
"morgan": "^1.10.0",
26
26
"ncp": "^2.0.0",
27
27
"typescript": "^5.5",
28
"warframe-public-export-plus": "^0.5.64",
28
"warframe-public-export-plus": "^0.5.65",
29
29
"warframe-riven-info": "^0.1.2",
30
30
"winston": "^3.17.0",
31
31
"winston-daily-rotate-file": "^5.0.0"
@@ -303,7 +303,7 @@ const generateVendorManifest = (vendorInfo: IGeneratableVendorInfo): IVendorMani
303
303
}
304
304
const cycleStart = cycleOffset + cycleIndex * cycleDuration;
305
305
for (const rawItem of offersToAdd) {
306
const durationHoursRange = toRange(rawItem.durationHours);
306
const durationHoursRange = toRange(rawItem.durationHours ?? cycleDuration);
307
307
const expiry =
308
308
cycleStart +
309
309
rng.randomInt(durationHoursRange.minValue, durationHoursRange.maxValue) * unixTimesInMs.hour;