aboutsummaryrefslogtreecommitdiffstats
path: root/lib/square.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-14 13:19:52 -0700
committerAdam Soltys <[email protected]>2026-09-14 13:19:52 -0700
commit19f73ae9cf2afffbbb2abc71eb80c6d5bdccca52 (patch)
tree33ee5d1ae99772c6d25e3d69d72633448eccfa21 /lib/square.ts
parentcdda2d34d26bd8fb310867022130e4a59f67d13c (diff)
downloadcoinos-server-19f73ae9cf2afffbbb2abc71eb80c6d5bdccca52.tar.gz
coinos-server-19f73ae9cf2afffbbb2abc71eb80c6d5bdccca52.zip
printer: publish receipts at QoS 1 and clean LNURL metadata memos
Receipts were published at QoS 0, so a printer that was briefly offline (WiFi blip, keepalive timeout) never received them. QoS 1 lets the broker queue them for printers that hold a persistent session. LNURL-pay invoices carry the raw metadata array as their memo when the payer leaves no comment; unwrap the text/plain entry before printing. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_011cCouc5ASRXHDp5esLciEK
Diffstat (limited to 'lib/square.ts')
0 files changed, 0 insertions, 0 deletions