@base316/react 0.5.0 → 0.5.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # @base316/react
2
2
 
3
+ ## 0.5.2 — 2026-10-21
4
+
5
+ Needs `@base316/sdk` 0.7.1 (`billing.startCancellation`), so release the SDK first.
6
+ New dependency: `qrcode-generator` (MIT, no dependencies of its own).
7
+
8
+ ### Added
9
+
10
+ - `<TwoFactorManager />` shows a **QR code** for an authenticator app. It used to
11
+ show only the key and an `otpauth://` link, which on a computer meant typing
12
+ the key by hand. The code is drawn in the browser as inline SVG (`role="img"`,
13
+ class `b316-mfa-qr`, dark on white in every theme) — the secret is never sent
14
+ anywhere to become a picture. Under it, "Can't scan? Enter this key" with the
15
+ key in groups of four, and the link, for somebody setting this up on the phone
16
+ that is showing the page.
17
+
18
+ ### Changed
19
+
20
+ - `<SubscriptionManager />` cancels through a short flow: it asks why the user
21
+ is leaving (optional), shows the environment's retention offer when there is
22
+ one (**Accept offer and stay** / **No thanks, cancel**), and otherwise
23
+ cancels at the period end as before. Exports `describeRetentionOffer`.
24
+
25
+ ### Fixed
26
+
27
+ - `<SignIn />` shows "Confirm your email address before signing in." when a
28
+ passkey is good but the environment requires a confirmed address, instead of
29
+ "That passkey did not work." — including from browser autofill, which
30
+ otherwise failed silently.
31
+
32
+ ## 0.5.1 — 2026-10-18
33
+
34
+ Needs `@base316/sdk` 0.7.0 (`Principal.organizationId`). No component changes: released so an app
35
+ on SDK 0.7.0 keeps a single copy of the SDK.
36
+
3
37
  ## 0.5.0 — 2026-10-14
4
38
 
5
39
  Needs `@base316/sdk` 0.6.0 (`invitationToken` on `auth.signUp`).
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Thinkfleet AI, Inc.
3
+ Copyright (c) 2026 Thinkfleet AI, LLC
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal