@augurproject/utils
Advanced tools
Comparing version 2.1.8 to 2.1.9
@@ -22,2 +22,3 @@ import { LoggerLevels } from './logger'; | ||
gas?: { | ||
override?: boolean; | ||
limit?: number; | ||
@@ -55,2 +56,3 @@ price?: number; | ||
}; | ||
delayTillSDKReady?: boolean; | ||
}; | ||
@@ -88,5 +90,5 @@ syncing?: { | ||
trackMarketInvalidBids?: boolean; | ||
fallbackProvider?: "jsonrpc" | "torus"; | ||
liteProvider?: "jsonrpc" | "default"; | ||
primaryProvider?: "jsonrpc" | "wallet"; | ||
fallbackProvider?: 'jsonrpc' | 'torus'; | ||
liteProvider?: 'jsonrpc' | 'default'; | ||
primaryProvider?: 'jsonrpc' | 'wallet'; | ||
}; | ||
@@ -93,0 +95,0 @@ } |
@@ -43,2 +43,3 @@ "use strict"; | ||
gas: { | ||
override: false, | ||
price: 1e9, | ||
@@ -99,5 +100,5 @@ limit: 95e5 | ||
trackMarketInvalidBids: true, | ||
fallbackProvider: "torus", | ||
liteProvider: "jsonrpc", | ||
primaryProvider: "wallet" | ||
fallbackProvider: 'torus', | ||
liteProvider: 'jsonrpc', | ||
primaryProvider: 'wallet' | ||
} | ||
@@ -237,2 +238,4 @@ }; | ||
config = d(config, { ethereum: { rpcConcurrency: Number(e.ETHEREUM_RPC_CONCURRENCY) } }); | ||
if (t(e.GAS_OVERRIDE)) | ||
config = d(config, { gas: { override: bool(e.GAS_OVERRIDE) } }); | ||
if (t(e.GAS_LIMIT)) | ||
@@ -239,0 +242,0 @@ config = d(config, { gas: { limit: Number(e.GAS_LIMIT) } }); |
{ | ||
"name": "@augurproject/utils", | ||
"version": "2.1.8", | ||
"version": "2.1.9", | ||
"description": "Grab bag of formatting and ABI encoding/decoding functions", | ||
@@ -23,3 +23,3 @@ "author": "The Augur Developers <team@augur.net>", | ||
}, | ||
"gitHead": "74b2c2c542807c01c02f432e30bfdfcfc7b49f8d" | ||
"gitHead": "8461ec4e7f2d33f4c66de9d63f0b8788ce7552d8" | ||
} |
@@ -44,2 +44,3 @@ import { LoggerLevels } from './logger'; | ||
gas?: { | ||
override?: boolean, | ||
limit?: number, | ||
@@ -77,2 +78,3 @@ price?: number | ||
} | ||
delayTillSDKReady?: boolean | ||
}, | ||
@@ -110,5 +112,5 @@ syncing?: { | ||
trackMarketInvalidBids?: boolean, | ||
fallbackProvider?: "jsonrpc" | "torus", | ||
liteProvider?: "jsonrpc" | "default", | ||
primaryProvider?: "jsonrpc" | "wallet" | ||
fallbackProvider?: 'jsonrpc' | 'torus', | ||
liteProvider?: 'jsonrpc' | 'default', | ||
primaryProvider?: 'jsonrpc' | 'wallet' | ||
} | ||
@@ -211,2 +213,3 @@ }; | ||
gas: { | ||
override: false, | ||
price: 1e9, | ||
@@ -267,5 +270,5 @@ limit: 95e5 | ||
trackMarketInvalidBids: true, | ||
fallbackProvider: "torus", | ||
liteProvider: "jsonrpc", | ||
primaryProvider: "wallet" | ||
fallbackProvider: 'torus', | ||
liteProvider: 'jsonrpc', | ||
primaryProvider: 'wallet' | ||
} | ||
@@ -382,2 +385,3 @@ }; | ||
if (t(e.GAS_OVERRIDE)) config = d(config, { gas: { override: bool(e.GAS_OVERRIDE) }}); | ||
if (t(e.GAS_LIMIT)) config = d(config, { gas: { limit: Number(e.GAS_LIMIT) }}); | ||
@@ -384,0 +388,0 @@ if (t(e.GAS_PRICE)) config = d(config, { gas: { price: Number(e.GAS_PRICE) }}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
431585
2967