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)
178178 ? ( string . IsNullOrEmpty ( clientId ) ? $ "https://{ chainData . chainId } .rpc.thirdweb.com/" : $ "https://{ chainData . chainId } .rpc.thirdweb.com/{ clientId } ")
179179 : chainData . rpcOverride ;
180180
181- if ( new System . Uri ( rpc ) . Host . EndsWith ( ".thirdweb.com" ) )
181+ if ( options . clientId != null && new System . Uri ( rpc ) . Host . EndsWith ( ".thirdweb.com" ) )
182182 rpc = rpc . AppendBundleIdQueryParam ( ) ;
183183
184184 if ( chainData . identifier == activeChain )
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ public struct BiconomyOptions
262262 ? ( string . IsNullOrEmpty ( options . clientId ) ? $ "https://{ chainOrRPC } .rpc.thirdweb.com/" : $ "https://{ chainOrRPC } .rpc.thirdweb.com/{ options . clientId } ")
263263 : chainOrRPC ;
264264
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=" ) )
266266 rpc = rpc . AppendBundleIdQueryParam ( ) ;
267267
268268 if ( Utils . IsWebGLBuild ( ) )
You can’t perform that action at this time.
0 commit comments