eth-provider
Advanced tools
Comparing version 0.13.5 to 0.13.6
{ | ||
"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']) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
562531
1218