chore: update PE+ to 0.5.38 #1048

Merged
Sainan merged 2 commits from update-pe+ into main 2025-02-28 03:05:00 -08:00
Showing only changes of commit 9fd2a9e674 - Show all commits

View File

@ -29,9 +29,11 @@ import {
ExportWarframes, ExportWarframes,
ExportWeapons, ExportWeapons,
IInboxMessage, IInboxMessage,
IMissionReward,
IPowersuit, IPowersuit,
IRecipe, IRecipe,
IRegion IRegion,
TReward
} from "warframe-public-export-plus"; } from "warframe-public-export-plus";
import questCompletionItems from "@/static/fixed_responses/questCompletionRewards.json"; import questCompletionItems from "@/static/fixed_responses/questCompletionRewards.json";
@ -164,7 +166,9 @@ export const getKeyChainItems = ({ KeyChain, ChainStage }: IKeyChainRequest): st
return keyChainStage.itemsToGiveWhenTriggered; return keyChainStage.itemsToGiveWhenTriggered;
}; };
export const getLevelKeyRewards = (levelKey: string) => { export const getLevelKeyRewards = (
levelKey: string
): { levelKeyRewards?: IMissionReward; levelKeyRewards2?: TReward[] } => {
if (!(levelKey in ExportKeys)) { if (!(levelKey in ExportKeys)) {
throw new Error(`LevelKey ${levelKey} not found`); throw new Error(`LevelKey ${levelKey} not found`);
} }