paid-services 3.17.0 → 3.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -59,7 +59,7 @@ module.exports = ({ask, lnd, logger}, cbk) => {
|
|
|
59
59
|
rate: askForDetails.rate,
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
-
join.once('end', ({id}) => cbk(null, {id}));
|
|
62
|
+
join.once('end', ({id}) => cbk(null, {transaction_id: id}));
|
|
63
63
|
join.once('error', err => cbk(err));
|
|
64
64
|
|
|
65
65
|
join.once('peering', async ({inbound, outbound}) => {
|
|
@@ -70,7 +70,7 @@ module.exports = ({ask, lnd, logger}, cbk) => {
|
|
|
70
70
|
return logger.info({peering_with: formatNodes(nodes)});
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
join.once('publishing', () => logger.info({
|
|
73
|
+
join.once('publishing', ({signed}) => logger.info({signed}));
|
|
74
74
|
|
|
75
75
|
return;
|
|
76
76
|
}],
|
|
@@ -107,7 +107,7 @@ module.exports = ({ask, lnd, logger}, cbk) => {
|
|
|
107
107
|
coordinate.events.once('broadcast', broadcast => {
|
|
108
108
|
coordinate.events.removeAllListeners();
|
|
109
109
|
|
|
110
|
-
return cbk(null, {
|
|
110
|
+
return cbk(null, {transaction_id: broadcast.id});
|
|
111
111
|
});
|
|
112
112
|
|
|
113
113
|
coordinate.events.once('error', err => {
|
|
@@ -169,7 +169,7 @@ module.exports = ({capacity, coordinator, count, id, lnd, rate}, cbk) => {
|
|
|
169
169
|
// Publish partial signatures to coordinator
|
|
170
170
|
reveal: ['incoming', 'register', ({register}, cbk) => {
|
|
171
171
|
// Let listeners know that the signature will be sent to coordinator
|
|
172
|
-
emitter.emit('publishing', {});
|
|
172
|
+
emitter.emit('publishing', {signed: register.psbt});
|
|
173
173
|
|
|
174
174
|
return registerSignedOpen({
|
|
175
175
|
coordinator,
|
package/package.json
CHANGED
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"integration-tests": "tap -j 2 --branches=1 --functions=1 --lines=1 --statements=1 -t 180 test/integration/*.js",
|
|
48
48
|
"test": "tap --branches=1 --functions=1 --lines=1 --statements=1 -t 60 test/actions/*.js test/balanced/*.js test/capacity/*.js test/client/*.js test/config/*.js test/p2p/*.js test/records/*.js test/respond/*.js test/server/*.js test/server/*.js test/services/*.js test/trades/*.js"
|
|
49
49
|
},
|
|
50
|
-
"version": "3.17.
|
|
50
|
+
"version": "3.17.1"
|
|
51
51
|
}
|