Socket
Socket
Sign inDemoInstall

@stardust-collective/dag4-xchain-ethereum

Package Overview
Dependencies
7
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.1.3

3

cjs/client.js

@@ -54,3 +54,4 @@ "use strict";

}));
const provider = ethers_1.ethers.getDefaultProvider(null, { ethers: this.infuraProjectId });
//const provider = ethers.getDefaultProvider(null, { ethers: this.infuraProjectId, quorum: 1});
const provider = new ethers_1.ethers.providers.InfuraProvider(null, this.infuraProjectId);
const ethBalance = await provider.getBalance(address);

@@ -57,0 +58,0 @@ const ethBalanceNum = ethers_1.FixedNumber.fromValue(ethers_1.BigNumber.from(ethBalance), 18).toUnsafeFloat();

@@ -29,3 +29,4 @@ import { BigNumber, ethers, FixedNumber } from 'ethers';

}));
const provider = ethers.getDefaultProvider(null, { ethers: this.infuraProjectId });
//const provider = ethers.getDefaultProvider(null, { ethers: this.infuraProjectId, quorum: 1});
const provider = new ethers.providers.InfuraProvider(null, this.infuraProjectId);
const ethBalance = await provider.getBalance(address);

@@ -32,0 +33,0 @@ const ethBalanceNum = FixedNumber.fromValue(BigNumber.from(ethBalance), 18).toUnsafeFloat();

{
"name": "@stardust-collective/dag4-xchain-ethereum",
"version": "0.1.2",
"version": "0.1.3",
"description": "Cross chain communication with Ethereum",

@@ -5,0 +5,0 @@ "author": "Frank Fox",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc