Skip to content

Commit

Permalink
Add txServiceUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
yagopv committed Nov 12, 2024
1 parent 2a3fd94 commit 113b02d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/createClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
})

Expand Down

0 comments on commit 113b02d

Please sign in to comment.