Skip to content

Commit

Permalink
Merge pull request #100 from Web3Auth/bump_swift_sdk
Browse files Browse the repository at this point in the history
bump swift sdk and pubspec.yaml
  • Loading branch information
chaitanyapotti authored Jan 20, 2025
2 parents c4da16c + e8a5106 commit 9e2c62c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Add `web3auth_flutter` as a dependency to your `pubspec.yaml` file.

```yml
dependencies:
web3auth_flutter: ^6.1.1
web3auth_flutter: ^6.1.2
```
or
Expand Down
8 changes: 4 additions & 4 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ PODS:
- TorusSessionManager (6.0.2):
- curvelib.swift (~> 2.0.0)
- KeychainSwift (~> 20.0.0)
- Web3Auth (11.0.3):
- Web3Auth (11.0.5):
- BigInt (~> 5.2.0)
- curvelib.swift (~> 2.0.0)
- KeychainSwift (~> 20.0.0)
- TorusSessionManager (~> 6.0.2)
- web3auth_flutter (2.0.1):
- Flutter
- Web3Auth (~> 11.0.3)
- Web3Auth (~> 11.0.5)

DEPENDENCIES:
- Flutter (from `Flutter`)
Expand All @@ -39,8 +39,8 @@ SPEC CHECKSUMS:
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
KeychainSwift: 0ce6a4d13f7228054d1a71bb1b500448fb2ab837
TorusSessionManager: 3c47c2a4c4d6173a10006eb0af4b86317ee45ff8
Web3Auth: 38b4369a0a891daa514855a28f2c39629161732d
web3auth_flutter: db7c73157a5773bd9b6b795886e24f15e44b0c6a
Web3Auth: cf501e2bccf63d7a9746c0e53eb98cf143841a5c
web3auth_flutter: 79be94bbb719a1837c79e0c07e793abd64e11dd7

PODFILE CHECKSUM: 1d58595b82b880200a7ded05da9181d30ef8c1b7

Expand Down
2 changes: 1 addition & 1 deletion ios/web3auth_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Flutter SDK for Torus Web3Auth (OpenLogin)
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'Web3Auth', '~> 11.0.3'
s.dependency 'Web3Auth', '~> 11.0.5'
s.platform = :ios, '14.0'

# Flutter.framework does not contain a i386 slice.
Expand Down
8 changes: 8 additions & 0 deletions lib/web3auth_flutter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,14 @@ class Web3AuthFlutter {

final response =
await _channel.invokeMethod('request', jsonEncode(requestJson));

if (response == "null") {
return SignResponse(
success: false,
error: "Something went wrong. Unable to process the request.",
);
}

return SignResponse.fromJson(jsonDecode(response));
} on PlatformException catch (e) {
throw _handlePlatformException(e);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: web3auth_flutter
description: Flutter SDK for Torus Web3Auth (Web3Auth)
version: 6.1.1
version: 6.1.2
homepage: https://web3auth.io
repository: https://github.com/Web3Auth/web3auth-flutter-sdk.git

Expand Down

0 comments on commit 9e2c62c

Please sign in to comment.