Skip to content

Commit 618d524

Browse files
committed
feat: update ProjectConfigResponse schema.
Signed-off-by: Gaurav Goel <[email protected]>
1 parent 4476095 commit 618d524

File tree

5 files changed

+36
-3
lines changed

5 files changed

+36
-3
lines changed

Assets/Plugins/Web3AuthSDK/Api/Models/ProjectConfigResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class WhitelistResponse
88

99
public class ProjectConfigResponse
1010
{
11-
public WhiteLabelData whiteLabelData { get; set; }
11+
public WhiteLabelData whiteLabel { get; set; }
1212
public bool sms_otp_enabled { get; set; }
1313
public bool wallet_connect_enabled { get; set; }
1414
public string wallet_connect_project_id { get; set; }

Assets/Plugins/Web3AuthSDK/Api/Models/ProjectConfigResponse.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/Web3AuthSDK/Api/WhiteLabelDataExtensions.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/Web3AuthSDK/Types/DictionaryExtensions.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/Web3AuthSDK/Web3Auth.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,9 +658,9 @@ private void fetchProjectConfig()
658658
if (response != null)
659659
{
660660
this.web3AuthOptions.originData = this.web3AuthOptions.originData.mergeMaps(response.whitelist?.signed_urls);
661-
if (response?.whiteLabelData != null)
661+
if (response?.whiteLabel != null)
662662
{
663-
this.web3AuthOptions.whiteLabel = this.web3AuthOptions.whiteLabel?.merge(response.whiteLabelData);
663+
this.web3AuthOptions.whiteLabel = this.web3AuthOptions.whiteLabel?.merge(response.whiteLabel);
664664
}
665665
//Debug.Log("this.web3AuthOptions: =>" + JsonConvert.SerializeObject(this.web3AuthOptions));
666666

0 commit comments

Comments
 (0)