@remit/web-client 0.0.68 → 0.0.69

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.68",
3
+ "version": "0.0.69",
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": {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The self-update surface in Settings › Advanced — the only place that talks
3
- * about updates. Renders nothing when the surface is absent (no manifest URL,
4
- * not the owner, not signed in), so there is no entry point at all in that case.
3
+ * about updates. Renders nothing when the surface is absent (no manifest URL, or
4
+ * not signed in), so there is no entry point at all in that case.
5
5
  */
6
6
  import { SelfUpdateConfirmDialog, SelfUpdateSection } from "@remit/ui";
7
7
  import { useState } from "react";
@@ -112,9 +112,10 @@ export function mapUpdatePhase(phase: RemitImapSystemUpdatePhase): UpdatePhase {
112
112
 
113
113
  /**
114
114
  * The surface has no entry point for this caller: `404` (no manifest URL
115
- * configured), `403` (authenticated but not the instance owner), or `401` (not
116
- * authenticated). All three render nothing and stop the poll, so a probe cannot
117
- * tell an off surface from a forbidden one.
115
+ * configured) or `401` (not authenticated). Both render nothing and stop the
116
+ * poll. `403` is treated the same way as defensive cover for any authenticated
117
+ * edge state, though the backend no longer distinguishes callers once the
118
+ * surface is on.
118
119
  */
119
120
  export function isSurfaceAbsent(error: unknown): boolean {
120
121
  const status = getErrorStatus(error);