@waves/js-test-env
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -24,3 +24,3 @@ "use strict"; | ||
function injectEnv(f) { | ||
return (po, seed) => f(Object.assign({ chainId: global.env.CHAIN_ID, additionalFee: seed === undefined && global.env.isScripted ? 400000 : undefined }, po), seed === null ? null : seed || envSeed() || (() => { | ||
return (po, seed) => f(Object.assign({ chainId: global.env.CHAIN_ID, additionalFee: global.env.defaultAdditionalFee }, po), seed === null ? null : seed || envSeed() || (() => { | ||
throw new Error(NO_SEED_MSG); | ||
@@ -27,0 +27,0 @@ })()); |
{ | ||
"name": "@waves/js-test-env", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "", | ||
@@ -37,3 +37,3 @@ "main": "dist/index.js", | ||
"tslint": "^5.17.0", | ||
"typedoc": "^0.14.2", | ||
"typedoc": "^0.15.0", | ||
"typedoc-plugin-external-module-name": "^2.1.0", | ||
@@ -40,0 +40,0 @@ "typescript": "^3.5.1" |
18527