ln-accounting 5.0.3 → 5.0.6

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,6 +1,6 @@
1
1
  # Versions
2
2
 
3
- ## Version 5.0.3
3
+ ## Version 5.0.6
4
4
 
5
5
  - `getChainTransactions`: Add mempool space tx data lookup method
6
6
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # LND Harmony Accounting
2
2
 
3
- Show LN sends and receives in [Harmony](https://github.com/picksco/harmony)
3
+ Show LN sends and receives in [Harmony](https://github.com/harmony-csv/harmony)
4
4
  format
5
5
 
6
6
  [![npm version](https://badge.fury.io/js/ln-accounting.svg)](https://badge.fury.io/js/ln-accounting)
package/package.json CHANGED
@@ -7,19 +7,19 @@
7
7
  "url": "https://github.com/alexbosworth/ln-accounting/issues"
8
8
  },
9
9
  "dependencies": {
10
- "async": "3.2.1",
11
- "asyncjs-util": "1.2.6",
12
- "bitcoinjs-lib": "5.2.0",
13
- "goldengate": "10.4.0",
14
- "json2csv": "5.0.6",
15
- "ln-service": "52.4.0"
10
+ "async": "3.2.3",
11
+ "asyncjs-util": "1.2.9",
12
+ "bitcoinjs-lib": "6.0.1",
13
+ "goldengate": "11.1.0",
14
+ "json2csv": "5.0.7",
15
+ "ln-service": "53.10.0"
16
16
  },
17
17
  "description": "lnd accounting reports",
18
18
  "devDependencies": {
19
- "@alexbosworth/tap": "15.0.10"
19
+ "@alexbosworth/tap": "15.0.11"
20
20
  },
21
21
  "engines": {
22
- "node": ">=12"
22
+ "node": ">=12.20"
23
23
  },
24
24
  "keywords": [
25
25
  "accounting",
@@ -35,5 +35,5 @@
35
35
  "scripts": {
36
36
  "test": "tap --branches=1 --functions=1 --lines=1 --statements=1 test/blockstream/*.js test/fiat/*.js test/harmony/*.js test/records/*.js"
37
37
  },
38
- "version": "5.0.3"
38
+ "version": "5.0.6"
39
39
  }
@@ -75,7 +75,7 @@ const tests = [
75
75
  is_private: false,
76
76
  is_push: undefined,
77
77
  mtokens: '1000',
78
- payment: '0000000000000000000000000000000000000000000000000000000000000000',
78
+ payment: undefined,
79
79
  payments: [],
80
80
  received: 1,
81
81
  received_mtokens: '1000',
@@ -82,9 +82,9 @@ const tests = [
82
82
  path: [Buffer.alloc(33).toString('hex'), Buffer.alloc(33).toString('hex')],
83
83
  payment_hash: Buffer.alloc(32).toString('hex'),
84
84
  payment_index: '1',
85
- payment_preimage: Buffer.alloc(32).toString('hex'),
85
+ payment_preimage: Buffer.alloc(32, 1).toString('hex'),
86
86
  payment_request: 'lntb1500n1pdn4czkpp5ugdqer05qrrxuchrzkcue94th9w2xzasp9qm7d0yxcgp4uh4kn4qdpa2fjkzep6yprkcmmzv9kzqsmj09c8gmmrw4e8yetwvdujq5n9va6kcct5d9hkucqzysdlghdpua7uvjjkcfj49psxtlqzkp5pdncffdfk2cp3mp76thrl29qhqgzufm503pjj96586n5w6edgw3n66j4rxxs707y4zdjuhyt6qqe5weu4',
87
- status: 'FAILED',
87
+ status: 'SUCCEEDED',
88
88
  value: '1',
89
89
  value_msat: '1000',
90
90
  value_sat: '1',
@@ -137,7 +137,7 @@ const tests = [
137
137
  request: 'lntb1500n1pdn4czkpp5ugdqer05qrrxuchrzkcue94th9w2xzasp9qm7d0yxcgp4uh4kn4qdpa2fjkzep6yprkcmmzv9kzqsmj09c8gmmrw4e8yetwvdujq5n9va6kcct5d9hkucqzysdlghdpua7uvjjkcfj49psxtlqzkp5pdncffdfk2cp3mp76thrl29qhqgzufm503pjj96586n5w6edgw3n66j4rxxs707y4zdjuhyt6qqe5weu4',
138
138
  safe_fee: 1,
139
139
  safe_tokens: 1,
140
- secret: Buffer.alloc(32).toString('hex'),
140
+ secret: Buffer.alloc(32, 1).toString('hex'),
141
141
  tokens: 1,
142
142
  }],
143
143
  },