@fairmint/safe-js
Advanced tools
Comparing version 1.5.3 to 1.5.4
{ | ||
"name": "@fairmint/safe-js", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"description": "Safe javascript library.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -79,2 +79,3 @@ const Ethers = require("ethers"); | ||
fundraisingGoal, | ||
totalInvested, | ||
totalSupply, | ||
@@ -94,2 +95,3 @@ beneficiary, | ||
this.dat.fundraisingGoal(), | ||
this.dat.totalInvested(), | ||
this.dat.totalSupply(), | ||
@@ -112,2 +114,5 @@ this.dat.beneficiary(), | ||
); | ||
this.data.totalInvested = newBigNumber(totalInvested).shiftedBy( | ||
-this.data.currency.decimals | ||
); | ||
this.data.totalSupply = newBigNumber(totalSupply).shiftedBy( | ||
@@ -114,0 +119,0 @@ -this.data.decimals |
130554
5342