paid-services 5.0.4 → 5.0.5

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
@@ -1,5 +1,9 @@
1
1
  # Versions
2
2
 
3
+ ## Version 5.0.5
4
+
5
+ - `manageTrades`: Fix advertising trades with a TorV3 network address
6
+
3
7
  ## Version 5.0.4
4
8
 
5
9
  - `createGroupChannel`, `joinGroupChannel`, `manageGroupJoin`: Double check
package/package.json CHANGED
@@ -7,25 +7,26 @@
7
7
  "url": "https://github.com/alexbosworth/paid-services/issues"
8
8
  },
9
9
  "dependencies": {
10
- "@alexbosworth/fiat": "1.0.4",
10
+ "@alexbosworth/blockchain": "1.7.0",
11
+ "@alexbosworth/fiat": "2.0.0",
11
12
  "async": "3.2.4",
12
- "asyncjs-util": "1.2.11",
13
+ "asyncjs-util": "1.2.12",
13
14
  "bech32": "2.0.0",
14
- "bolt01": "1.2.6",
15
- "bolt07": "1.8.3",
15
+ "bolt01": "2.0.0",
16
+ "bolt07": "1.8.4",
16
17
  "ecpair": "2.1.0",
17
- "goldengate": "12.0.5",
18
- "invoices": "2.2.3",
19
- "ln-service": "56.3.0",
20
- "ln-sync": "5.2.0",
21
- "psbt": "2.7.2",
22
- "p2tr": "1.3.3",
23
- "tiny-secp256k1": "2.2.1"
18
+ "goldengate": "13.0.2",
19
+ "invoices": "3.0.0",
20
+ "ln-service": "56.14.0",
21
+ "ln-sync": "5.2.3",
22
+ "psbt": "3.0.0",
23
+ "p2tr": "2.0.0",
24
+ "tiny-secp256k1": "2.2.3"
24
25
  },
25
26
  "description": "Lightning Paid Services library",
26
27
  "devDependencies": {
27
28
  "@alexbosworth/tap": "15.0.12",
28
- "ln-docker-daemons": "5.0.2",
29
+ "ln-docker-daemons": "5.1.3",
29
30
  "mock-lnd": "1.4.4",
30
31
  "secp256k1": "5.0.0"
31
32
  },
@@ -44,8 +45,8 @@
44
45
  "url": "https://github.com/alexbosworth/paid-services.git"
45
46
  },
46
47
  "scripts": {
47
- "integration-tests": "tap -j 2 --branches=1 --functions=1 --lines=1 --statements=1 -t 180 test/integration/*.js",
48
+ "integration-tests": "tap -j 2 --branches=1 --functions=1 --lines=1 --statements=1 -t 2700 test/integration/*.js",
48
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"
49
50
  },
50
- "version": "5.0.4"
51
+ "version": "5.0.5"
51
52
  }
@@ -31,7 +31,10 @@
31
31
  "typeRequest": "11",
32
32
  "typeTimeout": "12",
33
33
  "typeTokens": "13",
34
- "typeInboundPeer": "14"
34
+ "typeInboundPeer": "14",
35
+ "typeRefundCoopPublicKey": "15",
36
+ "typeRefundCoopPublicKeyHash": "16",
37
+ "typeClaimCoopPublicKey": "17"
35
38
  },
36
39
  "pushTypes": {
37
40
  "typeSwapId": "0",
@@ -90,7 +90,7 @@ module.exports = ({channels, id, sockets}) => {
90
90
  }
91
91
 
92
92
  if (!!torV3) {
93
- records.push({type: torV3SocketsType, value: ipV6});
93
+ records.push({type: torV3SocketsType, value: torV3});
94
94
  }
95
95
 
96
96
  // Return the node identity key and network sockets