@authowl/react 0.18.0 → 0.18.1

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/dist/index.d.cts CHANGED
@@ -432,10 +432,13 @@ type MFARequiredGateProps = {
432
432
  * gate only wraps protected content, they re-sign-in into another pending
433
433
  * session without ever seeing enrolment.
434
434
  *
435
- * Before showing enrolment it CONFIRMS with an uncached session read: the
436
- * cookie-cached pending flag can be stale-true for up to 5 minutes after
437
- * another device completed enrolment, and re-running enrolment would
438
- * regenerate the user's TOTP secret.
435
+ * NOT REQUIRED for a client-rendered <SignIn/>: that component now finishes
436
+ * enrolment in place, so a project can turn required MFA on without every app
437
+ * having to adopt this gate first. The gate still matters for server-redirect
438
+ * layouts and for apps that reach protected content by another route.
439
+ *
440
+ * The stale-flag confirmation both surfaces depend on lives in
441
+ * `useConfirmedMfaPending`.
439
442
  */
440
443
  declare function MFARequiredGate({ children, title }: MFARequiredGateProps): React.JSX.Element | null;
441
444
 
package/dist/index.d.ts CHANGED
@@ -432,10 +432,13 @@ type MFARequiredGateProps = {
432
432
  * gate only wraps protected content, they re-sign-in into another pending
433
433
  * session without ever seeing enrolment.
434
434
  *
435
- * Before showing enrolment it CONFIRMS with an uncached session read: the
436
- * cookie-cached pending flag can be stale-true for up to 5 minutes after
437
- * another device completed enrolment, and re-running enrolment would
438
- * regenerate the user's TOTP secret.
435
+ * NOT REQUIRED for a client-rendered <SignIn/>: that component now finishes
436
+ * enrolment in place, so a project can turn required MFA on without every app
437
+ * having to adopt this gate first. The gate still matters for server-redirect
438
+ * layouts and for apps that reach protected content by another route.
439
+ *
440
+ * The stale-flag confirmation both surfaces depend on lives in
441
+ * `useConfirmedMfaPending`.
439
442
  */
440
443
  declare function MFARequiredGate({ children, title }: MFARequiredGateProps): React.JSX.Element | null;
441
444