@swype-org/react-sdk 0.1.93 → 0.1.94
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 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5950,12 +5950,18 @@ function SwypePaymentInner({
|
|
|
5950
5950
|
return;
|
|
5951
5951
|
}
|
|
5952
5952
|
if (cancelled) return;
|
|
5953
|
+
const credentialIds = allPasskeys.map((p) => p.credentialId);
|
|
5954
|
+
let matched = null;
|
|
5953
5955
|
if (isSafari() && isInCrossOriginIframe()) {
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
+
matched = await findDevicePasskeyViaPopup({
|
|
5957
|
+
credentialIds,
|
|
5958
|
+
rpId: resolvePasskeyRpId(),
|
|
5959
|
+
authToken: token ?? void 0,
|
|
5960
|
+
apiBaseUrl
|
|
5961
|
+
});
|
|
5962
|
+
} else {
|
|
5963
|
+
matched = await findDevicePasskey(credentialIds);
|
|
5956
5964
|
}
|
|
5957
|
-
const credentialIds = allPasskeys.map((p) => p.credentialId);
|
|
5958
|
-
const matched = await findDevicePasskey(credentialIds);
|
|
5959
5965
|
if (cancelled) return;
|
|
5960
5966
|
if (matched) {
|
|
5961
5967
|
dispatch({ type: "PASSKEY_ACTIVATED", credentialId: matched });
|