File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
packages/unity-js-bridge/src Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @thirdweb-dev/unity-js-bridge " : patch
3
+ ---
4
+
5
+ [ Unity] Expose additional WC QR Options
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ class ThirdwebBridge implements TWBridge {
151
151
}
152
152
( globalThis as any ) . X_SDK_NAME = "UnitySDK_WebGL" ;
153
153
( globalThis as any ) . X_SDK_PLATFORM = "unity" ;
154
- ( globalThis as any ) . X_SDK_VERSION = "4.7.10 " ;
154
+ ( globalThis as any ) . X_SDK_VERSION = "4.7.11 " ;
155
155
( globalThis as any ) . X_SDK_OS = browser ?. os ?? "unknown" ;
156
156
}
157
157
this . initializedChain = chain ;
@@ -221,8 +221,18 @@ class ThirdwebBridge implements TWBridge {
221
221
chains : supportedChains ,
222
222
clientId : sdkOptions . clientId ,
223
223
qrModalOptions : {
224
+ enableExplorer :
225
+ sdkOptions . wallet ?. walletConnectEnableExplorer ?? false ,
224
226
explorerRecommendedWalletIds :
225
- sdkOptions . wallet ?. walletConnectExplorerRecommendedWalletIds ,
227
+ sdkOptions . wallet ?. walletConnectExplorerRecommendedWalletIds ??
228
+ undefined ,
229
+ walletImages :
230
+ sdkOptions . wallet ?. walletConnectWalletImages ?? undefined ,
231
+ desktopWallets :
232
+ sdkOptions . wallet ?. walletConnectDesktopWallets ?? undefined ,
233
+ mobileWallets :
234
+ sdkOptions . wallet ?. walletConnectMobileWallets ?? undefined ,
235
+ themeMode : sdkOptions . wallet ?. walletConnectThemeMode ?? undefined ,
226
236
} ,
227
237
} ) ;
228
238
break ;
You can’t perform that action at this time.
0 commit comments