Skip to content

Commit 5691362

Browse files
Aut 3058 return action code and idempotency key from claim challenge (#67)
* AUT-3058 Return action code and idempotencyKey from claimChallenge * Make optional * Bump authsignal-android version * Bump authsignal-ios to 2.2.1
1 parent 4d61bb8 commit 5691362

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,5 @@ dependencies {
7777

7878
implementation "androidx.browser:browser:1.2.0"
7979

80-
implementation("com.authsignal:authsignal-android:3.1.1")
80+
implementation("com.authsignal:authsignal-android:3.2.1")
8181
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-authsignal",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"description": "The official Authsignal React Native library.",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

react-native-authsignal.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
1717
s.source_files = "ios/**/*.{h,m,mm,swift}"
1818

1919
s.dependency "React-Core"
20-
s.dependency 'Authsignal', '2.1.0'
20+
s.dependency 'Authsignal', '2.2.1'
2121

2222
# Don't install the dependencies when we run `pod install` in the old architecture.
2323
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then

src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ export interface ClaimChallengeResponse {
7575
success: boolean;
7676
userAgent?: string;
7777
ipAddress?: string;
78+
actionCode?: string;
79+
idempotencyKey?: string;
7880
}
7981

8082
export interface UpdateChallengeInput {

0 commit comments

Comments
 (0)