File tree Expand file tree Collapse file tree 5 files changed +15
-7
lines changed Expand file tree Collapse file tree 5 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Add `web3auth_flutter` as a dependency to your `pubspec.yaml` file.
37
37
38
38
``` yml
39
39
dependencies :
40
- web3auth_flutter : ^6.1.1
40
+ web3auth_flutter : ^6.1.2
41
41
` ` `
42
42
43
43
or
Original file line number Diff line number Diff line change 6
6
- TorusSessionManager (6.0.2):
7
7
- curvelib.swift (~> 2.0.0)
8
8
- KeychainSwift (~> 20.0.0)
9
- - Web3Auth (11.0.3 ):
9
+ - Web3Auth (11.0.5 ):
10
10
- BigInt (~> 5.2.0)
11
11
- curvelib.swift (~> 2.0.0)
12
12
- KeychainSwift (~> 20.0.0)
13
13
- TorusSessionManager (~> 6.0.2)
14
14
- web3auth_flutter (2.0.1):
15
15
- Flutter
16
- - Web3Auth (~> 11.0.3 )
16
+ - Web3Auth (~> 11.0.5 )
17
17
18
18
DEPENDENCIES:
19
19
- Flutter (from `Flutter`)
@@ -39,8 +39,8 @@ SPEC CHECKSUMS:
39
39
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
40
40
KeychainSwift: 0ce6a4d13f7228054d1a71bb1b500448fb2ab837
41
41
TorusSessionManager: 3c47c2a4c4d6173a10006eb0af4b86317ee45ff8
42
- Web3Auth: 38b4369a0a891daa514855a28f2c39629161732d
43
- web3auth_flutter: db7c73157a5773bd9b6b795886e24f15e44b0c6a
42
+ Web3Auth: cf501e2bccf63d7a9746c0e53eb98cf143841a5c
43
+ web3auth_flutter: 79be94bbb719a1837c79e0c07e793abd64e11dd7
44
44
45
45
PODFILE CHECKSUM: 1d58595b82b880200a7ded05da9181d30ef8c1b7
46
46
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Flutter SDK for Torus Web3Auth (OpenLogin)
15
15
s . source = { :path => '.' }
16
16
s . source_files = 'Classes/**/*'
17
17
s . dependency 'Flutter'
18
- s . dependency 'Web3Auth' , '~> 11.0.3 '
18
+ s . dependency 'Web3Auth' , '~> 11.0.5 '
19
19
s . platform = :ios , '14.0'
20
20
21
21
# Flutter.framework does not contain a i386 slice.
Original file line number Diff line number Diff line change @@ -206,6 +206,14 @@ class Web3AuthFlutter {
206
206
207
207
final response =
208
208
await _channel.invokeMethod ('request' , jsonEncode (requestJson));
209
+
210
+ if (response == "null" ) {
211
+ return SignResponse (
212
+ success: false ,
213
+ error: "Something went wrong. Unable to process the request." ,
214
+ );
215
+ }
216
+
209
217
return SignResponse .fromJson (jsonDecode (response));
210
218
} on PlatformException catch (e) {
211
219
throw _handlePlatformException (e);
Original file line number Diff line number Diff line change 1
1
name : web3auth_flutter
2
2
description : Flutter SDK for Torus Web3Auth (Web3Auth)
3
- version : 6.1.1
3
+ version : 6.1.2
4
4
homepage : https://web3auth.io
5
5
repository : https://github.com/Web3Auth/web3auth-flutter-sdk.git
6
6
You can’t perform that action at this time.
0 commit comments