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/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/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 } 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: