Skip to content

Commit

Permalink
Update bip68 dep.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Cardona committed Nov 27, 2018
1 parent 8a89bb3 commit cacf8cd
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const BITBOXSDK = require("./lib/bitbox-sdk").default
const clone = require("git-clone")
const cmd = require("node-cmd")

program.version("2.2.3 ", "-v, --version")
program.version("2.2.4 ", "-v, --version")

program
.command("new <name>")
Expand Down
6 changes: 3 additions & 3 deletions lib/TransactionBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ var _bip = require("bip66");

var _bip2 = _interopRequireDefault(_bip);

var _bip3 = require("bip68");
var _bcBip = require("bc-bip68");

var _bip4 = _interopRequireDefault(_bip3);
var _bcBip2 = _interopRequireDefault(_bcBip);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

Expand Down Expand Up @@ -55,7 +55,7 @@ var TransactionBuilder = function () {
ADVANCED_TRANSACTION_FLAG: 0x01
};
this.bip66 = _bip2.default;
this.bip68 = _bip4.default;
this.bip68 = _bcBip2.default;
this.p2shInput = false;
this.tx;
}
Expand Down
10 changes: 6 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bitbox-sdk",
"version": "2.2.3",
"version": "2.2.4",
"description": "BITBOX Javascript SDK for Bitcoin Cash",
"author": "Gabriel Cardona @ Bitcoin.com",
"main": "index.js",
Expand Down Expand Up @@ -37,7 +37,7 @@
"bip38": "^2.0.2",
"bip39": "^2.5.0",
"bip66": "^1.1.5",
"bip68": "Bitcoin-com/bip68#1.0.5",
"bc-bip68": "^1.0.5",
"bitcoin-ops": "Bitcoin-com/bitcoincash-ops#1.5.0",
"bitcoin-txdecoder": "0.0.3",
"bitcoincashjs-lib": "Bitcoin-com/bitcoincashjs-lib#3.3.4",
Expand Down
2 changes: 1 addition & 1 deletion src/TransactionBuilder.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Bitcoin from "bitcoincashjs-lib"
import coininfo from "coininfo"
import bip66 from "bip66"
import bip68 from "bip68"
import bip68 from "bc-bip68"

class TransactionBuilder {
static setAddress(address) {
Expand Down

0 comments on commit cacf8cd

Please sign in to comment.