File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Assets/Thirdweb/Core/Scripts Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ public void Initialize(string chainIdentifier)
178
178
? ( string . IsNullOrEmpty ( clientId ) ? $ "https://{ chainData . chainId } .rpc.thirdweb.com/" : $ "https://{ chainData . chainId } .rpc.thirdweb.com/{ clientId } ")
179
179
: chainData . rpcOverride ;
180
180
181
- if ( new System . Uri ( rpc ) . Host . EndsWith ( ".thirdweb.com" ) )
181
+ if ( options . clientId != null && new System . Uri ( rpc ) . Host . EndsWith ( ".thirdweb.com" ) )
182
182
rpc = rpc . AppendBundleIdQueryParam ( ) ;
183
183
184
184
if ( chainData . identifier == activeChain )
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ public struct BiconomyOptions
262
262
? ( string . IsNullOrEmpty ( options . clientId ) ? $ "https://{ chainOrRPC } .rpc.thirdweb.com/" : $ "https://{ chainOrRPC } .rpc.thirdweb.com/{ options . clientId } ")
263
263
: chainOrRPC ;
264
264
265
- if ( new System . Uri ( rpc ) . Host . EndsWith ( ".thirdweb.com" ) && ! rpc . Contains ( "bundleId=" ) )
265
+ if ( options . clientId != null && new System . Uri ( rpc ) . Host . EndsWith ( ".thirdweb.com" ) && ! rpc . Contains ( "bundleId=" ) )
266
266
rpc = rpc . AppendBundleIdQueryParam ( ) ;
267
267
268
268
if ( Utils . IsWebGLBuild ( ) )
You can’t perform that action at this time.
0 commit comments