diff --git a/fido-mds/src/mds.rs b/fido-mds/src/mds.rs index 30366d61..a016f011 100644 --- a/fido-mds/src/mds.rs +++ b/fido-mds/src/mds.rs @@ -235,7 +235,7 @@ pub struct EcdaaAnchor { pub x: String, /// base64url encoding of the result of ECPoint2ToB of the ECPoint2 Y = P_2^yY=P /// See FIDOEcdaaAlgorithm for the definition of ECPoint2ToB. - #[serde(rename = "X")] + #[serde(rename = "Y")] pub y: String, /// base64url encoding of the result of BigNumberToB(cc). See section "Issuer Specific ECDAA Parameters" in FIDOEcdaaAlgorithm for an explanation of cc. See FIDOEcdaaAlgorithm for the definition of BigNumberToB. pub c: String, diff --git a/webauthn-rs-proto/src/wasm.rs b/webauthn-rs-proto/src/wasm.rs index d2ea57bb..c9aad9ea 100644 --- a/webauthn-rs-proto/src/wasm.rs +++ b/webauthn-rs-proto/src/wasm.rs @@ -7,8 +7,10 @@ extern "C" { pub type PublicKeyCredentialExt; #[wasm_bindgen(static_method_of = PublicKeyCredentialExt, js_class = "PublicKeyCredential", js_name = isConditionalMediationAvailable, catch)] + /// Is Conditional Mediation Available pub fn is_conditional_mediation_available() -> Result<::js_sys::Promise, JsValue>; #[wasm_bindgen(static_method_of = PublicKeyCredentialExt, js_class = "PublicKeyCredential", js_name = isExternalCTAP2SecurityKeySupported, catch)] + /// Is External Ctap2 SecurityKey Supported pub fn is_external_ctap2_securitykey_supported() -> Result<::js_sys::Promise, JsValue>; }