diff --git a/src/createClient.ts b/src/createClient.ts index e47dac0..ba03c21 100644 --- a/src/createClient.ts +++ b/src/createClient.ts @@ -14,9 +14,15 @@ const extendWithSafeOperations = async ( return await client.extend(safeOperations({ bundlerUrl }, paymasterOptions)) } -const getPublicClientConfig = ({ provider, safeAddress, safeOptions }: SafeConfig) => ({ +const getPublicClientConfig = ({ + provider, + safeAddress, + txServiceUrl, + safeOptions +}: SafeConfig) => ({ signer: undefined, provider, + txServiceUrl, ...(safeAddress ? { safeAddress } : { safeOptions }) })