1 Commits

Author SHA1 Message Date
Danil Kovtonyuk
76f8cb036d fix: default values 2021-11-16 01:51:22 +10:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "gas-price-oracle",
"version": "0.4.2",
"version": "0.4.3",
"description": "Gas Price Oracle library for Ethereum dApps.",
"main": "lib/index.js",
"homepage": "https://github.com/peppersec/gas-price-oracle",

View File

@@ -17,8 +17,8 @@ import {
const defaultFastGas = 22;
export class GasPriceOracle {
lastGasPrice: GasPrice;
offChainOracles: OffChainOracles;
onChainOracles: OnChainOracles;
offChainOracles: OffChainOracles = {};
onChainOracles: OnChainOracles = {};
configuration: Config = {
chainId: ChainId.MAINNET,
defaultRpc: 'https://api.mycryptoapi.com/eth',