gotchi-battler-game-logic 2.0.4 → 2.0.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.
@@ -549,17 +549,6 @@ const getLogGotchis = (allAliveGotchis) => {
549
549
 
550
550
  // Remove unnecessary properties to reduce log size
551
551
  delete x.special.class
552
- delete x.snapshotBlock
553
- delete x.onchainId
554
- delete x.brs
555
- delete x.nrg
556
- delete x.agg
557
- delete x.spk
558
- delete x.brn
559
- delete x.eyc
560
- delete x.eys
561
- delete x.kinship
562
- delete x.xp
563
552
  delete x.actionDelay
564
553
  delete x.attack
565
554
  delete x.originalStats
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotchi-battler-game-logic",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -20,7 +20,7 @@
20
20
  "axios": "^1.7.4",
21
21
  "axios-retry": "^4.5.0",
22
22
  "dotenv": "^16.4.5",
23
- "ethers": "^5.7.0",
23
+ "ethers": "^6.13.4",
24
24
  "json-csv": "^4.0.18"
25
25
  }
26
26
  }
@@ -2,7 +2,7 @@ const { ethers } = require('ethers')
2
2
  const tournamentAbi = require('../constants/tournamentManagerAbi.json')
3
3
 
4
4
  const getTournamentContract = (address) => {
5
- const provider = new ethers.providers.JsonRpcProvider('https://polygon-rpc.com')
5
+ const provider = new ethers.JsonRpcProvider('https://polygon-rpc.com')
6
6
  const contract = new ethers.Contract(address, tournamentAbi, provider)
7
7
 
8
8
  return contract