From 53c9678f15d419093c892a76beea97b120721a5e Mon Sep 17 00:00:00 2001 From: Gaurav Goel Date: Fri, 20 Sep 2024 16:26:17 +0530 Subject: [PATCH 1/2] feat: bugFix in Web3Authnetworks Signed-off-by: Gaurav Goel --- .../single_factor_auth_flutter/SingleFactorAuthFlutterPlugin.kt | 2 +- ios/Classes/SingleFactorAuthFlutterPlugin.swift | 2 +- lib/input.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/src/main/kotlin/com/web3auth/single_factor_auth_flutter/SingleFactorAuthFlutterPlugin.kt b/android/src/main/kotlin/com/web3auth/single_factor_auth_flutter/SingleFactorAuthFlutterPlugin.kt index d3692c2..b182227 100644 --- a/android/src/main/kotlin/com/web3auth/single_factor_auth_flutter/SingleFactorAuthFlutterPlugin.kt +++ b/android/src/main/kotlin/com/web3auth/single_factor_auth_flutter/SingleFactorAuthFlutterPlugin.kt @@ -48,7 +48,7 @@ class SingleFactorAuthFlutterPlugin : FlutterPlugin, MethodCallHandler { "aqua" -> Web3AuthNetwork.AQUA "cyan" -> Web3AuthNetwork.CYAN "celeste" -> Web3AuthNetwork.CELESTE - "sapphire_testnet" -> Web3AuthNetwork.SAPPHIRE_DEVNET + "sapphire_devnet" -> Web3AuthNetwork.SAPPHIRE_DEVNET "sapphire_mainnet" -> Web3AuthNetwork.SAPPHIRE_MAINNET else -> Web3AuthNetwork.MAINNET } diff --git a/ios/Classes/SingleFactorAuthFlutterPlugin.swift b/ios/Classes/SingleFactorAuthFlutterPlugin.swift index eb0d453..f7e5619 100644 --- a/ios/Classes/SingleFactorAuthFlutterPlugin.swift +++ b/ios/Classes/SingleFactorAuthFlutterPlugin.swift @@ -23,7 +23,7 @@ public class SingleFactorAuthFlutterPlugin: NSObject, FlutterPlugin { return .legacy(.AQUA) case "cyan": return .legacy(.CYAN) - case "sappire_devnet": + case "sapphire_devnet": return .sapphire(.SAPPHIRE_DEVNET) case "sapphire_mainnet": return .sapphire(.SAPPHIRE_MAINNET) diff --git a/lib/input.dart b/lib/input.dart index aeb9799..35fe405 100644 --- a/lib/input.dart +++ b/lib/input.dart @@ -46,7 +46,7 @@ enum Web3AuthNetwork { cyan, aqua, celeste, - sapphire_testnet, + sapphire_devnet, sapphire_mainnet } From 17dd72a95d8feee84d43859cbd748d8553a43776 Mon Sep 17 00:00:00 2001 From: Gaurav Goel Date: Fri, 20 Sep 2024 16:38:07 +0530 Subject: [PATCH 2/2] feat: bump version Signed-off-by: Gaurav Goel --- example/pubspec.lock | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/pubspec.lock b/example/pubspec.lock index 68d445f..5392046 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -217,7 +217,7 @@ packages: path: ".." relative: true source: path - version: "4.0.1" + version: "5.0.0" sky_engine: dependency: transitive description: flutter diff --git a/pubspec.yaml b/pubspec.yaml index 1ce50a3..da5e00a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: single_factor_auth_flutter description: Single Factor Auth Flutter SDK -version: 5.0.0 +version: 5.1.0 homepage: "https://github.com/web3auth/single-factor-auth-flutter" environment: