@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/dist/index.js
CHANGED
|
@@ -2161,7 +2161,7 @@ function TotpEditRow({ value, onChange, hasExisting, item, port, onEnrolled, onR
|
|
|
2161
2161
|
setStatus(null);
|
|
2162
2162
|
onChange(v);
|
|
2163
2163
|
},
|
|
2164
|
-
placeholder: hasExisting ? "Paste a new key to replace" : "
|
|
2164
|
+
placeholder: hasExisting ? "Paste a new key to replace" : "Paste setup key or otpauth link",
|
|
2165
2165
|
status,
|
|
2166
2166
|
...uploadImage ? { onImage: (f) => void uploadImage(f) } : {},
|
|
2167
2167
|
...onRecognized ? { onRecognized } : {}
|
|
@@ -6167,7 +6167,7 @@ function ItemPane(props) {
|
|
|
6167
6167
|
{
|
|
6168
6168
|
label: f.label,
|
|
6169
6169
|
value,
|
|
6170
|
-
placeholder: hidden ? "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022" : f.required ? "Required" : "",
|
|
6170
|
+
placeholder: hidden ? "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022" : f.required ? "Required" : isRecoveryCodesField(f) ? "Backup codes, one per line" : "",
|
|
6171
6171
|
secret: secretKind,
|
|
6172
6172
|
multiline: f.kind === "multiline",
|
|
6173
6173
|
inputMode: f.kind === "url" ? "url" : USERNAME_KEYS.test(f.key) ? "email" : "text",
|