Socket
Socket
Sign inDemoInstall

@0xpass/webauthn-signer

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xpass/webauthn-signer - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

24

dist/index.js

@@ -56,26 +56,2 @@ import { createResponseToJSON, getResponseToJSON, getRequestFromJSON, createRequestFromJSON } from '@github/webauthn-json/extended';

}
// async sign(payload: CredentialCreationOptionsJSON) {
// const challenge = await getChallengeFromPayload(payload);
// const signingOptions: CredentialRequestOptions = {
// publicKey: {
// rpId: this.rpId,
// challenge: challenge,
// allowCredentials: this.allowCredentials,
// timeout: this.timeout,
// userVerification: this.userVerification,
// },
// };
// const clientGetResult = await webauthnCredentialGet(signingOptions);
// const assertion = clientGetResult.toJSON();
// const sign = {
// authenticatorData: assertion.response.authenticatorData,
// clientDataJson: assertion.response.clientDataJSON,
// credentialId: assertion.id,
// signature: assertion.response.signature,
// };
// return {
// signHeaderName: signHeaderName,
// signHeaderValue: JSON.stringify(sign),
// };
// }
async getAllowCredentials() {

@@ -82,0 +58,0 @@ return {

4

package.json
{
"name": "@0xpass/webauthn-signer",
"version": "2.0.0",
"version": "2.0.1",
"main": "dist/index.js",

@@ -16,3 +16,3 @@ "types": "dist/index.d.ts",

"buffer": "^6.0.3",
"@0xpass/models": "2.0.0"
"@0xpass/models": "2.0.1"
},

@@ -19,0 +19,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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