diff --git a/bin/cli b/bin/cli index c350212e4..a467e0d30 100755 --- a/bin/cli +++ b/bin/cli @@ -8,7 +8,7 @@ console.error('%s%s', if (process.argv.length > 2 && process.argv[2] === 'wallet') { process.argv.splice(2, 1); // Evil hack. - require('namebase-hs-client/bin/hsw-cli'); + require('@namebasehq/hs-client/bin/hsw-cli'); } else { - require('namebase-hs-client/bin/hsd-cli'); + require('@namebasehq/hs-client/bin/hsd-cli'); } diff --git a/package-lock.json b/package-lock.json index 6e986d864..a61ce476d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "2.5.5", "license": "MIT", "dependencies": { + "@namebasehq/hs-client": "0.0.11", "bcfg": "~0.2.2", "bcrypto": "~5.4.0", "bdb": "~1.5.2", @@ -36,7 +37,6 @@ "hs-client": "~0.0.13", "mrmr": "~0.1.8", "n64": "~0.2.10", - "namebase-hs-client": "github:namebasehq/hs-client#semver:~0.0.10", "urkel": "~0.7.0" }, "bin": { @@ -55,6 +55,38 @@ "node": ">=8.0.0" } }, + "node_modules/@namebasehq/hs-client": { + "name": "namebase-hs-client", + "version": "0.0.11", + "resolved": "git+ssh://git@github.com/namebasehq/hs-client.git#74ca686e8f73d68aa68d8bcc0efa468afc11a284", + "license": "MIT", + "dependencies": { + "bcfg": "~0.1.7", + "bcurl": "~0.2.0", + "bsert": "~0.0.10" + }, + "bin": { + "hsd-cli": "bin/hsd-cli", + "hsd-rpc": "bin/hsd-rpc", + "hsw-cli": "bin/hsw-cli", + "hsw-rpc": "bin/hsw-rpc" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@namebasehq/hs-client/node_modules/bcfg": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/bcfg/-/bcfg-0.1.8.tgz", + "integrity": "sha512-1zHJM1/sztv9ldutWyJDZSRYQJEuRBTIzLWZ2J5ncWoWI2T6b4/hahhvQmnzucfeleU5Mx5+bcwCsF2wcWt2vA==", + "license": "MIT", + "dependencies": { + "bsert": "~0.0.10" + }, + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/bcfg": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/bcfg/-/bcfg-0.2.2.tgz", @@ -484,36 +516,6 @@ "node": ">=2.0.0" } }, - "node_modules/namebase-hs-client": { - "version": "0.0.10", - "resolved": "git+ssh://git@github.com/namebasehq/hs-client.git#27ab5222d541cbb805107c4ac39b946f21bb0ad7", - "license": "MIT", - "dependencies": { - "bcfg": "~0.1.7", - "bcurl": "~0.2.0", - "bsert": "~0.0.10" - }, - "bin": { - "hsd-cli": "bin/hsd-cli", - "hsd-rpc": "bin/hsd-rpc", - "hsw-cli": "bin/hsw-cli", - "hsw-rpc": "bin/hsw-rpc" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/namebase-hs-client/node_modules/bcfg": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/bcfg/-/bcfg-0.1.8.tgz", - "integrity": "sha512-1zHJM1/sztv9ldutWyJDZSRYQJEuRBTIzLWZ2J5ncWoWI2T6b4/hahhvQmnzucfeleU5Mx5+bcwCsF2wcWt2vA==", - "dependencies": { - "bsert": "~0.0.10" - }, - "engines": { - "node": ">=8.0.0" - } - }, "node_modules/unbound": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/unbound/-/unbound-0.4.3.tgz", diff --git a/package.json b/package.json index 877f979a5..334f59457 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "hs-client": "~0.0.13", "mrmr": "~0.1.8", "n64": "~0.2.10", - "namebase-hs-client": "github:namebasehq/hs-client#semver:~0.0.10", + "@namebasehq/hs-client": "0.0.11", "urkel": "~0.7.0" }, "devDependencies": { diff --git a/test/wallet-http-test.js b/test/wallet-http-test.js index a71051ab5..a5f9fb35f 100644 --- a/test/wallet-http-test.js +++ b/test/wallet-http-test.js @@ -10,7 +10,7 @@ 'use strict'; -const { NodeClient, WalletClient } = require('namebase-hs-client'); +const { NodeClient, WalletClient } = require('@namebasehq/hs-client'); const Network = require('../lib/protocol/network'); const FullNode = require('../lib/node/fullnode'); const MTX = require('../lib/primitives/mtx');