diff --git a/Cargo.toml b/Cargo.toml index c8e0192..8400276 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "slauth" -version = "0.7.9" +version = "0.7.10" authors = ["richer ", "LucFauvel "] edition = "2021" description = "oath HOTP and TOTP complient implementation" diff --git a/Slauth.podspec b/Slauth.podspec index 69e4579..76594a4 100644 --- a/Slauth.podspec +++ b/Slauth.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Slauth' - s.version = '0.7.9' + s.version = '0.7.10' s.summary = 'A Swift wrapper around Slauth Rust crate' s.description = <<-DESC TODO: Add long description of the pod here. diff --git a/build.gradle b/build.gradle index c3250d2..2e0ec95 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ properties.load(project.rootProject.file('local.properties').newDataInputStream( project('slauth') { ext { - libraryVersion = '0.7.9' + libraryVersion = '0.7.10' } publishing { repositories { diff --git a/src/webauthn/authenticator/native.rs b/src/webauthn/authenticator/native.rs index 900e5fd..e55243e 100644 --- a/src/webauthn/authenticator/native.rs +++ b/src/webauthn/authenticator/native.rs @@ -186,7 +186,7 @@ pub mod android { WebauthnAuthenticator, }, proto::web_message::{ - AuthenticatorAttestationResponse, PublicKeyCredential, PublicKeyCredentialCreationOptions, PublicKeyCredentialRaw, + AuthenticatorAttestationResponse, PublicKeyCredentialCreationOptions, PublicKeyCredentialRaw, PublicKeyCredentialRequestOptions, }, }, @@ -341,7 +341,7 @@ pub mod android { return null_mut(); } - let public_key_credential = PublicKeyCredential::from((*res).credential_response.clone()); + let public_key_credential = PublicKeyCredentialAndroid::from((*res).credential_response.clone()); let json = serde_json::to_string(&public_key_credential); if json.is_err() { diff --git a/wrappers/android/build.gradle b/wrappers/android/build.gradle index 9534f67..763ecd1 100644 --- a/wrappers/android/build.gradle +++ b/wrappers/android/build.gradle @@ -26,7 +26,7 @@ android { minSdkVersion 23 targetSdkVersion 28 versionCode 1 - versionName "0.7.9" + versionName "0.7.10" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" diff --git a/wrappers/android/src/main/jniLibs/arm64-v8a/libslauth.so b/wrappers/android/src/main/jniLibs/arm64-v8a/libslauth.so index c6318e6..9445981 100755 Binary files a/wrappers/android/src/main/jniLibs/arm64-v8a/libslauth.so and b/wrappers/android/src/main/jniLibs/arm64-v8a/libslauth.so differ diff --git a/wrappers/android/src/main/jniLibs/x86_64/libslauth.so b/wrappers/android/src/main/jniLibs/x86_64/libslauth.so index 6736325..4bb1763 100755 Binary files a/wrappers/android/src/main/jniLibs/x86_64/libslauth.so and b/wrappers/android/src/main/jniLibs/x86_64/libslauth.so differ