@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.cjs
CHANGED
|
@@ -9797,8 +9797,8 @@ var AUTHENTICATOR_SELECTION_CROSS_DEVICE = {
|
|
|
9797
9797
|
residentKey: "required",
|
|
9798
9798
|
authenticatorAttachment: "cross-platform"
|
|
9799
9799
|
};
|
|
9800
|
-
function getAuthenticatorSelection(
|
|
9801
|
-
if (shouldForceCrossDevice()
|
|
9800
|
+
function getAuthenticatorSelection() {
|
|
9801
|
+
if (shouldForceCrossDevice()) {
|
|
9802
9802
|
return AUTHENTICATOR_SELECTION_CROSS_DEVICE;
|
|
9803
9803
|
}
|
|
9804
9804
|
return AUTHENTICATOR_SELECTION;
|
|
@@ -20284,7 +20284,7 @@ async function enrollPasskey(params) {
|
|
|
20284
20284
|
};
|
|
20285
20285
|
const prfSalt = sdkCore.deriveWrapKey(tempPrfInput);
|
|
20286
20286
|
const displayName = buildDisplayName(userEmail, userEvmAddress, userId);
|
|
20287
|
-
const authenticatorSelection = getAuthenticatorSelection(
|
|
20287
|
+
const authenticatorSelection = getAuthenticatorSelection();
|
|
20288
20288
|
const hints = getWebAuthnHints();
|
|
20289
20289
|
const publicKeyCredentialCreationOptions = {
|
|
20290
20290
|
challenge: challenge2,
|
|
@@ -21373,7 +21373,7 @@ async function completeMigration(params) {
|
|
|
21373
21373
|
credentialId: tempCredentialId
|
|
21374
21374
|
};
|
|
21375
21375
|
const prfSalt = sdkCore.deriveWrapKey(tempPrfInput);
|
|
21376
|
-
const authenticatorSelection = getAuthenticatorSelection(
|
|
21376
|
+
const authenticatorSelection = getAuthenticatorSelection();
|
|
21377
21377
|
const hints = getWebAuthnHints();
|
|
21378
21378
|
const publicKeyCredentialCreationOptions = {
|
|
21379
21379
|
challenge: challenge2,
|