fix: default values
This commit is contained in:
parent
64c5a68639
commit
76f8cb036d
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gas-price-oracle",
|
"name": "gas-price-oracle",
|
||||||
"version": "0.4.2",
|
"version": "0.4.3",
|
||||||
"description": "Gas Price Oracle library for Ethereum dApps.",
|
"description": "Gas Price Oracle library for Ethereum dApps.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"homepage": "https://github.com/peppersec/gas-price-oracle",
|
"homepage": "https://github.com/peppersec/gas-price-oracle",
|
||||||
|
@ -17,8 +17,8 @@ import {
|
|||||||
const defaultFastGas = 22;
|
const defaultFastGas = 22;
|
||||||
export class GasPriceOracle {
|
export class GasPriceOracle {
|
||||||
lastGasPrice: GasPrice;
|
lastGasPrice: GasPrice;
|
||||||
offChainOracles: OffChainOracles;
|
offChainOracles: OffChainOracles = {};
|
||||||
onChainOracles: OnChainOracles;
|
onChainOracles: OnChainOracles = {};
|
||||||
configuration: Config = {
|
configuration: Config = {
|
||||||
chainId: ChainId.MAINNET,
|
chainId: ChainId.MAINNET,
|
||||||
defaultRpc: 'https://api.mycryptoapi.com/eth',
|
defaultRpc: 'https://api.mycryptoapi.com/eth',
|
||||||
|
Loading…
Reference in New Issue
Block a user