Update regtest-client
This commit is contained in:
parent
af8f41a1e5
commit
a3b6cdabb9
3 changed files with 8 additions and 7 deletions
10
package-lock.json
generated
10
package-lock.json
generated
|
@ -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": {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue