@forgesworn/moneyer 0.16.1 → 0.16.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/CHANGELOG.md +8 -0
- package/llms.txt +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.16.2 - 2026-09-24
|
|
4
|
+
|
|
5
|
+
Documentation only; no code changes.
|
|
6
|
+
|
|
7
|
+
- `llms.txt` notes that `verifyStatsSnapshot` returns `stats: null` when the
|
|
8
|
+
content is not JSON or carries no signature, and returns the parsed stats
|
|
9
|
+
with `valid: false` for a bad signature, so check `valid` first.
|
|
10
|
+
|
|
3
11
|
## 0.16.1 - 2026-09-24
|
|
4
12
|
|
|
5
13
|
Documentation only; no code changes.
|
package/llms.txt
CHANGED
|
@@ -97,7 +97,9 @@ buildStats({liabilities, localBalanceMsat?, reconciledAt?, at?, ratioOnly?}) ->
|
|
|
97
97
|
liabilities = store.liabilities() -> {outstandingMsat, outstandingNotes,
|
|
98
98
|
pendingMsat, pendingMelts, oldestPendingMeltAgeSecs}
|
|
99
99
|
statsSnapshotContent(stats, privHex) -> string the published content: stats JSON plus sig
|
|
100
|
-
verifyStatsSnapshot(content, pubkey) -> {valid, stats}
|
|
100
|
+
verifyStatsSnapshot(content, pubkey) -> {valid, stats: MintStats | null}
|
|
101
|
+
stats is null when content is not JSON or carries no sig; a bad signature
|
|
102
|
+
still returns the parsed stats with valid false, so check valid first
|
|
101
103
|
signStats(stats, privHex) -> string the signature alone, hex r || s || recovery id
|
|
102
104
|
kind 30078, d = lnurlcash-liabilities: a signed liabilities snapshot for
|
|
103
105
|
third-party solvency checks
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forgesworn/moneyer",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"description": "An LNURLcash (LUD-25) mint - strikes Lightning bearer notes. Independent implementation, cln/lnd funding sources, SQLite, zero HTTP framework.",
|
|
5
5
|
"author": "TheCryptoDonkey",
|
|
6
6
|
"license": "MIT",
|