Skip to content

Commit 9e2c62c

Browse files
Merge pull request #100 from Web3Auth/bump_swift_sdk
bump swift sdk and pubspec.yaml
2 parents c4da16c + e8a5106 commit 9e2c62c

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Add `web3auth_flutter` as a dependency to your `pubspec.yaml` file.
3737

3838
```yml
3939
dependencies:
40-
web3auth_flutter: ^6.1.1
40+
web3auth_flutter: ^6.1.2
4141
```
4242
4343
or

example/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ PODS:
66
- TorusSessionManager (6.0.2):
77
- curvelib.swift (~> 2.0.0)
88
- KeychainSwift (~> 20.0.0)
9-
- Web3Auth (11.0.3):
9+
- Web3Auth (11.0.5):
1010
- BigInt (~> 5.2.0)
1111
- curvelib.swift (~> 2.0.0)
1212
- KeychainSwift (~> 20.0.0)
1313
- TorusSessionManager (~> 6.0.2)
1414
- web3auth_flutter (2.0.1):
1515
- Flutter
16-
- Web3Auth (~> 11.0.3)
16+
- Web3Auth (~> 11.0.5)
1717

1818
DEPENDENCIES:
1919
- Flutter (from `Flutter`)
@@ -39,8 +39,8 @@ SPEC CHECKSUMS:
3939
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
4040
KeychainSwift: 0ce6a4d13f7228054d1a71bb1b500448fb2ab837
4141
TorusSessionManager: 3c47c2a4c4d6173a10006eb0af4b86317ee45ff8
42-
Web3Auth: 38b4369a0a891daa514855a28f2c39629161732d
43-
web3auth_flutter: db7c73157a5773bd9b6b795886e24f15e44b0c6a
42+
Web3Auth: cf501e2bccf63d7a9746c0e53eb98cf143841a5c
43+
web3auth_flutter: 79be94bbb719a1837c79e0c07e793abd64e11dd7
4444

4545
PODFILE CHECKSUM: 1d58595b82b880200a7ded05da9181d30ef8c1b7
4646

ios/web3auth_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Flutter SDK for Torus Web3Auth (OpenLogin)
1515
s.source = { :path => '.' }
1616
s.source_files = 'Classes/**/*'
1717
s.dependency 'Flutter'
18-
s.dependency 'Web3Auth', '~> 11.0.3'
18+
s.dependency 'Web3Auth', '~> 11.0.5'
1919
s.platform = :ios, '14.0'
2020

2121
# Flutter.framework does not contain a i386 slice.

lib/web3auth_flutter.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,14 @@ class Web3AuthFlutter {
206206

207207
final response =
208208
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+
209217
return SignResponse.fromJson(jsonDecode(response));
210218
} on PlatformException catch (e) {
211219
throw _handlePlatformException(e);

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: web3auth_flutter
22
description: Flutter SDK for Torus Web3Auth (Web3Auth)
3-
version: 6.1.1
3+
version: 6.1.2
44
homepage: https://web3auth.io
55
repository: https://github.com/Web3Auth/web3auth-flutter-sdk.git
66

0 commit comments

Comments
 (0)