lnurlcash-conformance 0.1.0 → 0.1.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 +9 -0
- package/mock-mint/index.mjs +8 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ Semantic versioning. While the LUD-25 draft is unmerged, `0.x` minor bumps
|
|
|
4
4
|
may add or tighten checks that a previously-passing mint now fails; pin an
|
|
5
5
|
exact version if you gate CI on the grade.
|
|
6
6
|
|
|
7
|
+
## 0.1.1 - 2026-08-20
|
|
8
|
+
|
|
9
|
+
- The mock mint's mint-address response now carries the node stats
|
|
10
|
+
lnurl-mint advertises: `nodeCapacity` (msat), `nodeNumChannels` and
|
|
11
|
+
`nodeNumPeers`. `nodeCapacity` is the field an implementation is most
|
|
12
|
+
likely to rename on its own side and then forget to map - lnurl-wallet
|
|
13
|
+
and lnurlcash-kit both did, and neither test caught it, because nothing
|
|
14
|
+
they tested against ever sent the wire name.
|
|
15
|
+
|
|
7
16
|
## 0.1.0 - 2026-08-20
|
|
8
17
|
|
|
9
18
|
First release. Three things, usable independently.
|
package/mock-mint/index.mjs
CHANGED
|
@@ -298,7 +298,14 @@ export const createMockMint = async (options = {}) => {
|
|
|
298
298
|
mintPubkey: pubkey,
|
|
299
299
|
nodeAlias: 'mock-mint',
|
|
300
300
|
nodeUri: `${pubkey}@127.0.0.1:9735`,
|
|
301
|
-
nodeColor: '#ff9900'
|
|
301
|
+
nodeColor: '#ff9900',
|
|
302
|
+
// The node stats lnurl-mint advertises. `nodeCapacity` is msat, like
|
|
303
|
+
// every other amount, and is named without the suffix on the wire -
|
|
304
|
+
// an implementation that renames it on its own side has to map it,
|
|
305
|
+
// and one that spreads the response through will read undefined.
|
|
306
|
+
nodeCapacity: 500_000_000,
|
|
307
|
+
nodeNumChannels: 4,
|
|
308
|
+
nodeNumPeers: 6
|
|
302
309
|
})
|
|
303
310
|
}
|
|
304
311
|
|
package/package.json
CHANGED