diff --git a/link.magic.unity.sdk/Scripts/Magic.cs b/link.magic.unity.sdk/Scripts/Magic.cs index ca9ae0c..b3fbfb7 100644 --- a/link.magic.unity.sdk/Scripts/Magic.cs +++ b/link.magic.unity.sdk/Scripts/Magic.cs @@ -39,8 +39,6 @@ public Magic(string apikey, CustomNodeConfiguration config, string locale = "en- public enum EthNetwork { Mainnet, - Kovan, - Rinkeby, - Rposten + Goerli, } -} \ No newline at end of file +} diff --git a/link.magic.unity.sdk/Scripts/Relayer/UrlBuilder.cs b/link.magic.unity.sdk/Scripts/Relayer/UrlBuilder.cs index c56458c..f4d34bf 100644 --- a/link.magic.unity.sdk/Scripts/Relayer/UrlBuilder.cs +++ b/link.magic.unity.sdk/Scripts/Relayer/UrlBuilder.cs @@ -1,4 +1,5 @@ using System; +using JetBrains.Annotations; using link.magic.unity.sdk.Utility; using UnityEngine; @@ -51,10 +52,10 @@ internal class CustomNodeOptions : BaseOptions [Serializable] public class CustomNodeConfiguration { - [SerializeField] internal int chainId; + [SerializeField] [CanBeNull] internal int? chainId; [SerializeField] internal string rpcUrl; - public CustomNodeConfiguration(string rpcUrl, int chainId) + public CustomNodeConfiguration(string rpcUrl, int? chainId) { this.rpcUrl = rpcUrl; this.chainId = chainId; diff --git a/package.json b/package.json index 8511884..51dcb7a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "link.magic.unity.sdk", "displayName": "Magic Link Unity SDK", "description": "The Magic Link Unity SDK provides access to Magic Key Management System and interact with Blockchain.", - "version": "0.2.0", + "version": "1.1.0", "unity": "2021.3", "author": { "name": "Magic Labs Inc."