fortnite-replay-analysis 1.1.5 → 1.1.6

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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -156,6 +156,7 @@ async function calculateScore({ matchData, points, killCountUpperLimit = null, k
156
156
  partyAliveTimeList: [],
157
157
  partyMemberList: [],
158
158
  partyMemberIdList: [],
159
+ partyDiscordInfo: null
159
160
  };
160
161
  }
161
162
 
@@ -189,7 +190,7 @@ function mergeScores(scoreArrays) { // 複数マッチの結果をマージし
189
190
  partyVictoryRoyaleCount: p.partyVictoryRoyale ? 1 : 0,
190
191
  matchList: [p.matchName],
191
192
  partyMemberList: [...p.partyMemberList],
192
- partyDiscordInfo: p.partyDiscordInfo ? { ...p.partyDiscordInfo } : undefined,
193
+ partyDiscordInfo: p.partyDiscordInfo ? [ ...p.partyDiscordInfo ] : undefined,
193
194
  partyAliveTimeByMatch: [
194
195
  { match: p.matchName, times: [...(p.partyAliveTimeList || [])] }
195
196
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fortnite-replay-analysis",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Fortnite replay analysis tool (Node.js用Fortniteリプレイ解析バイナリラッパー)",
5
5
  "repository": {
6
6
  "type": "git",