@volr/react-ui 0.1.131 → 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 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: {
@@ -591,32 +592,7 @@ var en = {
591
592
  later: "Do it later",
592
593
  inProgress: "Setting up...",
593
594
  success: "Passkey set up successfully!",
594
- error: "Failed to set up passkey. Please try again.",
595
- successTitle: "Migration Complete!",
596
- successMessage: "Your passkey has been set up for this site.",
597
- waitingHint: "Please complete the setup in the popup window.",
598
- // Source popup (domain-a.com)
599
- source: {
600
- title: "Authenticate with existing passkey",
601
- description: "Verify your identity to migrate wallet to {{targetDomain}}",
602
- ready: "Ready to authenticate",
603
- authenticating: "Authenticating...",
604
- decrypting: "Decrypting wallet data...",
605
- waiting: "Waiting for registration on new site...",
606
- done: "Authentication complete!",
607
- waitingHint: "Please complete passkey registration in the new window."
608
- },
609
- // Target popup (domain-b.com)
610
- target: {
611
- title: "Register passkey for this site",
612
- description: "Set up secure login for {{currentDomain}}",
613
- ready: "Ready to register",
614
- connecting: "Connecting to source site...",
615
- registering: "Registering new passkey...",
616
- completing: "Completing setup...",
617
- success: "Passkey registered!",
618
- closing: "Closing window..."
619
- }
595
+ error: "Failed to set up passkey. Please try again."
620
596
  }
621
597
  },
622
598
  success: {
@@ -823,6 +799,7 @@ var ko = {
823
799
  alreadyExists: "\uC774\uBBF8 \uC0DD\uCCB4 \uB85C\uADF8\uC778\uC774 \uC124\uC815\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",
824
800
  notSupported: "\uC774 \uAE30\uAE30\uB294 \uC0DD\uCCB4 \uB85C\uADF8\uC778\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",
825
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.',
826
803
  generic: "\uC124\uC815\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694."
827
804
  },
828
805
  compatibility: {
@@ -1568,7 +1545,10 @@ function getUserFriendlyError(error, t) {
1568
1545
  return t("passkey.errors.alreadyExists");
1569
1546
  }
1570
1547
  if (msg.includes("prf extension not supported") || msg.includes("prf output missing") || msg.includes("prf not supported")) {
1571
- return t("passkey.errors.prfNotSupported");
1548
+ const isWindows = typeof navigator !== "undefined" && /Win/.test(navigator.platform || "");
1549
+ return t(
1550
+ isWindows ? "passkey.errors.prfNotSupportedWindows" : "passkey.errors.prfNotSupported"
1551
+ );
1572
1552
  }
1573
1553
  if (msg.includes("not supported")) {
1574
1554
  return t("passkey.errors.notSupported");