Socket
Socket
Sign inDemoInstall

@civic/civic-eth-provider

Package Overview
Dependencies
73
Maintainers
15
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.11 to 0.0.12

3

CHANGELOG.md
# @civic/civic-eth-provider Changelog
## 0.0.12
- Feat: Add Fantom mainnet and testnet
## 0.0.11

@@ -4,0 +7,0 @@ - Fix: Change Arbitrum chains currency definition to ETH

3

dist/cjs/chainIdMap.json

@@ -26,3 +26,4 @@ {

"25": "cronos",
"250": "fantom",
"250": "fantomMainnet",
"4002": "fantomTestnet",
"100": "gnosis",

@@ -29,0 +30,0 @@ "1284": "moonbeam",

@@ -5,3 +5,3 @@ import { Network } from '@ethersproject/networks';

};
export type EthereumNetwork = 'localhost' | 'mainnet' | 'sepolia' | 'goerli' | 'polygonMumbai' | 'polygonMainnet' | 'polygonZKEVM' | 'polygonZKEVMTestnet' | 'auroraTestnet' | 'auroraMainnet' | 'optimismGoerli' | 'optimismMainnet' | 'palmTestnet' | 'palmMainnet' | 'arbitrumGoerli' | 'arbitrumMainnet' | 'celoMainnet' | 'celoAlfajores' | 'avalancheCChain' | 'avalancheCChainFuji' | 'starknetMainnet' | 'starknetGoerli' | 'xdcMainnet' | 'xdcApothem';
export type EthereumNetwork = 'localhost' | 'mainnet' | 'sepolia' | 'goerli' | 'polygonMumbai' | 'polygonMainnet' | 'polygonZKEVM' | 'polygonZKEVMTestnet' | 'auroraTestnet' | 'auroraMainnet' | 'optimismGoerli' | 'optimismMainnet' | 'palmTestnet' | 'palmMainnet' | 'arbitrumGoerli' | 'arbitrumMainnet' | 'celoMainnet' | 'celoAlfajores' | 'avalancheCChain' | 'avalancheCChainFuji' | 'starknetMainnet' | 'starknetGoerli' | 'xdcMainnet' | 'xdcApothem' | 'fantomMainnet' | 'fantomTestnet';
export type ExtendedNetwork = Network & {

@@ -8,0 +8,0 @@ url: string;

@@ -184,2 +184,15 @@ "use strict";

},
fantomMainnet: {
url: 'https://rpc.fantom.network',
chainId: evmChainIdMap.fantomMainnet,
isMainnet: true,
symbol: 'FTM',
network: 'Fantom',
},
fantomTestnet: {
url: 'https://rpc.testnet.fantom.network',
chainId: evmChainIdMap.fantomTestnet,
symbol: 'FTM',
network: 'Fantom Testnet',
},
// bscMainnet: {

@@ -194,6 +207,2 @@ // url: 'https://bsc.rpc.blxrbdn.com',

// },
// fantom: {
// url: 'https://rpc.fantom.network',
// chainId: evnChainIdMap.fantom,
// },
// gnosis: {

@@ -200,0 +209,0 @@ // url: 'https://rpc.gnosischain.com',

