fix(access): session Complete failed on IPC clone; keep rate lookup off the unlock path #97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/boltcard-session-ipc-clone"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two follow-ups from the Sep 21 sintra test.
Complete with the loaded card failed with "An object could not be cloned": the session's withdraw/pay step was handed to Electron IPC as a Vue reactive proxy. The customer had to re-tap, which works because the direct-tap path passes a plain string. The steps are now copied into plain objects before crossing the bridge. Cash-in had the same bug.
Tap to unlock took ~3 s. The card server no longer blocks the session on a cold fiat rate lookup (aiolabs/boltcards fix/session-fiat-from-cache); when it returns a currency with no fiat, the ATM prices the balance in that currency from its own rate source after the unlock. The session round-trip time is now logged.