@volr/react 0.2.7 → 0.2.8
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9773,8 +9773,8 @@ var AUTHENTICATOR_SELECTION_CROSS_DEVICE = {
|
|
|
9773
9773
|
residentKey: "required",
|
|
9774
9774
|
authenticatorAttachment: "cross-platform"
|
|
9775
9775
|
};
|
|
9776
|
-
function getAuthenticatorSelection(
|
|
9777
|
-
if (shouldForceCrossDevice()
|
|
9776
|
+
function getAuthenticatorSelection() {
|
|
9777
|
+
if (shouldForceCrossDevice()) {
|
|
9778
9778
|
return AUTHENTICATOR_SELECTION_CROSS_DEVICE;
|
|
9779
9779
|
}
|
|
9780
9780
|
return AUTHENTICATOR_SELECTION;
|
|
@@ -20260,7 +20260,7 @@ async function enrollPasskey(params) {
|
|
|
20260
20260
|
};
|
|
20261
20261
|
const prfSalt = deriveWrapKey(tempPrfInput);
|
|
20262
20262
|
const displayName = buildDisplayName(userEmail, userEvmAddress, userId);
|
|
20263
|
-
const authenticatorSelection = getAuthenticatorSelection(
|
|
20263
|
+
const authenticatorSelection = getAuthenticatorSelection();
|
|
20264
20264
|
const hints = getWebAuthnHints();
|
|
20265
20265
|
const publicKeyCredentialCreationOptions = {
|
|
20266
20266
|
challenge: challenge2,
|
|
@@ -21349,7 +21349,7 @@ async function completeMigration(params) {
|
|
|
21349
21349
|
credentialId: tempCredentialId
|
|
21350
21350
|
};
|
|
21351
21351
|
const prfSalt = deriveWrapKey(tempPrfInput);
|
|
21352
|
-
const authenticatorSelection = getAuthenticatorSelection(
|
|
21352
|
+
const authenticatorSelection = getAuthenticatorSelection();
|
|
21353
21353
|
const hints = getWebAuthnHints();
|
|
21354
21354
|
const publicKeyCredentialCreationOptions = {
|
|
21355
21355
|
challenge: challenge2,
|