@atlasauth/embed 0.7.0 → 0.9.0
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 +23 -0
- package/dist/embed.js +10 -5
- package/dist/styles.d.ts +1 -1
- package/dist/styles.js +2 -0
- package/dist/styles.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/widget/flow.d.ts +20 -0
- package/dist/widget/flow.js +81 -0
- package/dist/widget/flow.js.map +1 -1
- package/dist/widget/forms.js +72 -8
- package/dist/widget/forms.js.map +1 -1
- package/dist/widget/mfa.d.ts +30 -0
- package/dist/widget/mfa.js +271 -0
- package/dist/widget/mfa.js.map +1 -0
- package/dist/widget/passkey.d.ts +0 -7
- package/dist/widget/passkey.js +32 -2
- package/dist/widget/passkey.js.map +1 -1
- package/dist/widget/render.js +18 -2
- package/dist/widget/render.js.map +1 -1
- package/dist/widget.d.ts +17 -1
- package/dist/widget.js +11 -0
- package/dist/widget.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlasauth/embed changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.0 — 2026-10-23
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- **Recovery codes after enrolment.** Setting up a second factor at sign-in now shows the account's one-time recovery codes before the sign-in finishes: copy them, download them as a .txt file, then "I've saved my codes" exchanges the ticket. Before, the widget completed straight away and the codes were never shown. They follow the widget's `localization` catalog (`mfa.recoveryCodesTitle`, `mfa.recoveryCodesHelp`, `mfa.recoveryCodesCopy`, `mfa.recoveryCodesCopied`, `mfa.recoveryCodesDownload`, `mfa.recoveryCodesSaved`).
|
|
8
|
+
- **MFA enrolment at sign-in.** The enrolment step fetches the authenticator setup and shows its QR code and setup key, then the code field(s). Where the app offers texted codes, the user can instead enter a phone number and confirm with the texted code.
|
|
9
|
+
- **"Text me a code instead" / "Email me a code instead"** at the second-factor step, where the app offers them.
|
|
10
|
+
- These strings follow the widget's `localization` catalog (the `mfa.*` keys of `@atlasauth/localizations`), else English.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **Passkey sign-in on an app that challenges every sign-in.** The passkey button sends the sign-in captcha's token on the ceremony start. A refusal (a force-challenge switch, or a rejected token) draws the challenge again and retries once with a fresh token. The background passkey autofill is not started while an always-on sign-in captcha is configured.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Built on `@atlasauth/js` 0.16.0.
|
|
19
|
+
|
|
20
|
+
## 0.8.0
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- `@atlasauth/js` 0.15.0: referral capture for any referral program and any consent manager (pass a custom program's reader page-wide with `configureReferralCapture({ referralSource })`).
|
|
25
|
+
|
|
3
26
|
## 0.7.0
|
|
4
27
|
- **Referral attribution.** The widget sends the referral the visitor arrived with on sign-in and sign-up (through `@atlasauth/js` 0.13.0) when the instance has referrals on, and shows the captcha for a referred sign-up when the instance requires it. New `WidgetOptions.referral?: false` / `referralConsent?`, and markup attributes `data-atlas-referral="off"` and `data-atlas-referral-consent="granted"`.
|
|
5
28
|
|