diff --git a/package-lock.json b/package-lock.json index 88785e4..f092200 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1499,12 +1499,14 @@ } }, "regtest-client": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/regtest-client/-/regtest-client-0.1.0.tgz", - "integrity": "sha512-qTy+VvEKx8NRxSCr1jr+l9d+DeF06lxxWU9kmS8+kRVtgWHBTZYgQwRN6KkVqBGYP1Vls6dlG9X874WWTEurSQ==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/regtest-client/-/regtest-client-0.2.0.tgz", + "integrity": "sha512-eIcC8Kle/wjS47pRlw7nJpstrJDWp0bkvVPl2KJpJcK3JDNW0fMxJgE/CGpMEUSjhhFXW1rtJMN6kyKw5NIzqg==", "dev": true, "requires": { - "dhttp": "^3.0.3" + "bs58check": "^2.1.2", + "dhttp": "^3.0.3", + "randombytes": "^2.1.0" } }, "release-zalgo": { diff --git a/package.json b/package.json index 63b33bf..dca3bd7 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "nyc": "^14.1.1", "prettier": "1.16.4", "proxyquire": "^2.0.1", - "regtest-client": "0.1.0", + "regtest-client": "0.2.0", "rimraf": "^2.6.3", "tslint": "^5.16.0", "typescript": "3.2.2" diff --git a/test/integration/_regtest.js b/test/integration/_regtest.js index 02913a8..c50ef2f 100644 --- a/test/integration/_regtest.js +++ b/test/integration/_regtest.js @@ -1,9 +1,8 @@ const { RegtestUtils } = require('regtest-client') -const bitcoin = require('../..') const APIPASS = process.env.APIPASS || 'satoshi' const APIURL = process.env.APIURL || 'https://regtest.bitbank.cc/1' -const regtestUtils = new RegtestUtils(bitcoin, { APIPASS, APIURL }) +const regtestUtils = new RegtestUtils({ APIPASS, APIURL }) module.exports = regtestUtils;