@remit/web-client 0.0.260 → 0.0.261

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/web-client",
3
- "version": "0.0.260",
3
+ "version": "0.0.261",
4
4
  "type": "module",
5
5
  "description": "Remit web client, published as composable primitives — the app shell, auth shells, and runtime config. A distributor imports what it composes and bundles it.",
6
6
  "exports": {
@@ -482,9 +482,13 @@ function AccountsSettings() {
482
482
  connector={isOAuthAccount ? "Microsoft 365" : "IMAP"}
483
483
  syncLabel={deriveSyncLabel(account)}
484
484
  state={deriveState(account)}
485
+ // What the mail server said, when it said anything. Not every
486
+ // refusal that fences an account is one the Reconnect button
487
+ // clears — "SmtpClientAuthentication is disabled" is a tenant
488
+ // setting — so the stored reason outranks the generic prompt.
485
489
  errorDetail={
486
490
  isReauth
487
- ? "Re-authentication required"
491
+ ? (account.lastError ?? "Re-authentication required")
488
492
  : isMissingPassword
489
493
  ? "Imported from a config file, which carries no password. Enter one to start syncing."
490
494
  : account.lastError