react-native-authsignal 2.0.0-alpha4 → 2.0.0-alpha6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -51,7 +51,7 @@ class AuthsignalPasskeyModule: NSObject {
|
|
|
51
51
|
reject(response.errorCode ?? "unexpected_error", response.error, nil)
|
|
52
52
|
} else {
|
|
53
53
|
let signUpResponse: [String: String?] = [
|
|
54
|
-
"token": response.data
|
|
54
|
+
"token": response.data?.token,
|
|
55
55
|
]
|
|
56
56
|
|
|
57
57
|
resolve(signUpResponse)
|
|
@@ -122,7 +122,7 @@ class AuthsignalPushModule: NSObject {
|
|
|
122
122
|
|
|
123
123
|
if let error = response.error {
|
|
124
124
|
reject(response.errorCode ?? "unexpected_error", error, nil)
|
|
125
|
-
} else if let data = response.data as?
|
|
125
|
+
} else if let data = response.data as? AppChallenge {
|
|
126
126
|
let challenge: [String: String?] = [
|
|
127
127
|
"challengeId": data.challengeId,
|
|
128
128
|
"actionCode": data.actionCode,
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
|
|
|
17
17
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
18
18
|
|
|
19
19
|
s.dependency "React-Core"
|
|
20
|
-
s.dependency 'Authsignal', '2.0.0-
|
|
20
|
+
s.dependency 'Authsignal', '2.0.0-alpha2'
|
|
21
21
|
|
|
22
22
|
# Don't install the dependencies when we run `pod install` in the old architecture.
|
|
23
23
|
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|