@1auth/authn-webauthn
Advanced tools
Comparing version 0.0.0-alpha.52 to 0.0.0-alpha.53
15
index.js
@@ -8,2 +8,3 @@ import { | ||
create as authnCreate, | ||
createList as authnCreateList, | ||
update as authnUpdate, | ||
@@ -297,11 +298,9 @@ verify as authnVerify, | ||
} | ||
challenges.push( | ||
authnCreate(options.challenge, sub, { | ||
sourceId: credential.id, | ||
value, | ||
update: now | ||
}) | ||
) | ||
challenges.push({ | ||
sourceId: credential.id, | ||
value, | ||
update: now | ||
}) | ||
} | ||
const id = await Promise.all(challenges) | ||
const id = await authnCreateList(options.challenge, sub, challenges) | ||
@@ -308,0 +307,0 @@ if (options.log) { |
{ | ||
"name": "@1auth/authn-webauthn", | ||
"version": "0.0.0-alpha.52", | ||
"version": "0.0.0-alpha.53", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
10998
329