@generationsoftware/pt-v5-autotasks-library
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -0,1 +1,2 @@ | ||
import chalk from 'chalk'; | ||
import { loadEnvVars } from './index.js'; | ||
@@ -6,2 +7,7 @@ export const loadDrawAuctionEnvVars = () => { | ||
const errorStateMaxGasCostThresholdUsd = Number(process.env.ERROR_STATE_MAX_GAS_COST_THRESHOLD_USD); | ||
if (!errorStateMaxGasCostThresholdUsd) { | ||
const message = 'Error: Unable to find necessary environment variables, please ensure your environment is set up correctly with the ERROR_STATE_MAX_GAS_COST_THRESHOLD_USD variable. Refer to the README for more info.'; | ||
console.log(chalk.red(message)); | ||
throw new Error(message); | ||
} | ||
return { | ||
@@ -8,0 +14,0 @@ ...envVars, |
{ | ||
"name": "@generationsoftware/pt-v5-autotasks-library", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Library of shared utils to run PoolTogether v5 hyperstructure autotasks.", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
447901
7374