Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

Commit 5e1f76f

Browse files
committed
v0.4.6
1 parent 644cc70 commit 5e1f76f

File tree

5 files changed

+22
-23
lines changed

5 files changed

+22
-23
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iota.lib.js",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"description": "Javascript Library for IOTA",
55
"main": "./dist/iota.js",
66
"authors": [

dist/iota.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ api.prototype.sendTransfer = function(seed, depth, minWeightMagnitude, transfers
629629
return callback(error)
630630
}
631631

632-
self.sendTrytes(trytes, depth, minWeightMagnitude, callback);
632+
self.sendTrytes(trytes, depth, minWeightMagnitude, options, callback);
633633
})
634634
}
635635

@@ -657,9 +657,8 @@ api.prototype.promoteTransaction = function(tail, depth, minWeightMagnitude, tra
657657
return callback(errors.inconsistentSubtangle(tail));
658658
}
659659

660-
if (params.interrupt === true) {
661-
return callback(null, tail);
662-
}
660+
if (params.interrupt === true || (typeof(params.interrupt) === 'function' && params.interrupt()))
661+
return callback(null, tail);
663662

664663
self.sendTransfer(transfer[0].address, depth, minWeightMagnitude, transfer, {reference: tail}, function(err, res) {
665664
if (err == null && params.delay > 0) {
@@ -20768,7 +20767,7 @@ process.umask = function() { return 0; };
2076820767
},{}],60:[function(require,module,exports){
2076920768
module.exports={
2077020769
"name": "iota.lib.js",
20771-
"version": "0.4.5",
20770+
"version": "0.4.6",
2077220771
"description": "Javascript Library for IOTA",
2077320772
"main": "./lib/iota.js",
2077420773
"scripts": {

dist/iota.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iota.lib.js",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"description": "Javascript Library for IOTA",
55
"main": "./lib/iota.js",
66
"scripts": {

0 commit comments

Comments
 (0)