@ai-matrx/vault 0.1.16 → 0.1.17
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 +4 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.17
|
|
4
|
+
|
|
5
|
+
- The new/edit Authenticator box reads "Paste setup key or otpauth link", and a declared Recovery codes box reads "Backup codes, one per line" (the live `website_login` and `username_password` types now declare `recovery_codes`). Consumer action: none.
|
|
6
|
+
|
|
3
7
|
## 0.1.16
|
|
4
8
|
|
|
5
9
|
- **The Authenticator is back as a first-class destination.** The codes view is named **Authenticator** everywhere (sidebar, view picker, title, empty state "Add authenticator"), and below the three-pane width (the floating window, tablets, phones) the compact header carries an **Authenticator** button beside the view picker, so it is one press away at every width. Searching "authenticator", "2fa", "totp" or "two-factor" finds every login with a code (`AUTHENTICATOR_WORDS`). Each code row shows the site's letter and, when the host gives `openItemInNewTab`, **Open in new tab**. Guard: `src/authenticator-restore.test.tsx`. **Consumer action:** web app: pass `host.openItemInNewTab` (opens `/vault/<id>` in a new tab). Extension and desktop: none.
|
package/dist/index.cjs
CHANGED
|
@@ -2230,7 +2230,7 @@ function TotpEditRow({ value, onChange, hasExisting, item, port, onEnrolled, onR
|
|
|
2230
2230
|
setStatus(null);
|
|
2231
2231
|
onChange(v);
|
|
2232
2232
|
},
|
|
2233
|
-
placeholder: hasExisting ? "Paste a new key to replace" : "
|
|
2233
|
+
placeholder: hasExisting ? "Paste a new key to replace" : "Paste setup key or otpauth link",
|
|
2234
2234
|
status,
|
|
2235
2235
|
...uploadImage ? { onImage: (f) => void uploadImage(f) } : {},
|
|
2236
2236
|
...onRecognized ? { onRecognized } : {}
|
|
@@ -6233,7 +6233,7 @@ function ItemPane(props) {
|
|
|
6233
6233
|
{
|
|
6234
6234
|
label: f.label,
|
|
6235
6235
|
value,
|
|
6236
|
-
placeholder: hidden ? "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022" : f.required ? "Required" : "",
|
|
6236
|
+
placeholder: hidden ? "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022" : f.required ? "Required" : isRecoveryCodesField(f) ? "Backup codes, one per line" : "",
|
|
6237
6237
|
secret: secretKind,
|
|
6238
6238
|
multiline: f.kind === "multiline",
|
|
6239
6239
|
inputMode: f.kind === "url" ? "url" : USERNAME_KEYS.test(f.key) ? "email" : "text",
|