From 3bf30bfb0de959923239065d094ee8458eb93fd0 Mon Sep 17 00:00:00 2001 From: AyushBherwani1998 Date: Sat, 21 Sep 2024 08:33:05 +0530 Subject: [PATCH] update flutter sfa example --- .../lib/core/web3auth_sfa.dart | 2 +- .../android/app/build.gradle | 2 +- .../android/app/google-services.json | 42 +++-- .../sfa_flutter_solana/ios/Podfile.lock | 154 +++++++++--------- .../ios/Runner/AppDelegate.swift | 2 +- .../lib/core/solana/solana_provider.dart | 6 +- .../lib/core/web3auth_sfa.dart | 13 +- .../sfa_flutter_solana/lib/home_screen.dart | 2 +- .../sfa_flutter_solana/pubspec.lock | 96 +++++------ .../sfa_flutter_solana/pubspec.yaml | 12 +- 10 files changed, 177 insertions(+), 154 deletions(-) diff --git a/single-factor-auth-flutter/sfa_flutter_quick_start/lib/core/web3auth_sfa.dart b/single-factor-auth-flutter/sfa_flutter_quick_start/lib/core/web3auth_sfa.dart index a38d92d0..0b10b6c3 100644 --- a/single-factor-auth-flutter/sfa_flutter_quick_start/lib/core/web3auth_sfa.dart +++ b/single-factor-auth-flutter/sfa_flutter_quick_start/lib/core/web3auth_sfa.dart @@ -16,7 +16,7 @@ class Web3AuthSFA { // IMP START - Initialize Web3Auth SFA await singleFactAuthFlutter.init( SFAParams( - network: Web3AuthNetwork.sapphire_mainnet, + network: Web3AuthNetwork.mainnet, clientId: "BJRZ6qdDTbj6Vd5YXvV994TYCqY42-PxldCetmvGTUdoq6pkCqdpuC1DIehz76zuYdaq1RJkXGHuDraHRhCQHvA", sessionTime: 40 diff --git a/single-factor-auth-flutter/sfa_flutter_solana/android/app/build.gradle b/single-factor-auth-flutter/sfa_flutter_solana/android/app/build.gradle index 5e101e07..0fab6922 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/android/app/build.gradle +++ b/single-factor-auth-flutter/sfa_flutter_solana/android/app/build.gradle @@ -45,7 +45,7 @@ android { applicationId "com.example.sfa_flutter_solana" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. - minSdkVersion 24 + minSdkVersion 26 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName diff --git a/single-factor-auth-flutter/sfa_flutter_solana/android/app/google-services.json b/single-factor-auth-flutter/sfa_flutter_solana/android/app/google-services.json index f5486c89..aa9ed008 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/android/app/google-services.json +++ b/single-factor-auth-flutter/sfa_flutter_solana/android/app/google-services.json @@ -86,6 +86,14 @@ } }, "oauth_client": [ + { + "client_id": "461819774167-n82k51pt7e2gfhndsgq79inft8ai3mro.apps.googleusercontent.com", + "client_type": 1, + "android_info": { + "package_name": "com.example.sfa_flutter_solana", + "certificate_hash": "8b0cea3ebf8ec0ba62c6f425db2c68d5653b4bed" + } + }, { "client_id": "461819774167-5iv443bdf5a6pnr2drt4tubaph270obl.apps.googleusercontent.com", "client_type": 3 @@ -188,9 +196,9 @@ }, { "client_info": { - "mobilesdk_app_id": "1:461819774167:android:8b802f48df70f9a05b9c92", + "mobilesdk_app_id": "1:461819774167:android:08a1d672963eeb875b9c92", "android_client_info": { - "package_name": "com.sbz.web3authdemoapp" + "package_name": "com.mpccorekitrnquickstart" } }, "oauth_client": [ @@ -224,9 +232,9 @@ }, { "client_info": { - "mobilesdk_app_id": "1:461819774167:android:266db02b56d2f8465b9c92", + "mobilesdk_app_id": "1:461819774167:android:8b802f48df70f9a05b9c92", "android_client_info": { - "package_name": "com.sbz.web3authdemoauth0" + "package_name": "com.sbz.web3authdemoapp" } }, "oauth_client": [ @@ -260,9 +268,9 @@ }, { "client_info": { - "mobilesdk_app_id": "1:461819774167:android:0296d14ab6a06abe5b9c92", + "mobilesdk_app_id": "1:461819774167:android:266db02b56d2f8465b9c92", "android_client_info": { - "package_name": "com.sfarndemo" + "package_name": "com.sbz.web3authdemoauth0" } }, "oauth_client": [ @@ -296,9 +304,9 @@ }, { "client_info": { - "mobilesdk_app_id": "1:461819774167:android:2691fc0225e6543a5b9c92", + "mobilesdk_app_id": "1:461819774167:android:0296d14ab6a06abe5b9c92", "android_client_info": { - "package_name": "com.tkeyfirebaseexample" + "package_name": "com.sfarndemo" } }, "oauth_client": [ @@ -332,9 +340,9 @@ }, { "client_info": { - "mobilesdk_app_id": "1:461819774167:android:28440ba70afe767f5b9c92", + "mobilesdk_app_id": "1:461819774167:android:2691fc0225e6543a5b9c92", "android_client_info": { - "package_name": "com.tkeyrnexample" + "package_name": "com.tkeyfirebaseexample" } }, "oauth_client": [ @@ -368,9 +376,9 @@ }, { "client_info": { - "mobilesdk_app_id": "1:461819774167:android:bc6cf2871e083d7a5b9c92", + "mobilesdk_app_id": "1:461819774167:android:28440ba70afe767f5b9c92", "android_client_info": { - "package_name": "com.web3authrnbarefirebase" + "package_name": "com.tkeyrnexample" } }, "oauth_client": [ @@ -404,9 +412,9 @@ }, { "client_info": { - "mobilesdk_app_id": "1:461819774167:android:3308fe04b56010945b9c92", + "mobilesdk_app_id": "1:461819774167:android:bc6cf2871e083d7a5b9c92", "android_client_info": { - "package_name": "com.web3authsfafirebase" + "package_name": "com.web3authrnbarefirebase" } }, "oauth_client": [ @@ -440,9 +448,9 @@ }, { "client_info": { - "mobilesdk_app_id": "1:461819774167:android:aac2a2911fd308555b9c92", + "mobilesdk_app_id": "1:461819774167:android:3308fe04b56010945b9c92", "android_client_info": { - "package_name": "org.torusresearch.customauthexample" + "package_name": "com.web3authsfafirebase" } }, "oauth_client": [ @@ -476,4 +484,4 @@ } ], "configuration_version": "1" -} \ No newline at end of file +} diff --git a/single-factor-auth-flutter/sfa_flutter_solana/ios/Podfile.lock b/single-factor-auth-flutter/sfa_flutter_solana/ios/Podfile.lock index 813008e5..c53891ff 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/ios/Podfile.lock +++ b/single-factor-auth-flutter/sfa_flutter_solana/ios/Podfile.lock @@ -1,85 +1,93 @@ PODS: - - AnyCodable-FlightSchool (0.6.7) - - AppAuth (1.6.2): - - AppAuth/Core (= 1.6.2) - - AppAuth/ExternalUserAgent (= 1.6.2) - - AppAuth/Core (1.6.2) - - AppAuth/ExternalUserAgent (1.6.2): + - AppAuth (1.7.5): + - AppAuth/Core (= 1.7.5) + - AppAuth/ExternalUserAgent (= 1.7.5) + - AppAuth/Core (1.7.5) + - AppAuth/ExternalUserAgent (1.7.5): - AppAuth/Core - BigInt (5.2.0) - curvelib.swift (1.0.1) - - Firebase/Auth (10.20.0): + - Firebase/Auth (11.0.0): - Firebase/CoreOnly - - FirebaseAuth (~> 10.20.0) - - Firebase/CoreOnly (10.20.0): - - FirebaseCore (= 10.20.0) - - firebase_auth (4.17.4): - - Firebase/Auth (= 10.20.0) + - FirebaseAuth (~> 11.0.0) + - Firebase/CoreOnly (11.0.0): + - FirebaseCore (= 11.0.0) + - firebase_auth (5.3.0): + - Firebase/Auth (= 11.0.0) - firebase_core - Flutter - - firebase_core (2.25.4): - - Firebase/CoreOnly (= 10.20.0) + - firebase_core (3.5.0): + - Firebase/CoreOnly (= 11.0.0) - Flutter - - FirebaseAppCheckInterop (10.21.0) - - FirebaseAuth (10.20.0): - - FirebaseAppCheckInterop (~> 10.17) - - FirebaseCore (~> 10.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - - GoogleUtilities/Environment (~> 7.8) - - GTMSessionFetcher/Core (< 4.0, >= 2.1) + - FirebaseAppCheckInterop (11.2.0) + - FirebaseAuth (11.0.0): + - FirebaseAppCheckInterop (~> 11.0) + - FirebaseAuthInterop (~> 11.0) + - FirebaseCore (~> 11.0) + - FirebaseCoreExtension (~> 11.0) + - GoogleUtilities/AppDelegateSwizzler (~> 8.0) + - GoogleUtilities/Environment (~> 8.0) + - GTMSessionFetcher/Core (~> 3.4) - RecaptchaInterop (~> 100.0) - - FirebaseCore (10.20.0): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreInternal (10.21.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" + - FirebaseAuthInterop (11.2.0) + - FirebaseCore (11.0.0): + - FirebaseCoreInternal (~> 11.0) + - GoogleUtilities/Environment (~> 8.0) + - GoogleUtilities/Logger (~> 8.0) + - FirebaseCoreExtension (11.2.0): + - FirebaseCore (~> 11.0) + - FirebaseCoreInternal (11.2.0): + - "GoogleUtilities/NSData+zlib (~> 8.0)" - Flutter (1.0.0) - google_sign_in_ios (0.0.1): - Flutter - FlutterMacOS - GoogleSignIn (~> 7.0) - - GoogleSignIn (7.0.0): - - AppAuth (~> 1.5) - - GTMAppAuth (< 3.0, >= 1.3) - - GTMSessionFetcher/Core (< 4.0, >= 1.1) - - GoogleUtilities/AppDelegateSwizzler (7.12.0): + - GoogleSignIn (7.1.0): + - AppAuth (< 2.0, >= 1.7.3) + - GTMAppAuth (< 5.0, >= 4.1.1) + - GTMSessionFetcher/Core (~> 3.3) + - GoogleUtilities/AppDelegateSwizzler (8.0.2): - GoogleUtilities/Environment - GoogleUtilities/Logger - GoogleUtilities/Network - - GoogleUtilities/Environment (7.12.0): - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.12.0): + - GoogleUtilities/Privacy + - GoogleUtilities/Environment (8.0.2): + - GoogleUtilities/Privacy + - GoogleUtilities/Logger (8.0.2): - GoogleUtilities/Environment - - GoogleUtilities/Network (7.12.0): + - GoogleUtilities/Privacy + - GoogleUtilities/Network (8.0.2): - GoogleUtilities/Logger - "GoogleUtilities/NSData+zlib" + - GoogleUtilities/Privacy - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (7.12.0)" - - GoogleUtilities/Reachability (7.12.0): + - "GoogleUtilities/NSData+zlib (8.0.2)": + - GoogleUtilities/Privacy + - GoogleUtilities/Privacy (8.0.2) + - GoogleUtilities/Reachability (8.0.2): - GoogleUtilities/Logger - - GTMAppAuth (2.0.0): - - AppAuth/Core (~> 1.6) - - GTMSessionFetcher/Core (< 4.0, >= 1.5) - - GTMSessionFetcher/Core (3.3.1) + - GoogleUtilities/Privacy + - GTMAppAuth (4.1.1): + - AppAuth/Core (~> 1.7) + - GTMSessionFetcher/Core (< 4.0, >= 3.3) + - GTMSessionFetcher/Core (3.5.0) - KeychainSwift (20.0.0) - - PromisesObjC (2.3.1) - RecaptchaInterop (100.0.0) - single_factor_auth_flutter (0.0.1): - Flutter - - SingleFactorAuth (~> 5.0.0) - - SingleFactorAuth (5.0.0): + - SingleFactorAuth (= 8.0.0) + - SingleFactorAuth (8.0.0): - curvelib.swift (~> 1.0.1) - - Torus-fetchNodeDetails (~> 6.0.1) - - Torus-utils (~> 8.1.0) - - TorusSessionManager (~> 4.0.2) + - Torus-fetchNodeDetails (~> 6.0.3) + - Torus-utils (~> 9.0.1) + - TorusSessionManager (~> 5.0.0) - Torus-fetchNodeDetails (6.0.3): - BigInt (~> 5.2.0) - - Torus-utils (8.1.0): - - AnyCodable-FlightSchool (~> 0.6.0) + - Torus-utils (9.0.1): - curvelib.swift (~> 1.0.1) - - Torus-fetchNodeDetails (~> 6.0.1) - - TorusSessionManager (4.0.2): + - Torus-fetchNodeDetails (~> 6.0.3) + - TorusSessionManager (5.0.0): - curvelib.swift (~> 1.0.1) - KeychainSwift (~> 20.0.0) @@ -92,21 +100,21 @@ DEPENDENCIES: SPEC REPOS: trunk: - - AnyCodable-FlightSchool - AppAuth - BigInt - curvelib.swift - Firebase - FirebaseAppCheckInterop - FirebaseAuth + - FirebaseAuthInterop - FirebaseCore + - FirebaseCoreExtension - FirebaseCoreInternal - GoogleSignIn - GoogleUtilities - GTMAppAuth - GTMSessionFetcher - KeychainSwift - - PromisesObjC - RecaptchaInterop - SingleFactorAuth - Torus-fetchNodeDetails @@ -126,32 +134,32 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/single_factor_auth_flutter/ios" SPEC CHECKSUMS: - AnyCodable-FlightSchool: 261cbe76757802b17d471b9059b21e6fa5edf57b - AppAuth: 3bb1d1cd9340bd09f5ed189fb00b1cc28e1e8570 + AppAuth: 501c04eda8a8d11f179dbe8637b7a91bb7e5d2fa BigInt: f668a80089607f521586bbe29513d708491ef2f7 curvelib.swift: d0746ae82bee34016c06da3567a97e493b3c979f - Firebase: 10c8cb12fb7ad2ae0c09ffc86cd9c1ab392a0031 - firebase_auth: 29a10d4129d53aa690c10dbd838ed1a059ef0c9b - firebase_core: a46c312d8bae4defa3d009b2aa7b5b413aeb394e - FirebaseAppCheckInterop: 69fc7d8f6a1cbfa973efb8d1723651de30d12525 - FirebaseAuth: 9c5c400d2c3055d8ae3a0284944c86fa95d48dac - FirebaseCore: 28045c1560a2600d284b9c45a904fe322dc890b6 - FirebaseCoreInternal: 43c1788eaeee9d1b97caaa751af567ce11010d00 + Firebase: 9f574c08c2396885b5e7e100ed4293d956218af9 + firebase_auth: f27287630c4d9e2c3c63e64d9240822ad6b07e5b + firebase_core: 2ec6b789859c7c24766344ec71fdf78639402d56 + FirebaseAppCheckInterop: ea21450529cf0ebd132788dd8916a0269abc684f + FirebaseAuth: d5cf28be74d7e82257f6a3f717509eff70d3cf4a + FirebaseAuthInterop: 47c09558af5d1b31f16fb352387c72d4804f4a24 + FirebaseCore: 3cf438f431f18c12cdf2aaf64434648b63f7e383 + FirebaseCoreExtension: cda74ddfb001224bd8fd1d6e74698b4ed07803de + FirebaseCoreInternal: 0c569513412da9f3b31bd0b340013bbee8f295c5 Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 google_sign_in_ios: 989eea5abe94af62050782714daf920be883d4a2 - GoogleSignIn: b232380cf495a429b8095d3178a8d5855b42e842 - GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34 - GTMAppAuth: 99fb010047ba3973b7026e45393f51f27ab965ae - GTMSessionFetcher: 8a1b34ad97ebe6f909fb8b9b77fba99943007556 + GoogleSignIn: d4281ab6cf21542b1cfaff85c191f230b399d2db + GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d + GTMAppAuth: f69bd07d68cd3b766125f7e072c45d7340dea0de + GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6 KeychainSwift: 0ce6a4d13f7228054d1a71bb1b500448fb2ab837 - PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4 RecaptchaInterop: 7d1a4a01a6b2cb1610a47ef3f85f0c411434cb21 - single_factor_auth_flutter: 32a02b25ceb8405f3cedce4b675cfb906b8cb099 - SingleFactorAuth: ee61a0969705e016871d0fb1fa65dd4a22e08316 + single_factor_auth_flutter: 9617e5ffce9c0251bddb19cbe49293f921c13b79 + SingleFactorAuth: 2bfa8ad0fe8d0023fffdf1a5f0c9634ca3ee66d8 Torus-fetchNodeDetails: 6c349f47cbca36a4b3f276fe26d03c1b39b20949 - Torus-utils: 3ec4dba5ea50935ab129077adef4207af5a00225 - TorusSessionManager: 05a1a8f3265d0949a1a342c4ba2c52882445b614 + Torus-utils: 1d23e6eedf9ee7df9ecc2605b765ad68eb194f71 + TorusSessionManager: 42c21f100d895976fabe3806cb9c575392f6e424 PODFILE CHECKSUM: 1959d098c91d8a792531a723c4a9d7e9f6a01e38 -COCOAPODS: 1.14.3 +COCOAPODS: 1.15.2 diff --git a/single-factor-auth-flutter/sfa_flutter_solana/ios/Runner/AppDelegate.swift b/single-factor-auth-flutter/sfa_flutter_solana/ios/Runner/AppDelegate.swift index 70693e4a..b6363034 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/ios/Runner/AppDelegate.swift +++ b/single-factor-auth-flutter/sfa_flutter_solana/ios/Runner/AppDelegate.swift @@ -1,7 +1,7 @@ import UIKit import Flutter -@UIApplicationMain +@main @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, diff --git a/single-factor-auth-flutter/sfa_flutter_solana/lib/core/solana/solana_provider.dart b/single-factor-auth-flutter/sfa_flutter_solana/lib/core/solana/solana_provider.dart index 4c73cc28..8e34e308 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/lib/core/solana/solana_provider.dart +++ b/single-factor-auth-flutter/sfa_flutter_solana/lib/core/solana/solana_provider.dart @@ -60,9 +60,9 @@ class SolanaProvider { return signedTx.signatures.first.toBase58(); } - Future getRecentBlockhash() async { + Future getRecentBlockhash() async { return await solanaClient.rpcClient - .getRecentBlockhash(commitment: Commitment.finalized) + .getLatestBlockhash(commitment: Commitment.finalized) .value; } -} \ No newline at end of file +} diff --git a/single-factor-auth-flutter/sfa_flutter_solana/lib/core/web3auth_sfa.dart b/single-factor-auth-flutter/sfa_flutter_solana/lib/core/web3auth_sfa.dart index f1951cfa..0b40b613 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/lib/core/web3auth_sfa.dart +++ b/single-factor-auth-flutter/sfa_flutter_solana/lib/core/web3auth_sfa.dart @@ -13,15 +13,17 @@ class Web3AuthSFA { Future init() async { await singleFactAuthFlutter.init( SFAParams( - network: Web3AuthNetwork.cyan, - clientid: "BEglQSgt4cUWcj6SKRdu5QkOXTsePmMcusG5EAoyjyOYKlVRjIF1iCNnMOTfpzCiunHRrMui8TIwQPXdkQ8Yxuk", + network: Web3AuthNetwork.mainnet, + clientId: + "BJRZ6qdDTbj6Vd5YXvV994TYCqY42-PxldCetmvGTUdoq6pkCqdpuC1DIehz76zuYdaq1RJkXGHuDraHRhCQHvA", + sessionTime: 40 ), ); } Future initialize() async { try { - final TorusKey? torusKey = await singleFactAuthFlutter.initialize(); + final SFAKey? torusKey = await singleFactAuthFlutter.initialize(); if (torusKey != null) { log('Initialized successfully. Private Key: ${torusKey.privateKey}'); } @@ -30,15 +32,16 @@ class Web3AuthSFA { } } - Future getKey(User user) async { + Future getKey(User user) async { try { final token = await user.getIdToken(true); - final TorusKey torusKey = await singleFactAuthFlutter.getKey( + final SFAKey torusKey = await singleFactAuthFlutter.connect( LoginParams( verifier: 'w3a-sfa-flutter-google', verifierId: user.uid, idToken: token!, + aggregateVerifier: token ), ); diff --git a/single-factor-auth-flutter/sfa_flutter_solana/lib/home_screen.dart b/single-factor-auth-flutter/sfa_flutter_solana/lib/home_screen.dart index 21e05163..8a7872d0 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/lib/home_screen.dart +++ b/single-factor-auth-flutter/sfa_flutter_solana/lib/home_screen.dart @@ -26,7 +26,7 @@ class _HomeScreenState extends State { late final Ed25519HDKeyPair keyPair; late final SolanaProvider provider; late double balance; - late final TorusKey torusKey; + late final SFAKey torusKey; @override void initState() { diff --git a/single-factor-auth-flutter/sfa_flutter_solana/pubspec.lock b/single-factor-auth-flutter/sfa_flutter_solana/pubspec.lock index 61986a09..311592cc 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/pubspec.lock +++ b/single-factor-auth-flutter/sfa_flutter_solana/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: _flutterfire_internals - sha256: "1a52f1afae8ab7ac4741425114713bdbba802f1ce1e0648e167ffcc6e05e96cf" + sha256: "5fdcea390499dd26c808a3c662df5f4208d6bbc0643072eee94f1476249e2818" url: "https://pub.dev" source: hosted - version: "1.3.21" + version: "1.3.43" async: dependency: transitive description: @@ -109,10 +109,10 @@ packages: dependency: transitive description: name: ed25519_hd_key - sha256: c5c9f11a03f5789bf9dcd9ae88d641571c802640851f1cacdb13123f171b3a26 + sha256: "0d3a58aa81474bfa9ff67b0d8252d73890276be9801cfccf5f1e1bb6b92ac5c6" url: "https://pub.dev" source: hosted - version: "2.2.1" + version: "2.1.0" fake_async: dependency: transitive description: @@ -133,57 +133,57 @@ packages: dependency: "direct main" description: name: firebase_auth - sha256: "549f8ceb8cfc1920f85dea0ab73fb7dc209ee8182916b252eda342786c33369d" + sha256: "16b0b70e837539b27d4cec059b5169eaf116af9deca896b923e9f84d83af9cc6" url: "https://pub.dev" source: hosted - version: "4.17.4" + version: "5.3.0" firebase_auth_platform_interface: dependency: transitive description: name: firebase_auth_platform_interface - sha256: "83bfc14649f673db17ad0bffaa0222019f99f3ddf499bcc8b46e1eb3443d3e08" + sha256: f1f32cdba3f5620082c63d18545dd58dde8f5ffc66caa43feb9b9fe57e93d4b6 url: "https://pub.dev" source: hosted - version: "7.1.4" + version: "7.4.6" firebase_auth_web: dependency: transitive description: name: firebase_auth_web - sha256: d2266452698dd5f6e522408dacfa06bb7f9703b5bdd11498fce2812ded50805b + sha256: "5731d0e51ef7aa93f9c421798b92b6961411c15c18adaff939a3c9f84e8e456b" url: "https://pub.dev" source: hosted - version: "5.9.4" + version: "5.13.1" firebase_core: dependency: "direct main" description: name: firebase_core - sha256: "7e049e32a9d347616edb39542cf92cd53fdb4a99fb6af0a0bff327c14cd76445" + sha256: c7de9354eb2cd8bfe8059e1112174c9a58beda7051807207306bc48283277cfb url: "https://pub.dev" source: hosted - version: "2.25.4" + version: "3.5.0" firebase_core_platform_interface: dependency: transitive description: name: firebase_core_platform_interface - sha256: c437ae5d17e6b5cc7981cf6fd458a5db4d12979905f9aafd1fea930428a9fe63 + sha256: e30da58198a6d4b49d5bce4e852f985c32cb10db329ebef9473db2b9f09ce810 url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "5.3.0" firebase_core_web: dependency: transitive description: name: firebase_core_web - sha256: "57e61d6010e253b36d38191cefd6199d7849152cdcd234b61ca290cdb278a0ba" + sha256: f967a7138f5d2ffb1ce15950e2a382924239eaa521150a8f144af34e68b3b3e5 url: "https://pub.dev" source: hosted - version: "2.11.4" + version: "2.18.1" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_lints: - dependency: "direct dev" + dependency: "direct overridden" description: name: flutter_lints sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04 @@ -220,10 +220,10 @@ packages: dependency: transitive description: name: google_identity_services_web - sha256: "0c56c2c5d60d6dfaf9725f5ad4699f04749fb196ee5a70487a46ef184837ccf6" + sha256: "5be191523702ba8d7a01ca97c17fca096822ccf246b0a9f11923a6ded06199b6" url: "https://pub.dev" source: hosted - version: "0.3.0+2" + version: "0.3.1+4" google_sign_in: dependency: "direct main" description: @@ -260,10 +260,10 @@ packages: dependency: transitive description: name: google_sign_in_web - sha256: a278ea2d01013faf341cbb093da880d0f2a552bbd1cb6ee90b5bebac9ba69d77 + sha256: "042805a21127a85b0dc46bba98a37926f17d2439720e8a459d27045d8ef68055" url: "https://pub.dev" source: hosted - version: "0.12.3+2" + version: "0.12.4+2" hex: dependency: "direct main" description: @@ -276,10 +276,10 @@ packages: dependency: transitive description: name: http - sha256: a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba + sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.2.2" http_parser: dependency: transitive description: @@ -308,26 +308,26 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" + sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" url: "https://pub.dev" source: hosted - version: "10.0.0" + version: "10.0.5" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 + sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "3.0.5" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing - sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "3.0.1" lints: dependency: transitive description: @@ -348,18 +348,18 @@ packages: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.15.0" path: dependency: transitive description: @@ -369,13 +369,13 @@ packages: source: hosted version: "1.9.0" pinenacl: - dependency: transitive + dependency: "direct overridden" description: name: pinenacl - sha256: "3a5503637587d635647c93ea9a8fecf48a420cc7deebe6f1fc85c2a5637ab327" + sha256: "57e907beaacbc3c024a098910b6240758e899674de07d6949a67b52fd984cbdf" url: "https://pub.dev" source: hosted - version: "0.5.1" + version: "0.6.0" plugin_platform_interface: dependency: transitive description: @@ -404,10 +404,10 @@ packages: dependency: "direct main" description: name: single_factor_auth_flutter - sha256: b5d95ae0aad492083e135b893aa9c01db8db122f3aab5a2fe519983ed51f4b93 + sha256: d4297283248657dc00ee55e57ba22ecc4871881d784be78ea25c07ce66618883 url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "5.0.0" sky_engine: dependency: transitive description: flutter @@ -417,10 +417,10 @@ packages: dependency: "direct main" description: name: solana - sha256: "99a6a40a847f57ccf4687a730413d67fcaef4fc6778ddd9c3258e7fe8e4c6743" + sha256: "349ae373501cd83d2df2285c76a97e5531d580f0e327732d883dcd0957981604" url: "https://pub.dev" source: hosted - version: "0.30.3" + version: "0.31.0" source_span: dependency: transitive description: @@ -465,10 +465,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" url: "https://pub.dev" source: hosted - version: "0.6.1" + version: "0.7.2" typed_data: dependency: transitive description: @@ -489,18 +489,18 @@ packages: dependency: transitive description: name: vm_service - sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted - version: "13.0.0" + version: "14.2.5" web: dependency: transitive description: name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062 url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "1.0.0" web_socket_channel: dependency: transitive description: @@ -510,5 +510,5 @@ packages: source: hosted version: "2.4.0" sdks: - dart: ">=3.2.5 <4.0.0" - flutter: ">=3.16.6" + dart: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" diff --git a/single-factor-auth-flutter/sfa_flutter_solana/pubspec.yaml b/single-factor-auth-flutter/sfa_flutter_solana/pubspec.yaml index 4c591f12..5deee5a8 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/pubspec.yaml +++ b/single-factor-auth-flutter/sfa_flutter_solana/pubspec.yaml @@ -36,17 +36,21 @@ dependencies: # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 get_it: ^7.6.7 - single_factor_auth_flutter: ^3.0.0 - firebase_auth: ^4.17.4 - firebase_core: ^2.25.4 + single_factor_auth_flutter: ^5.0.0 + firebase_auth: ^5.3.0 + firebase_core: ^3.5.0 google_sign_in: ^6.2.1 - solana: ^0.30.3 + solana: ^0.31.0 hex: ^0.2.0 + dev_dependencies: flutter_test: sdk: flutter +dependency_overrides: + pinenacl: ^0.6.0 + # The "flutter_lints" package below contains a set of recommended lints to # encourage good coding practices. The lint set provided by the package is # activated in the `analysis_options.yaml` file located at the root of your