From d3c0f8c83aca95e137dc87c38c668f0f74d9fa22 Mon Sep 17 00:00:00 2001 From: 0xFirekeeper <0xFirekeeper@gmail.com> Date: Mon, 18 Mar 2024 17:51:26 +0300 Subject: [PATCH] ver --- Assets/Thirdweb/Core/Scripts/ThirdwebSDK.cs | 2 +- .../Thirdweb/Editor/ThirdwebManagerEditor.cs | 2 +- .../Thirdweb/lib/thirdweb-unity-bridge.js | 28 +++++++++++++------ ProjectSettings/ProjectSettings.asset | 2 +- 4 files changed, 22 insertions(+), 12 deletions(-) diff --git a/Assets/Thirdweb/Core/Scripts/ThirdwebSDK.cs b/Assets/Thirdweb/Core/Scripts/ThirdwebSDK.cs index 4b0d2d6e..e5de4a39 100644 --- a/Assets/Thirdweb/Core/Scripts/ThirdwebSDK.cs +++ b/Assets/Thirdweb/Core/Scripts/ThirdwebSDK.cs @@ -243,7 +243,7 @@ public struct BiconomyOptions public ThirdwebSession session; - internal const string version = "4.7.9"; + internal const string version = "4.7.10"; /// /// Create an instance of the Thirdweb SDK. diff --git a/Assets/Thirdweb/Editor/ThirdwebManagerEditor.cs b/Assets/Thirdweb/Editor/ThirdwebManagerEditor.cs index d9ef4be7..0622aec5 100644 --- a/Assets/Thirdweb/Editor/ThirdwebManagerEditor.cs +++ b/Assets/Thirdweb/Editor/ThirdwebManagerEditor.cs @@ -45,7 +45,7 @@ public class ThirdwebManagerEditor : Editor private GUIContent warningIcon; private Texture2D bannerImage; - private static readonly string ExpandedStateKey = "ThirdwebManagerEditor_ExpandedState_4.7.9"; + private static readonly string ExpandedStateKey = "ThirdwebManagerEditor_ExpandedState_4.7.10"; private void OnEnable() { diff --git a/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js b/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js index 787e3a39..81f95645 100644 --- a/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js +++ b/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js @@ -112498,7 +112498,9 @@ ${t.resources.map((m) => `- ${m}`).join(` e ? r.push( a.replace("${THIRDWEB_API_KEY}", e) + - (typeof globalThis < "u" && "APP_BUNDLE_ID" in globalThis + (typeof globalThis < "u" && + "APP_BUNDLE_ID" in globalThis && + !!globalThis.APP_BUNDLE_ID ? `/?bundleId=${globalThis.APP_BUNDLE_ID}` : "") ) @@ -160931,7 +160933,9 @@ ${t.resources.map((m) => `- ${m}`).join(` e ? r.push( a.replace("${THIRDWEB_API_KEY}", e) + - (typeof globalThis < "u" && "APP_BUNDLE_ID" in globalThis + (typeof globalThis < "u" && + "APP_BUNDLE_ID" in globalThis && + !!globalThis.APP_BUNDLE_ID ? `/?bundleId=${globalThis.APP_BUNDLE_ID}` : "") ) @@ -338635,7 +338639,10 @@ await sdk.getEdition("${ : "node"; } function n4a(n) { - return n.supportedChains.reduce((e, t) => ((e[t.chainId] = t), e), {}); + return n.supportedChains.reduce( + (e, t) => (e[t.chainId] || (e[t.chainId] = t), e), + {} + ); } function Q0e(n, e) { if (typeof n == "string" && a4a(n)) return F0e(n, e); @@ -365712,7 +365719,10 @@ await sdk.getEdition("${ : "node"; } function DIa(n) { - return n.supportedChains.reduce((e, t) => ((e[t.chainId] = t), e), {}); + return n.supportedChains.reduce( + (e, t) => (e[t.chainId] || (e[t.chainId] = t), e), + {} + ); } function Nse(n, e) { if (typeof n == "string" && RIa(n)) return Ese(n, e); @@ -480977,8 +480987,8 @@ Code: ${s}`; super(t); let r = { walletConnectWalletMetadata: { - name: "Thirdweb Smart Wallet", - description: "Thirdweb Smart Wallet", + name: "thirdweb Smart Account", + description: "thirdweb Smart Account", url: "https://thirdweb.com", icons: ["https://thirdweb.com/favicon.ico"], }, @@ -491601,8 +491611,8 @@ Code: ${s}`; super(t); let r = { walletConnectWalletMetadata: { - name: "Thirdweb Smart Wallet", - description: "Thirdweb Smart Wallet", + name: "thirdweb Smart Account", + description: "thirdweb Smart Account", url: "https://thirdweb.com", icons: ["https://thirdweb.com/favicon.ico"], }, @@ -494672,7 +494682,7 @@ Code: ${s}`; } (globalThis.X_SDK_NAME = "UnitySDK_WebGL"), (globalThis.X_SDK_PLATFORM = "unity"), - (globalThis.X_SDK_VERSION = "4.7.9"), + (globalThis.X_SDK_VERSION = "4.7.10"), (globalThis.X_SDK_OS = s?.os ?? "unknown"); } this.initializedChain = e; diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 3e4610f7..c0faf831 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -139,7 +139,7 @@ PlayerSettings: vulkanEnableLateAcquireNextImage: 0 vulkanEnableCommandBufferRecycling: 1 loadStoreDebugModeEnabled: 0 - bundleVersion: 4.7.9 + bundleVersion: 4.7.10 preloadedAssets: [] metroInputSource: 0 wsaTransparentSwapchain: 0