@wireio/stake 0.7.0 → 0.7.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wireio/stake",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "LIQ Staking Module for Wire Network",
5
5
  "homepage": "https://gitea.gitgo.app/Wire/sdk-stake",
6
6
  "license": "FSL-1.1-Apache-2.0",
@@ -375,7 +375,7 @@ export class EthereumStakingClient implements IStakingClient {
375
375
  // let ethPriceUsd: bigint = BigInt(answer.toString());)
376
376
 
377
377
  let ethPriceUsdBn = await this.contract.EthUsdPriceConsumer.getPrice18Decimals();
378
- let ethPriceUsd: bigint = BigInt(ethPriceUsdBn.toString()) / 10n;
378
+ let ethPriceUsd: bigint = BigInt(ethPriceUsdBn.toString()) / BigInt(1e10);
379
379
 
380
380
  let nativePriceTimestamp: number = Number(updatedAt);
381
381