Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@1auth/authn-webauthn

Package Overview
Dependencies
Maintainers
0
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@1auth/authn-webauthn - npm Package Compare versions

Comparing version 0.0.0-alpha.39 to 0.0.0-alpha.40

7

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc