paid-services 6.2.1 → 6.2.2
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/package.json
CHANGED
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
"bolt07": "1.9.4",
|
|
17
17
|
"ecpair": "2.1.0",
|
|
18
18
|
"goldengate": "14.0.10",
|
|
19
|
-
"invoices": "
|
|
20
|
-
"ln-service": "57.
|
|
21
|
-
"ln-sync": "6.
|
|
22
|
-
"psbt": "
|
|
19
|
+
"invoices": "4.0.0",
|
|
20
|
+
"ln-service": "57.27.1",
|
|
21
|
+
"ln-sync": "6.5.0",
|
|
22
|
+
"psbt": "4.0.0",
|
|
23
23
|
"p2tr": "2.0.0",
|
|
24
|
-
"tiny-secp256k1": "2.2.
|
|
24
|
+
"tiny-secp256k1": "2.2.4"
|
|
25
25
|
},
|
|
26
26
|
"description": "Lightning Paid Services library",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@alexbosworth/tap": "15.0.12",
|
|
29
|
-
"ln-docker-daemons": "6.0.
|
|
29
|
+
"ln-docker-daemons": "6.0.27",
|
|
30
30
|
"mock-lnd": "2.0.0",
|
|
31
31
|
"secp256k1": "5.0.1"
|
|
32
32
|
},
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"integration-tests": "tap -j 1 --branches=1 --functions=1 --lines=1 --statements=1 -t 2700 test/integration/*.js",
|
|
49
49
|
"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/swaps/*.js test/services/*.js test/trades/*.js"
|
|
50
50
|
},
|
|
51
|
-
"version": "6.2.
|
|
51
|
+
"version": "6.2.2"
|
|
52
52
|
}
|
package/swaps/manage_swap.js
CHANGED
|
@@ -23,7 +23,7 @@ const decodeLoopResponse = require('./decode_loop_response');
|
|
|
23
23
|
const decodeOffToOnRecovery = require('./decode_off_to_on_recovery');
|
|
24
24
|
const encodeLoopResponse = require('./encode_loop_response');
|
|
25
25
|
|
|
26
|
-
const defaultFundAt = () => new Date(Date.now() + (1000 *
|
|
26
|
+
const defaultFundAt = () => new Date(Date.now() + (1000 * 3600)).toISOString();
|
|
27
27
|
const family = 805;
|
|
28
28
|
const hexAsBuffer = hex => Buffer.from(hex, 'hex');
|
|
29
29
|
const maxServiceFee = 1337;
|