Skip to content

Commit

Permalink
fix: txServiceUrl not propagated to sdk-starter-kit (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
yagopv authored Nov 12, 2024
1 parent 60b5812 commit f4039ae
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 f4039ae

Please sign in to comment.