From 328af1dd954c7d114e6dc01a1b271b99dae731e5 Mon Sep 17 00:00:00 2001 From: Alexey Ousov Date: Fri, 24 Mar 2023 00:24:10 +0700 Subject: [PATCH] v1.0.8 --- data/key-processor.ts | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/key-processor.ts b/data/key-processor.ts index 31e26cb..9cda19f 100644 --- a/data/key-processor.ts +++ b/data/key-processor.ts @@ -9,7 +9,7 @@ import type { GameRecipeDictionarySerialized, GameItemSerialized, GameDataSerialized, - LogisticSerialized, + GameLogisticSerialized, } from '#types/game-data-serialized'; interface KeysJson { @@ -96,7 +96,7 @@ export class KeyProcessor { }) || []; } private mergeLogistic() { - const mappedArray: [string, LogisticSerialized][] = (this.gameData.logistic || []).map((r) => [r.name, r]); + const mappedArray: [string, GameLogisticSerialized][] = (this.gameData.logistic || []).map((r) => [r.name, r]); const mappedObject = this.mapKeys(mappedArray); this.gameData.logistic = mappedObject?.map(([key, value]) => { if(this.isAttachKeys) { diff --git a/package.json b/package.json index 99f8aa9..eaedad5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "daxfb-calculator", - "version": "1.0.7", + "version": "1.0.8", "description": "Calculator/Factory Planner for factory management games", "main": "index.js", "scripts": {