fix: QR wallet pairing broken by multi-clinic routing (v0.8.1)

QR "scan to connect" pairing has no wallet number, so nothing registered
the request with the relay and the scanning device's response was rejected
("unknown or expired request"). The backend now pre-registers the pairing
request over the relay's new hub:expect event on POST /pair, and
re-registers still-pending requests on hub (re)connect so routing survives
a relay restart. /pair now requires the clinic to have joined the network
(clear 409, surfaced in the import dialog, localized in all five langs).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Khalid Abdi
2026-07-05 19:16:33 +03:00
parent 99aa534e88
commit 233ce9f854
13 changed files with 69 additions and 10 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "temetro",
"version": "0.8.0",
"version": "0.8.1",
"private": true,
"devDependencies": {
"shadcn": "^4.11.0"