Skip to content

Commit

Permalink
fix(providers): fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnk committed Oct 27, 2024
1 parent f4d34d6 commit 56f7caa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/providers/src/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ export const AddChainRequestParams = z
// Params
export const AccountsRequestParamsSchema = z
.object({
method: z.union([
z.literal("mina_accounts"),
z.literal("mina_requestAccounts"),
]),
method: z.literal("mina_accounts"),
})
.strict();
export const ReqquestAccountsRequestParamsSchema = z
.object({
method: z.literal("mina_requestAccounts"),
})
.strict();
export const ChainIdRequestParamsSchema = z
Expand Down

0 comments on commit 56f7caa

Please sign in to comment.