From d264a4252df9cc0a7f6af2815243c01ccaf6588f Mon Sep 17 00:00:00 2001 From: rasplarry Date: Wed, 4 Oct 2023 19:01:59 +0900 Subject: [PATCH] chore: Rename of method to Of --- haechi.face.unity.sdk/Runtime/Client/Face/LoginOption.cs | 2 +- haechi.face.unity.sdk/Samples/Script/FaceWalletManager.cs | 2 +- haechi.face.unity.sdk/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/haechi.face.unity.sdk/Runtime/Client/Face/LoginOption.cs b/haechi.face.unity.sdk/Runtime/Client/Face/LoginOption.cs index 3774adf..615c187 100644 --- a/haechi.face.unity.sdk/Runtime/Client/Face/LoginOption.cs +++ b/haechi.face.unity.sdk/Runtime/Client/Face/LoginOption.cs @@ -24,7 +24,7 @@ public static LoginOption All() .ConvertAll(n => n.HostValue())); } - public static LoginOption of(List providers) + public static LoginOption Of(List providers) { return new LoginOption(new List(providers) .ConvertAll(n => n.HostValue())); diff --git a/haechi.face.unity.sdk/Samples/Script/FaceWalletManager.cs b/haechi.face.unity.sdk/Samples/Script/FaceWalletManager.cs index a1212f4..7823ffd 100644 --- a/haechi.face.unity.sdk/Samples/Script/FaceWalletManager.cs +++ b/haechi.face.unity.sdk/Samples/Script/FaceWalletManager.cs @@ -363,7 +363,7 @@ private async void WalletConnect() private async Task _loginAndGetBalanceAsync([AllowNull] List providers) { - LoginOption option = providers == null ? null : LoginOption.of(providers); + LoginOption option = providers == null ? null : LoginOption.Of(providers); FaceLoginResponse response = await this._face.Auth().Login(option); string address = response.wallet.Address; string userVerificationToken = response.userVerificationToken; diff --git a/haechi.face.unity.sdk/package.json b/haechi.face.unity.sdk/package.json index f803535..6f6e9ee 100644 --- a/haechi.face.unity.sdk/package.json +++ b/haechi.face.unity.sdk/package.json @@ -1,6 +1,6 @@ { "name": "haechi.face.unity.sdk", - "version": "1.3.18", + "version": "1.3.20", "displayName": "Face Unity SDK", "description": "Face Unity SDK that helps integrating Face Wallet on the Unity platform", "documentationUrl": "https://docs.facewallet.xyz/docs/overview-1",