@volr/react 0.1.119 → 0.1.120
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 +10 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -20409,6 +20409,7 @@ function detectBrowser() {
|
|
|
20409
20409
|
if (/Instagram/i.test(ua)) return "Instagram-InApp";
|
|
20410
20410
|
if (/Telegram/i.test(ua)) return "Telegram-InApp";
|
|
20411
20411
|
if (/SamsungBrowser/i.test(ua)) return "Samsung";
|
|
20412
|
+
if (/Whale/i.test(ua)) return "Whale";
|
|
20412
20413
|
if (/Edg/.test(ua)) return "Edge";
|
|
20413
20414
|
if (/Chrome/.test(ua) && !/Chromium/.test(ua)) return "Chrome";
|
|
20414
20415
|
if (/Safari/.test(ua) && !/Chrome/.test(ua)) return "Safari";
|
|
@@ -20598,6 +20599,15 @@ function checkPrfCompatibility() {
|
|
|
20598
20599
|
action: "use-chrome"
|
|
20599
20600
|
};
|
|
20600
20601
|
}
|
|
20602
|
+
if (browser === "Whale") {
|
|
20603
|
+
return {
|
|
20604
|
+
...baseResult,
|
|
20605
|
+
supported: false,
|
|
20606
|
+
reason: "unsupported-browser",
|
|
20607
|
+
messageKey: "passkey.compatibility.whaleNotSupported",
|
|
20608
|
+
action: "use-chrome"
|
|
20609
|
+
};
|
|
20610
|
+
}
|
|
20601
20611
|
if (browserName === "Chrome" && browserVersion < MIN_BROWSER_VERSIONS.Chrome) {
|
|
20602
20612
|
return {
|
|
20603
20613
|
...baseResult,
|