@@ -26,3 +26,4 @@ {

"25": "cronos",
"250": "fantom",
"250": "fantomMainnet",
"4002": "fantomTestnet",
"100": "gnosis",

@@ -29,0 +30,0 @@ "1284": "moonbeam",

@@ -5,3 +5,3 @@ import { Network } from '@ethersproject/networks';

};
export type EthereumNetwork = 'localhost' | 'mainnet' | 'sepolia' | 'goerli' | 'polygonMumbai' | 'polygonMainnet' | 'polygonZKEVM' | 'polygonZKEVMTestnet' | 'auroraTestnet' | 'auroraMainnet' | 'optimismGoerli' | 'optimismMainnet' | 'palmTestnet' | 'palmMainnet' | 'arbitrumGoerli' | 'arbitrumMainnet' | 'celoMainnet' | 'celoAlfajores' | 'avalancheCChain' | 'avalancheCChainFuji' | 'starknetMainnet' | 'starknetGoerli' | 'xdcMainnet' | 'xdcApothem';
export type EthereumNetwork = 'localhost' | 'mainnet' | 'sepolia' | 'goerli' | 'polygonMumbai' | 'polygonMainnet' | 'polygonZKEVM' | 'polygonZKEVMTestnet' | 'auroraTestnet' | 'auroraMainnet' | 'optimismGoerli' | 'optimismMainnet' | 'palmTestnet' | 'palmMainnet' | 'arbitrumGoerli' | 'arbitrumMainnet' | 'celoMainnet' | 'celoAlfajores' | 'avalancheCChain' | 'avalancheCChainFuji' | 'starknetMainnet' | 'starknetGoerli' | 'xdcMainnet' | 'xdcApothem' | 'fantomMainnet' | 'fantomTestnet';
export type ExtendedNetwork = Network & {

@@ -8,0 +8,0 @@ url: string;

@@ -184,2 +184,15 @@ "use strict";

},
fantomMainnet: {
url: 'https://rpc.fantom.network',
chainId: evmChainIdMap.fantomMainnet,
isMainnet: true,
symbol: 'FTM',
network: 'Fantom',
},
fantomTestnet: {
url: 'https://rpc.testnet.fantom.network',
chainId: evmChainIdMap.fantomTestnet,
symbol: 'FTM',
network: 'Fantom Testnet',
},
// bscMainnet: {

@@ -194,6 +207,2 @@ // url: 'https://bsc.rpc.blxrbdn.com',

// },
// fantom: {
// url: 'https://rpc.fantom.network',
// chainId: evnChainIdMap.fantom,
// },
// gnosis: {

@@ -200,0 +209,0 @@ // url: 'https://rpc.gnosischain.com',

{
"name": "@civic/civic-eth-provider",
"version": "0.0.11",
"version": "0.0.12",
"main": "./dist/cjs/index.js",

@@ -52,3 +52,3 @@ "module": "./dist/esm/index.js",

},
"gitHead": "70a4b5473fd255d23dc4db25e13b97b8a494a976"
"gitHead": "32e0ab43d2f4c9dbfc455a68ef7f0c022ccd46de"
}

@@ -26,3 +26,4 @@ {

"25": "cronos",
"250": "fantom",
"250": "fantomMainnet",
"4002": "fantomTestnet",
"100": "gnosis",

@@ -29,0 +30,0 @@ "1284": "moonbeam",

@@ -31,3 +31,5 @@ import { Network } from '@ethersproject/networks';

| 'xdcMainnet'
| 'xdcApothem';
| 'xdcApothem'
| 'fantomMainnet'
| 'fantomTestnet';

@@ -34,0 +36,0 @@ export type ExtendedNetwork = Network & { url: string; isMainnet?: boolean; symbol?: string; network: string };

@@ -188,2 +188,15 @@ import R from 'ramda';

},
fantomMainnet: {
url: 'https://rpc.fantom.network',
chainId: evmChainIdMap.fantomMainnet,
isMainnet: true,
symbol: 'FTM',
network: 'Fantom',
},
fantomTestnet: {
url: 'https://rpc.testnet.fantom.network',
chainId: evmChainIdMap.fantomTestnet,
symbol: 'FTM',
network: 'Fantom Testnet',
},
// bscMainnet: {

@@ -198,6 +211,2 @@ // url: 'https://bsc.rpc.blxrbdn.com',

// },
// fantom: {
// url: 'https://rpc.fantom.network',
// chainId: evnChainIdMap.fantom,
// },
// gnosis: {

@@ -204,0 +213,0 @@ // url: 'https://rpc.gnosischain.com',

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc