Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eth-provider

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eth-provider - npm Package Compare versions

Comparing version 0.13.5 to 0.13.6

2

package.json
{
"name": "eth-provider",
"version": "0.13.5",
"version": "0.13.6",
"description": "A Universal Ethereum Provider",

@@ -5,0 +5,0 @@ "browser": "browser.js",

@@ -10,5 +10,5 @@ module.exports = (options = {}) => {

alchemyGoerli: [`wss://eth-goerli.ws.alchemyapi.io/v2/${options.alchemyId}`, `https://eth-goerli.alchemyapi.io/v2/${options.alchemyId}`],
infuraPolygon: [`wss://polygon-mainnet.infura.io/ws/v3/${options.infuraId}`, `https://polygon-mainnet.infura.io/v3/${options.infuraId}`],
infuraArbitrum: [`wss://arbitrum-mainnet.infura.io/ws/v3/${options.infuraId}`, `https://arbitrum-mainnet.infura.io/v3/${options.infuraId}`],
infuraOptimism: [`wss://optimism-mainnet.infura.io/ws/v3/${options.infuraId}`, `https://optimism-mainnet.infura.io/v3/${options.infuraId}`],
infuraPolygon: [`https://polygon-mainnet.infura.io/v3/${options.infuraId}`],
infuraArbitrum: [`https://arbitrum-mainnet.infura.io/v3/${options.infuraId}`],
infuraOptimism: [`https://optimism-mainnet.infura.io/v3/${options.infuraId}`],
infuraSepolia: [`wss://sepolia.infura.io/ws/v3/${options.infuraId}`, `https://sepolia.infura.io/v3/${options.infuraId}`],

@@ -15,0 +15,0 @@ gnosis: ['https://rpc.gnosischain.com'],

@@ -125,8 +125,2 @@ /* globals it describe */

describe('Polygon', () => {
it('Infura WS Endpoint: wss://polygon-mainnet.infura.io/ws/v3/786ade30f36244469480aa5c2bf0743b', async () => {
const pro = provider(['wss://polygon-mainnet.infura.io/ws/v3/786ade30f36244469480aa5c2bf0743b'])
assert(await pro.request({ method: 'eth_chainId' }) === '0x89')
pro.close()
}).timeout(45 * 1000)
it('Infura HTTP Endpoint: https://polygon-mainnet.infura.io/v3/786ade30f36244469480aa5c2bf0743b', async () => {

@@ -140,8 +134,2 @@ const pro = provider(['https://polygon-mainnet.infura.io/v3/786ade30f36244469480aa5c2bf0743b'])

describe('Arbitrum', () => {
it('Infura WS Endpoint: wss://arbitrum-mainnet.infura.io/ws/v3/786ade30f36244469480aa5c2bf0743b', async () => {
const pro = provider(['wss://arbitrum-mainnet.infura.io/ws/v3/786ade30f36244469480aa5c2bf0743b'])
assert(await pro.request({ method: 'eth_chainId' }) === '0xa4b1')
pro.close()
}).timeout(45 * 1000)
it('Infura HTTP Endpoint: https://arbitrum-mainnet.infura.io/v3/786ade30f36244469480aa5c2bf0743b', async () => {

@@ -155,8 +143,2 @@ const pro = provider(['https://arbitrum-mainnet.infura.io/v3/786ade30f36244469480aa5c2bf0743b'])

describe('Optimism', () => {
it('Infura WS Endpoint: wss://optimism-mainnet.infura.io/ws/v3/786ade30f36244469480aa5c2bf0743b', async () => {
const pro = provider(['wss://optimism-mainnet.infura.io/ws/v3/786ade30f36244469480aa5c2bf0743b'])
assert(await pro.request({ method: 'eth_chainId' }) === '0xa')
pro.close()
}).timeout(45 * 1000)
it('Infura HTTP Endpoint: https://optimism-mainnet.infura.io/v3/786ade30f36244469480aa5c2bf0743b', async () => {

@@ -163,0 +145,0 @@ const pro = provider(['https://optimism-mainnet.infura.io/v3/786ade30f36244469480aa5c2bf0743b'])

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc