@1auth/authn-webauthn
Advanced tools
Comparing version 0.0.0-alpha.39 to 0.0.0-alpha.40
@@ -91,6 +91,7 @@ import { | ||
...value, | ||
credential: value.authenticator.credential, | ||
response | ||
}) | ||
if (!verified) throw new Error('Failed verifyAuthenticationResponse') | ||
value.authenticator.counter = authenticationInfo.newCounter | ||
value.authenticator.credential.counter = authenticationInfo.newCounter | ||
value.authenticator = jsonEncodeSecret(value.authenticator) | ||
@@ -337,3 +338,3 @@ return true | ||
const jsonEncodeSecret = (value) => { | ||
// value.credentialID = credentialNormalize(value.credentialID); | ||
// value.credential.id = credentialNormalize(value.credential.id); | ||
value.credential.publicKey = credentialNormalize(value.credential.publicKey) | ||
@@ -345,3 +346,3 @@ value.attestationObject = credentialNormalize(value.attestationObject) | ||
const jsonParseSecret = (value) => { | ||
// value.credentialID = credentialBuffer(value.credentialID); | ||
// value.credential.id = credentialBuffer(value.credential.id); | ||
value.credential.publicKey = credentialBuffer(value.credential.publicKey) | ||
@@ -348,0 +349,0 @@ value.attestationObject = credentialBuffer(value.attestationObject) |
{ | ||
"name": "@1auth/authn-webauthn", | ||
"version": "0.0.0-alpha.39", | ||
"version": "0.0.0-alpha.40", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11049
335