@volr/react 0.1.119 → 0.1.121
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.d.cts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -20433,6 +20433,7 @@ function detectBrowser() {
|
|
|
20433
20433
|
if (/Instagram/i.test(ua)) return "Instagram-InApp";
|
|
20434
20434
|
if (/Telegram/i.test(ua)) return "Telegram-InApp";
|
|
20435
20435
|
if (/SamsungBrowser/i.test(ua)) return "Samsung";
|
|
20436
|
+
if (/Whale/i.test(ua)) return "Whale";
|
|
20436
20437
|
if (/Edg/.test(ua)) return "Edge";
|
|
20437
20438
|
if (/Chrome/.test(ua) && !/Chromium/.test(ua)) return "Chrome";
|
|
20438
20439
|
if (/Safari/.test(ua) && !/Chrome/.test(ua)) return "Safari";
|
|
@@ -20622,6 +20623,15 @@ function checkPrfCompatibility() {
|
|
|
20622
20623
|
action: "use-chrome"
|
|
20623
20624
|
};
|
|
20624
20625
|
}
|
|
20626
|
+
if (browser === "Whale") {
|
|
20627
|
+
return {
|
|
20628
|
+
...baseResult,
|
|
20629
|
+
supported: false,
|
|
20630
|
+
reason: "unsupported-browser",
|
|
20631
|
+
messageKey: "passkey.compatibility.whaleNotSupported",
|
|
20632
|
+
action: "use-chrome"
|
|
20633
|
+
};
|
|
20634
|
+
}
|
|
20625
20635
|
if (browserName === "Chrome" && browserVersion < MIN_BROWSER_VERSIONS.Chrome) {
|
|
20626
20636
|
return {
|
|
20627
20637
|
...baseResult,
|