diff --git a/README.md b/README.md index b7b96d0..0290ce6 100644 --- a/README.md +++ b/README.md @@ -31,5 +31,3 @@ cd slp-sdk - [Badger Wallet](https://badger.bitcoin.com/) - [Electron Cash SLP](https://github.com/simpleledger/Electron-Cash-SLP) - -deploy diff --git a/index.js b/index.js index 42f0c02..6a845c3 100755 --- a/index.js +++ b/index.js @@ -13,7 +13,7 @@ const repl = require("repl") const SLP = require("./lib/SLP") const clone = require("git-clone") -program.version("3.7.0", "-v, --version") +program.version("4.0.0", "-v, --version") program .command("new ") diff --git a/package-lock.json b/package-lock.json index f005ccd..b3673fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "slp-sdk", - "version": "3.7.0", + "version": "4.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1747,6 +1747,17 @@ "file-uri-to-path": "1.0.0" } }, + "bip-schnorr": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/bip-schnorr/-/bip-schnorr-0.3.0.tgz", + "integrity": "sha512-Sc1Hn2+1n+okPEW8G+JLjeaM12dsUOwr+oFlMDSKR9wYwNGMw0alskeBIHTmXxBxMZSWKhCW7PwKQVDyGmnaVg==", + "requires": { + "ecurve": "^1.0.6", + "js-sha256": "^0.9.0", + "random-bytes": "^1.0.0", + "safe-buffer": "^5.0.1" + } + }, "bip21": { "version": "github:Bitcoin-com/bip21#28f8d03a3a16ed11eb5b963248ed1be8c46c6d6f", "from": "github:Bitcoin-com/bip21", @@ -1799,9 +1810,9 @@ } }, "bitbox-sdk": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/bitbox-sdk/-/bitbox-sdk-5.1.3.tgz", - "integrity": "sha512-u2fFCp0VM6QruyWnepiV1IVpx4ltF0y/N/dmp5Un0JcyxKUqk4Ajt5TatWcqEjY3Fyx4EhfPCzdRVAQ1HyYnIQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/bitbox-sdk/-/bitbox-sdk-6.0.0.tgz", + "integrity": "sha512-QK5rGg7YMzhvAPjZlhMyJ34sEqyJjsig4nGU+NfrMJrUu/WeTJkJmPt+PHwnZ73unEtzDVepkm5zNQp5Ov/mmQ==", "requires": { "assert": "^1.4.1", "axios": "^0.17.1", @@ -1812,6 +1823,7 @@ "bc-bip68": "^1.0.5", "bch-wallet-bridge.js": "github:web3bch/bch-wallet-bridge.js#master", "bigi": "^1.4.2", + "bip-schnorr": "^0.3.0", "bip21": "github:Bitcoin-com/bip21", "bip32-utils": "github:Bitcoin-com/bip32-utils#0.13.1", "bip38": "^2.0.2", @@ -2154,9 +2166,9 @@ } }, "caniuse-lite": { - "version": "1.0.30000963", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000963.tgz", - "integrity": "sha512-n4HUiullc7Lw0LyzpeLa2ffP8KxFBGdxqD/8G3bSL6oB758hZ2UE2CVK+tQN958tJIi0/tfpjAc67aAtoHgnrQ==" + "version": "1.0.30000966", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000966.tgz", + "integrity": "sha512-qqLQ/uYrpZmFhPY96VuBkMEo8NhVFBZ9y/Bh+KnvGzGJ5I8hvpIaWlF2pw5gqe4PLAL+ZjsPgMOvoXSpX21Keg==" }, "cardinal": { "version": "2.1.1", @@ -3085,9 +3097,9 @@ } }, "electron-to-chromium": { - "version": "1.3.127", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.127.tgz", - "integrity": "sha512-1o25iFRf/dbgauTWalEzmD1EmRN3a2CzP/K7UVpYLEBduk96LF0FyUdCcf4Ry2mAWJ1VxyblFjC93q6qlLwA2A==" + "version": "1.3.131", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.131.tgz", + "integrity": "sha512-NSO4jLeyGLWrT4mzzfYX8vt1MYCoMI5LxSYAjt0H9+LF/14JyiKJSyyjA6AJTxflZlEM5v3QU33F0ohbPMCAPg==" }, "elliptic": { "version": "6.4.1", @@ -6955,6 +6967,11 @@ "integrity": "sha512-CpKJh9VRNhS+XqZtg1UMejETGEiqwCGDC/uwPEEQwc2nfdbSm73SIE29TplG2gLYuBOOTNDqxzG6A9NtEPLt0w==", "dev": true }, + "js-sha256": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.9.0.tgz", + "integrity": "sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA==" + }, "js-tokens": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", @@ -12975,6 +12992,11 @@ "integrity": "sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=", "dev": true }, + "random-bytes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", + "integrity": "sha1-T2ih3Arli9P7lYSMMDJNt11kNgs=" + }, "randomatic": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz", diff --git a/package.json b/package.json index 0f25728..77833f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "slp-sdk", - "version": "3.7.0", + "version": "4.0.0", "description": "SLP SDK powered by BITBOX", "main": "lib/SLP", "scripts": { @@ -31,7 +31,7 @@ "axios": "^0.17.1", "babel-register": "^6.26.0", "bignumber.js": "^8.0.2", - "bitbox-sdk": "5.1.3", + "bitbox-sdk": "6.0.0", "chalk": "^2.3.0", "clear": "0.1.0", "commander": "^2.13.0",