bnc-assist
Advanced tools
Comparing version 0.7.2 to 0.7.3
@@ -96,3 +96,3 @@ // For a detailed explanation regarding each configuration property, visit: | ||
// Use this configuration option to add custom reporters to Jest | ||
// reporters: undefined, | ||
reporters: ['default', './internals/jestReporter.js'], | ||
@@ -99,0 +99,0 @@ // Automatically reset mock state between every test |
@@ -5,3 +5,3 @@ { | ||
"web3": [ | ||
"1.0.0-beta.54", | ||
"1.0.0-beta.55", | ||
"1.0.0-beta.46", | ||
@@ -8,0 +8,0 @@ "1.0.0-beta.37", |
{ | ||
"name": "bnc-assist", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"description": "Blocknative Assist js library for Dapp developers", | ||
@@ -59,2 +59,3 @@ "main": "lib/assist.min.js", | ||
"eslint-plugin-prettier": "^3.0.0", | ||
"ganache-cli": "^6.4.3", | ||
"husky": "^1.3.1", | ||
@@ -65,2 +66,3 @@ "jest": "^23.6.0", | ||
"jest-dom": "^3.0.0", | ||
"kill-port": "^1.4.0", | ||
"mock-socket": "^8.0.5", | ||
@@ -79,2 +81,3 @@ "mockdate": "^2.0.2", | ||
"rollup-plugin-uglify": "^6.0.0", | ||
"truffle-contract": "^4.0.15", | ||
"web3": "^1.0.0-beta.37" | ||
@@ -81,0 +84,0 @@ }, |
@@ -46,3 +46,3 @@ # Assist.js | ||
The library uses [semantic versioning](https://semver.org/spec/v2.0.0.html). | ||
The current version is 0.7.2. | ||
The current version is 0.7.3. | ||
There are minified and non-minified versions. | ||
@@ -52,7 +52,7 @@ Put this script at the top of your `<head>` | ||
```html | ||
<script src="https://assist.blocknative.com/0-7-2/assist.js"></script> | ||
<script src="https://assist.blocknative.com/0-7-3/assist.js"></script> | ||
<!-- OR... --> | ||
<script src="https://assist.blocknative.com/0-7-2/assist.min.js"></script> | ||
<script src="https://assist.blocknative.com/0-7-3/assist.min.js"></script> | ||
``` | ||
@@ -59,0 +59,0 @@ |
@@ -46,3 +46,3 @@ import { promisify } from 'bluebird' | ||
state.config.truffleContract | ||
? contractMethod.estimateGas(...parameters, txObject) | ||
? contractMethod.estimateGas(...parameters) | ||
: promisify(contractMethod.estimateGas)(...parameters, txObject) | ||
@@ -52,3 +52,3 @@ case '1.0': | ||
state.config.truffleContract | ||
? contractMethod.estimateGas(...parameters, txObject) | ||
? contractMethod.estimateGas(...parameters) | ||
: contractMethod(...parameters).estimateGas(txObject) | ||
@@ -55,0 +55,0 @@ default: |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
2289449
86
10253
41
1