File tree Expand file tree Collapse file tree
android/src/main/java/com/authsignal/react Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,18 +84,18 @@ class AuthsignalPasskeyModule(private val reactContext: ReactApplicationContext)
8484 }
8585
8686 @ReactMethod
87- fun shouldPromptToCreatePasskey (promise : Promise ) {
87+ fun shouldPromptToCreatePasskey (username : String? , promise : Promise ) {
8888 launch(promise) {
89- val response = it.shouldPromptToCreatePasskey()
89+ val response = it.shouldPromptToCreatePasskey(username )
9090
9191 promise.resolve(response.data ? : false )
9292 }
9393 }
9494
9595 @ReactMethod
96- fun isAvailableOnDevice (username : String? , promise : Promise ) {
96+ fun isAvailableOnDevice (promise : Promise ) {
9797 launch(promise) {
98- val response = it.isAvailableOnDevice(username )
98+ val response = it.isAvailableOnDevice()
9999
100100 promise.resolve(response.data ? : false )
101101 }
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-authsignal" ,
3- "version" : " 2.3.1 " ,
3+ "version" : " 2.3.2 " ,
44 "description" : " The official Authsignal React Native library." ,
55 "main" : " lib/commonjs/index" ,
66 "module" : " lib/module/index" ,
You can’t perform that action at this time.
0 commit comments