@volr/react-ui 0.1.132 → 0.1.133
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.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -12
package/dist/index.cjs
CHANGED
|
@@ -552,6 +552,7 @@ var en = {
|
|
|
552
552
|
alreadyExists: "Biometric login is already set up.",
|
|
553
553
|
notSupported: "Your device doesn't support biometric login.",
|
|
554
554
|
prfNotSupported: "Setup failed. Please use your device's biometric (Touch ID, Face ID) directly. Using other devices or apps may not work.",
|
|
555
|
+
prfNotSupportedWindows: `Setup failed. Windows Hello doesn't support PRF. In the passkey picker, choose "Use a phone or tablet".`,
|
|
555
556
|
generic: "Setup failed. Please try again."
|
|
556
557
|
},
|
|
557
558
|
compatibility: {
|
|
@@ -798,6 +799,7 @@ var ko = {
|
|
|
798
799
|
alreadyExists: "\uC774\uBBF8 \uC0DD\uCCB4 \uB85C\uADF8\uC778\uC774 \uC124\uC815\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",
|
|
799
800
|
notSupported: "\uC774 \uAE30\uAE30\uB294 \uC0DD\uCCB4 \uB85C\uADF8\uC778\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",
|
|
800
801
|
prfNotSupported: "\uC124\uC815\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uC774 \uAE30\uAE30\uC758 \uC0DD\uCCB4 \uC778\uC99D(Touch ID, Face ID)\uC744 \uC9C1\uC811 \uC120\uD0DD\uD574\uC8FC\uC138\uC694. \uB2E4\uB978 \uAE30\uAE30\uB098 \uC571 \uC0AC\uC6A9 \uC2DC \uB3D9\uC791\uD558\uC9C0 \uC54A\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",
|
|
802
|
+
prfNotSupportedWindows: '\uC124\uC815\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. Windows Hello\uB294 PRF\uB97C \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uD328\uC2A4\uD0A4 \uC120\uD0DD \uD654\uBA74\uC5D0\uC11C "\uD734\uB300\uD3F0/\uD0DC\uBE14\uB9BF \uC0AC\uC6A9"\uC744 \uC120\uD0DD\uD574\uC8FC\uC138\uC694.',
|
|
801
803
|
generic: "\uC124\uC815\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694."
|
|
802
804
|
},
|
|
803
805
|
compatibility: {
|
|
@@ -1543,7 +1545,10 @@ function getUserFriendlyError(error, t) {
|
|
|
1543
1545
|
return t("passkey.errors.alreadyExists");
|
|
1544
1546
|
}
|
|
1545
1547
|
if (msg.includes("prf extension not supported") || msg.includes("prf output missing") || msg.includes("prf not supported")) {
|
|
1546
|
-
|
|
1548
|
+
const isWindows = typeof navigator !== "undefined" && /Win/.test(navigator.platform || "");
|
|
1549
|
+
return t(
|
|
1550
|
+
isWindows ? "passkey.errors.prfNotSupportedWindows" : "passkey.errors.prfNotSupported"
|
|
1551
|
+
);
|
|
1547
1552
|
}
|
|
1548
1553
|
if (msg.includes("not supported")) {
|
|
1549
1554
|
return t("passkey.errors.notSupported");
|