XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

chore: update PE+ to 0.5.38 (#1048)

Fixess #1041 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1048

1468c6b1
Sainan <sainan@calamity.inc>
提交于

代码差异

3 个文件 +11 -7
Modified package-lock.json +4 -4
@@ -12,7 +12,7 @@
12 12 "copyfiles": "^2.4.1",
13 13 "express": "^5",
14 14 "mongoose": "^8.11.0",
15 "warframe-public-export-plus": "^0.5.37",
15 "warframe-public-export-plus": "^0.5.38",
16 16 "warframe-riven-info": "^0.1.2",
17 17 "winston": "^3.17.0",
18 18 "winston-daily-rotate-file": "^5.0.0"
@@ -4083,9 +4083,9 @@
4083 4083 }
4084 4084 },
4085 4085 "node_modules/warframe-public-export-plus": {
4086 "version": "0.5.37",
4087 "resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.37.tgz",
4088 "integrity": "sha512-atpTQ0IV0HF17rO2+Z+Vdv8nnnUxh5HhkcXBjc5iwY8tlvRgRWwHemq4PdA1bxR4tYFU5xoYjlgDe5D8ZfM4ew=="
4086 "version": "0.5.38",
4087 "resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.38.tgz",
4088 "integrity": "sha512-yvc86eOmYPSnnU8LzLBhg/lR1AS1RHID24TqFHVcZuOzMYc934NL8Cv7rtllyefWAMyl7iA5x9tyXSuJWbi6CA=="
4089 4089 },
4090 4090 "node_modules/warframe-riven-info": {
4091 4091 "version": "0.1.2",
Modified package.json +1 -1
@@ -17,7 +17,7 @@
17 17 "copyfiles": "^2.4.1",
18 18 "express": "^5",
19 19 "mongoose": "^8.11.0",
20 "warframe-public-export-plus": "^0.5.37",
20 "warframe-public-export-plus": "^0.5.38",
21 21 "warframe-riven-info": "^0.1.2",
22 22 "winston": "^3.17.0",
23 23 "winston-daily-rotate-file": "^5.0.0"
Modified src/services/itemDataService.ts +6 -2
@@ -29,9 +29,11 @@ import {
29 29 ExportWarframes,
30 30 ExportWeapons,
31 31 IInboxMessage,
32 IMissionReward,
32 33 IPowersuit,
33 34 IRecipe,
34 IRegion
35 IRegion,
36 TReward
35 37 } from "warframe-public-export-plus";
36 38 import questCompletionItems from "@/static/fixed_responses/questCompletionRewards.json";
37 39
@@ -164,7 +166,9 @@ export const getKeyChainItems = ({ KeyChain, ChainStage }: IKeyChainRequest): st
164 166 return keyChainStage.itemsToGiveWhenTriggered;
165 167 };
166 168
167 export const getLevelKeyRewards = (levelKey: string) => {
169 export const getLevelKeyRewards = (
170 levelKey: string
171 ): { levelKeyRewards?: IMissionReward; levelKeyRewards2?: TReward[] } => {
168 172 if (!(levelKey in ExportKeys)) {
169 173 throw new Error(`LevelKey ${levelKey} not found`);
170 174 }