Skip to content

Commit

Permalink
allow passing transport to paymaster
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Sep 26, 2024
1 parent b437604 commit d914d67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { createBundlerClient, createPaymasterClient } from "viem/account-abstrac

export type BundlerConfig = {
url: string;
} & Pick<Parameters<typeof createBundlerClient>[0], "key" | "name" | "cacheTime" | "pollingInterval" | "userOperation" | "rpcSchema">;
} & Pick<Parameters<typeof createBundlerClient>[0], "key" | "name" | "cacheTime" | "pollingInterval" | "userOperation" | "rpcSchema" | "transport">;

export type PaymasterConfig = {
url: string;
} & Pick<Parameters<typeof createPaymasterClient>[0], "key" | "name" | "pollingInterval" | "rpcSchema">;
} & Pick<Parameters<typeof createPaymasterClient>[0], "key" | "name" | "pollingInterval" | "rpcSchema" | "cacheTime" | "transport">;

0 comments on commit d914d67

Please sign in to comment.