Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ class AuthsignalQRCodeModule(private val reactContext: ReactApplicationContext)
map.putBoolean("success", data.success)
data.userAgent?.let { map.putString("userAgent", it) }
data.ipAddress?.let { map.putString("ipAddress", it) }
data.actionCode?.let { map.putString("actionCode", it) }
data.idempotencyKey?.let { map.putString("idempotencyKey", it) }
promise.resolve(map)
}
}
Expand Down
2 changes: 2 additions & 0 deletions ios/AuthsignalQRModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ class AuthsignalQRCodeModule: NSObject {
"success": data.success,
"userAgent": data.userAgent,
"ipAddress": data.ipAddress,
"actionCode": data.actionCode,
"idempotencyKey": data.idempotencyKey,
]

resolve(result)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-authsignal",
"version": "2.2.1",
"version": "2.2.2",
"description": "The official Authsignal React Native library.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
Loading