@0xpass/webauthn-signer
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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 { |
{ | ||
"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
8361
109
+ Added@0xpass/models@2.0.1(transitive)
- Removed@0xpass/models@2.0.0(transitive)
Updated@0xpass/models@2.0.1