2026-12-01 — The SDK forgets a member’s display currency at sign-out
The partner SDK’s CurrencyProvider no longer passes one member’s display
currency on to the next person who signs in on the same browser
(#9259 ). The GraphQL schema
does not change.
Fixed — a member’s currency outlived their session
- Before this release, a currency picked while signed in stayed in
localStorage(akin_currency) after sign-out. The next member on that browser saw it as their own. - The provider now records who picked the stored currency
(
akin_currency_member_id). When that member signs out, or a different member signs in, the currency goes back toconfig.defaultCurrency, else USD. - A currency picked while signed out is the visitor’s own. It stays through a sign-in and a sign-out.
Added — CurrencyProvider takes memberId
AkinProvider(throughAkinAuthProvider) passes the signed-in user’s id. You need no change if you mountAkinProvider.- If you mount
CurrencyProvideron its own, passmemberId: the user’s id while signed in,nullwhen signed out, orundefinedwhile the session is still being restored. If you leave it out, every pick is a visitor’s pick, as before
Last updated on