@civic/civic-eth-provider
Advanced tools
Comparing version 0.0.11 to 0.0.12
# @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 |
@@ -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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
97964
1347
5