From 31fb552f08af4c561e50f5501a8b02312baf6b86 Mon Sep 17 00:00:00 2001 From: AyushBherwani1998 Date: Thu, 12 Dec 2024 09:31:53 +0530 Subject: [PATCH] update examples --- .../flutter-aggregate-verifier-example/ios/Podfile.lock | 8 ++++---- flutter/flutter-aggregate-verifier-example/pubspec.lock | 9 ++++----- flutter/flutter-aggregate-verifier-example/pubspec.yaml | 5 +---- flutter/flutter-auth0-example/ios/Podfile.lock | 8 ++++---- flutter/flutter-auth0-example/pubspec.lock | 9 ++++----- flutter/flutter-auth0-example/pubspec.yaml | 5 +---- flutter/flutter-firebase-example/pubspec.lock | 9 ++++----- flutter/flutter-firebase-example/pubspec.yaml | 5 +---- flutter/flutter-playground/ios/Podfile.lock | 8 ++++---- .../lib/core/utils/web3auth_utils.dart | 2 +- flutter/flutter-playground/pubspec.lock | 9 ++++----- flutter/flutter-playground/pubspec.yaml | 5 +---- flutter/flutter-quick-start/ios/Podfile.lock | 8 ++++---- flutter/flutter-quick-start/pubspec.lock | 9 ++++----- flutter/flutter-quick-start/pubspec.yaml | 5 +---- flutter/flutter-solana-example/ios/Podfile.lock | 8 ++++---- flutter/flutter-solana-example/pubspec.lock | 9 ++++----- flutter/flutter-solana-example/pubspec.yaml | 5 +---- 18 files changed, 51 insertions(+), 75 deletions(-) diff --git a/flutter/flutter-aggregate-verifier-example/ios/Podfile.lock b/flutter/flutter-aggregate-verifier-example/ios/Podfile.lock index 8ca4ef1eb..daab3a626 100644 --- a/flutter/flutter-aggregate-verifier-example/ios/Podfile.lock +++ b/flutter/flutter-aggregate-verifier-example/ios/Podfile.lock @@ -9,14 +9,14 @@ PODS: - TorusSessionManager (6.0.1): - curvelib.swift (~> 2.0.0) - KeychainSwift (~> 20.0.0) - - Web3Auth (11.0.0): + - Web3Auth (11.0.1): - BigInt (~> 5.2.0) - curvelib.swift (~> 2.0.0) - KeychainSwift (~> 20.0.0) - TorusSessionManager (~> 6.0.1) - web3auth_flutter (2.0.1): - Flutter - - Web3Auth (~> 11.0.0) + - Web3Auth (~> 11.0.1) DEPENDENCIES: - Flutter (from `Flutter`) @@ -46,8 +46,8 @@ SPEC CHECKSUMS: KeychainSwift: 0ce6a4d13f7228054d1a71bb1b500448fb2ab837 shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 TorusSessionManager: 9c9871718233dc020ab4fde9bdf37802f01dae10 - Web3Auth: 407db5f308ac801d6e110e53c482a28977c49516 - web3auth_flutter: f5d75a5b84c082601b617ff018f616d230083a6d + Web3Auth: 5defaf109aa7583d4f9b198daa99b4f24f25038a + web3auth_flutter: 5ecf271e85c16e999bfc774ff9cd4fab6d4e91b6 PODFILE CHECKSUM: 775997f741c536251164e3eacf6e34abf2eb7a17 diff --git a/flutter/flutter-aggregate-verifier-example/pubspec.lock b/flutter/flutter-aggregate-verifier-example/pubspec.lock index 8efc91445..51e322819 100644 --- a/flutter/flutter-aggregate-verifier-example/pubspec.lock +++ b/flutter/flutter-aggregate-verifier-example/pubspec.lock @@ -464,11 +464,10 @@ packages: web3auth_flutter: dependency: "direct main" description: - path: "." - ref: "feat/update_pnp_swift_dep" - resolved-ref: "9f1fa58fb738a3e4851bdc28309aa24c12718e24" - url: "https://github.com/web3auth/web3auth-flutter-sdk.git" - source: git + name: web3auth_flutter + sha256: bffe815caac3e1f0357184b41a02d2988f4ace6e66b908a1d08e4c2cc9edc8de + url: "https://pub.dev" + source: hosted version: "6.1.0" web3dart: dependency: "direct main" diff --git a/flutter/flutter-aggregate-verifier-example/pubspec.yaml b/flutter/flutter-aggregate-verifier-example/pubspec.yaml index c6173a4ac..6991a3a22 100644 --- a/flutter/flutter-aggregate-verifier-example/pubspec.yaml +++ b/flutter/flutter-aggregate-verifier-example/pubspec.yaml @@ -35,10 +35,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 - web3auth_flutter: - git: - url: https://github.com/web3auth/web3auth-flutter-sdk.git - ref: feat/update_pnp_swift_dep + web3auth_flutter: ^6.1.0 web3dart: ^2.7.2 shared_preferences: ^2.2.2 http: ^1.2.0 diff --git a/flutter/flutter-auth0-example/ios/Podfile.lock b/flutter/flutter-auth0-example/ios/Podfile.lock index 8ca4ef1eb..daab3a626 100644 --- a/flutter/flutter-auth0-example/ios/Podfile.lock +++ b/flutter/flutter-auth0-example/ios/Podfile.lock @@ -9,14 +9,14 @@ PODS: - TorusSessionManager (6.0.1): - curvelib.swift (~> 2.0.0) - KeychainSwift (~> 20.0.0) - - Web3Auth (11.0.0): + - Web3Auth (11.0.1): - BigInt (~> 5.2.0) - curvelib.swift (~> 2.0.0) - KeychainSwift (~> 20.0.0) - TorusSessionManager (~> 6.0.1) - web3auth_flutter (2.0.1): - Flutter - - Web3Auth (~> 11.0.0) + - Web3Auth (~> 11.0.1) DEPENDENCIES: - Flutter (from `Flutter`) @@ -46,8 +46,8 @@ SPEC CHECKSUMS: KeychainSwift: 0ce6a4d13f7228054d1a71bb1b500448fb2ab837 shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 TorusSessionManager: 9c9871718233dc020ab4fde9bdf37802f01dae10 - Web3Auth: 407db5f308ac801d6e110e53c482a28977c49516 - web3auth_flutter: f5d75a5b84c082601b617ff018f616d230083a6d + Web3Auth: 5defaf109aa7583d4f9b198daa99b4f24f25038a + web3auth_flutter: 5ecf271e85c16e999bfc774ff9cd4fab6d4e91b6 PODFILE CHECKSUM: 775997f741c536251164e3eacf6e34abf2eb7a17 diff --git a/flutter/flutter-auth0-example/pubspec.lock b/flutter/flutter-auth0-example/pubspec.lock index 8efc91445..51e322819 100644 --- a/flutter/flutter-auth0-example/pubspec.lock +++ b/flutter/flutter-auth0-example/pubspec.lock @@ -464,11 +464,10 @@ packages: web3auth_flutter: dependency: "direct main" description: - path: "." - ref: "feat/update_pnp_swift_dep" - resolved-ref: "9f1fa58fb738a3e4851bdc28309aa24c12718e24" - url: "https://github.com/web3auth/web3auth-flutter-sdk.git" - source: git + name: web3auth_flutter + sha256: bffe815caac3e1f0357184b41a02d2988f4ace6e66b908a1d08e4c2cc9edc8de + url: "https://pub.dev" + source: hosted version: "6.1.0" web3dart: dependency: "direct main" diff --git a/flutter/flutter-auth0-example/pubspec.yaml b/flutter/flutter-auth0-example/pubspec.yaml index c6173a4ac..6991a3a22 100644 --- a/flutter/flutter-auth0-example/pubspec.yaml +++ b/flutter/flutter-auth0-example/pubspec.yaml @@ -35,10 +35,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 - web3auth_flutter: - git: - url: https://github.com/web3auth/web3auth-flutter-sdk.git - ref: feat/update_pnp_swift_dep + web3auth_flutter: ^6.1.0 web3dart: ^2.7.2 shared_preferences: ^2.2.2 http: ^1.2.0 diff --git a/flutter/flutter-firebase-example/pubspec.lock b/flutter/flutter-firebase-example/pubspec.lock index 29c214cae..5c50f4baf 100644 --- a/flutter/flutter-firebase-example/pubspec.lock +++ b/flutter/flutter-firebase-example/pubspec.lock @@ -520,11 +520,10 @@ packages: web3auth_flutter: dependency: "direct main" description: - path: "." - ref: "feat/update_pnp_swift_dep" - resolved-ref: "7f40219b0262ed1bc1e5e7eaff31650fdf345ea5" - url: "https://github.com/web3auth/web3auth-flutter-sdk.git" - source: git + name: web3auth_flutter + sha256: bffe815caac3e1f0357184b41a02d2988f4ace6e66b908a1d08e4c2cc9edc8de + url: "https://pub.dev" + source: hosted version: "6.1.0" web3dart: dependency: "direct main" diff --git a/flutter/flutter-firebase-example/pubspec.yaml b/flutter/flutter-firebase-example/pubspec.yaml index 979e90256..db9ff5e26 100644 --- a/flutter/flutter-firebase-example/pubspec.yaml +++ b/flutter/flutter-firebase-example/pubspec.yaml @@ -35,10 +35,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 - web3auth_flutter: - git: - url: https://github.com/web3auth/web3auth-flutter-sdk.git - ref: feat/update_pnp_swift_dep + web3auth_flutter: ^6.1.0 firebase_core: ^3.8.1 firebase_auth: ^5.3.4 web3dart: ^2.7.2 diff --git a/flutter/flutter-playground/ios/Podfile.lock b/flutter/flutter-playground/ios/Podfile.lock index f211a943d..8d4db3885 100644 --- a/flutter/flutter-playground/ios/Podfile.lock +++ b/flutter/flutter-playground/ios/Podfile.lock @@ -6,14 +6,14 @@ PODS: - TorusSessionManager (6.0.1): - curvelib.swift (~> 2.0.0) - KeychainSwift (~> 20.0.0) - - Web3Auth (11.0.0): + - Web3Auth (11.0.1): - BigInt (~> 5.2.0) - curvelib.swift (~> 2.0.0) - KeychainSwift (~> 20.0.0) - TorusSessionManager (~> 6.0.1) - web3auth_flutter (2.0.1): - Flutter - - Web3Auth (~> 11.0.0) + - Web3Auth (~> 11.0.1) DEPENDENCIES: - Flutter (from `Flutter`) @@ -39,8 +39,8 @@ SPEC CHECKSUMS: Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 KeychainSwift: 0ce6a4d13f7228054d1a71bb1b500448fb2ab837 TorusSessionManager: 9c9871718233dc020ab4fde9bdf37802f01dae10 - Web3Auth: 407db5f308ac801d6e110e53c482a28977c49516 - web3auth_flutter: f5d75a5b84c082601b617ff018f616d230083a6d + Web3Auth: 5defaf109aa7583d4f9b198daa99b4f24f25038a + web3auth_flutter: 5ecf271e85c16e999bfc774ff9cd4fab6d4e91b6 PODFILE CHECKSUM: 1959d098c91d8a792531a723c4a9d7e9f6a01e38 diff --git a/flutter/flutter-playground/lib/core/utils/web3auth_utils.dart b/flutter/flutter-playground/lib/core/utils/web3auth_utils.dart index c272f3e81..8b1cc7bc3 100644 --- a/flutter/flutter-playground/lib/core/utils/web3auth_utils.dart +++ b/flutter/flutter-playground/lib/core/utils/web3auth_utils.dart @@ -4,6 +4,6 @@ Uri resolveRedirectUrl() { if (Platform.isAndroid) { return Uri.parse('w3a://com.example.flutterplayground'); } else { - return Uri.parse('com.w3a.flutterplayground://'); + return Uri.parse('com.w3a.flutterplayground://auth'); } } diff --git a/flutter/flutter-playground/pubspec.lock b/flutter/flutter-playground/pubspec.lock index 39a2b82fa..605788df0 100644 --- a/flutter/flutter-playground/pubspec.lock +++ b/flutter/flutter-playground/pubspec.lock @@ -459,11 +459,10 @@ packages: web3auth_flutter: dependency: "direct main" description: - path: "." - ref: "feat/update_pnp_swift_dep" - resolved-ref: "9f1fa58fb738a3e4851bdc28309aa24c12718e24" - url: "https://github.com/web3auth/web3auth-flutter-sdk.git" - source: git + name: web3auth_flutter + sha256: bffe815caac3e1f0357184b41a02d2988f4ace6e66b908a1d08e4c2cc9edc8de + url: "https://pub.dev" + source: hosted version: "6.1.0" web3dart: dependency: "direct main" diff --git a/flutter/flutter-playground/pubspec.yaml b/flutter/flutter-playground/pubspec.yaml index b58004202..834c67713 100644 --- a/flutter/flutter-playground/pubspec.yaml +++ b/flutter/flutter-playground/pubspec.yaml @@ -14,10 +14,7 @@ dependencies: http: ^1.2.0 provider: ^6.1.2 solana: ^0.31.0 - web3auth_flutter: - git: - url: https://github.com/web3auth/web3auth-flutter-sdk.git - ref: feat/update_pnp_swift_dep + web3auth_flutter: ^6.1.0 web3dart: ^2.7.2 dev_dependencies: diff --git a/flutter/flutter-quick-start/ios/Podfile.lock b/flutter/flutter-quick-start/ios/Podfile.lock index d9810c253..8e29e6d2e 100644 --- a/flutter/flutter-quick-start/ios/Podfile.lock +++ b/flutter/flutter-quick-start/ios/Podfile.lock @@ -9,14 +9,14 @@ PODS: - TorusSessionManager (6.0.1): - curvelib.swift (~> 2.0.0) - KeychainSwift (~> 20.0.0) - - Web3Auth (11.0.0): + - Web3Auth (11.0.1): - BigInt (~> 5.2.0) - curvelib.swift (~> 2.0.0) - KeychainSwift (~> 20.0.0) - TorusSessionManager (~> 6.0.1) - web3auth_flutter (2.0.1): - Flutter - - Web3Auth (~> 11.0.0) + - Web3Auth (~> 11.0.1) DEPENDENCIES: - Flutter (from `Flutter`) @@ -46,8 +46,8 @@ SPEC CHECKSUMS: KeychainSwift: 0ce6a4d13f7228054d1a71bb1b500448fb2ab837 shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 TorusSessionManager: 9c9871718233dc020ab4fde9bdf37802f01dae10 - Web3Auth: 407db5f308ac801d6e110e53c482a28977c49516 - web3auth_flutter: f5d75a5b84c082601b617ff018f616d230083a6d + Web3Auth: 5defaf109aa7583d4f9b198daa99b4f24f25038a + web3auth_flutter: 5ecf271e85c16e999bfc774ff9cd4fab6d4e91b6 PODFILE CHECKSUM: 617d992413452517fc165846a57084923e4df00d diff --git a/flutter/flutter-quick-start/pubspec.lock b/flutter/flutter-quick-start/pubspec.lock index 8efc91445..51e322819 100644 --- a/flutter/flutter-quick-start/pubspec.lock +++ b/flutter/flutter-quick-start/pubspec.lock @@ -464,11 +464,10 @@ packages: web3auth_flutter: dependency: "direct main" description: - path: "." - ref: "feat/update_pnp_swift_dep" - resolved-ref: "9f1fa58fb738a3e4851bdc28309aa24c12718e24" - url: "https://github.com/web3auth/web3auth-flutter-sdk.git" - source: git + name: web3auth_flutter + sha256: bffe815caac3e1f0357184b41a02d2988f4ace6e66b908a1d08e4c2cc9edc8de + url: "https://pub.dev" + source: hosted version: "6.1.0" web3dart: dependency: "direct main" diff --git a/flutter/flutter-quick-start/pubspec.yaml b/flutter/flutter-quick-start/pubspec.yaml index d1bc8de84..85d41b4f0 100644 --- a/flutter/flutter-quick-start/pubspec.yaml +++ b/flutter/flutter-quick-start/pubspec.yaml @@ -36,10 +36,7 @@ dependencies: # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 # // IMP START - Installation - web3auth_flutter: - git: - url: https://github.com/web3auth/web3auth-flutter-sdk.git - ref: feat/update_pnp_swift_dep + web3auth_flutter: ^6.1.0 # // IMP END - Installation web3dart: ^2.7.2 shared_preferences: ^2.2.2 diff --git a/flutter/flutter-solana-example/ios/Podfile.lock b/flutter/flutter-solana-example/ios/Podfile.lock index f211a943d..8d4db3885 100644 --- a/flutter/flutter-solana-example/ios/Podfile.lock +++ b/flutter/flutter-solana-example/ios/Podfile.lock @@ -6,14 +6,14 @@ PODS: - TorusSessionManager (6.0.1): - curvelib.swift (~> 2.0.0) - KeychainSwift (~> 20.0.0) - - Web3Auth (11.0.0): + - Web3Auth (11.0.1): - BigInt (~> 5.2.0) - curvelib.swift (~> 2.0.0) - KeychainSwift (~> 20.0.0) - TorusSessionManager (~> 6.0.1) - web3auth_flutter (2.0.1): - Flutter - - Web3Auth (~> 11.0.0) + - Web3Auth (~> 11.0.1) DEPENDENCIES: - Flutter (from `Flutter`) @@ -39,8 +39,8 @@ SPEC CHECKSUMS: Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 KeychainSwift: 0ce6a4d13f7228054d1a71bb1b500448fb2ab837 TorusSessionManager: 9c9871718233dc020ab4fde9bdf37802f01dae10 - Web3Auth: 407db5f308ac801d6e110e53c482a28977c49516 - web3auth_flutter: f5d75a5b84c082601b617ff018f616d230083a6d + Web3Auth: 5defaf109aa7583d4f9b198daa99b4f24f25038a + web3auth_flutter: 5ecf271e85c16e999bfc774ff9cd4fab6d4e91b6 PODFILE CHECKSUM: 1959d098c91d8a792531a723c4a9d7e9f6a01e38 diff --git a/flutter/flutter-solana-example/pubspec.lock b/flutter/flutter-solana-example/pubspec.lock index ce67ab4fa..b169c8aa6 100644 --- a/flutter/flutter-solana-example/pubspec.lock +++ b/flutter/flutter-solana-example/pubspec.lock @@ -371,11 +371,10 @@ packages: web3auth_flutter: dependency: "direct main" description: - path: "." - ref: "feat/update_pnp_swift_dep" - resolved-ref: "9f1fa58fb738a3e4851bdc28309aa24c12718e24" - url: "https://github.com/web3auth/web3auth-flutter-sdk.git" - source: git + name: web3auth_flutter + sha256: bffe815caac3e1f0357184b41a02d2988f4ace6e66b908a1d08e4c2cc9edc8de + url: "https://pub.dev" + source: hosted version: "6.1.0" web_socket_channel: dependency: transitive diff --git a/flutter/flutter-solana-example/pubspec.yaml b/flutter/flutter-solana-example/pubspec.yaml index 129b0bedf..902569f37 100644 --- a/flutter/flutter-solana-example/pubspec.yaml +++ b/flutter/flutter-solana-example/pubspec.yaml @@ -12,10 +12,7 @@ dependencies: get_it: ^8.0.2 hex: ^0.2.0 solana: ^0.31.0 - web3auth_flutter: - git: - url: https://github.com/web3auth/web3auth-flutter-sdk.git - ref: feat/update_pnp_swift_dep + web3auth_flutter: ^6.1.0 dev_dependencies: flutter_test: