@@ -16,18 +16,18 @@ import {
1616 createPublicClient ,
1717 createWalletClient ,
1818 defineChain ,
19- type HttpTransportConfig ,
2019 http ,
21- type PublicClient ,
2220 publicActions ,
21+ type HttpTransportConfig ,
22+ type PublicClient ,
2323 type Transport ,
2424 type Chain as ViemChain ,
2525} from "viem" ;
2626import * as chains from "viem/chains" ;
2727import { z } from "zod" ;
28- import { createWallet } from "./custom-actions/create-wallet.action.js" ;
29- import { createWalletVerification } from "./custom-actions/create-wallet-verification.action.js" ;
3028import { createWalletVerificationChallenges } from "./custom-actions/create-wallet-verification-challenges.action.js" ;
29+ import { createWalletVerification } from "./custom-actions/create-wallet-verification.action.js" ;
30+ import { createWallet } from "./custom-actions/create-wallet.action.js" ;
3131import { deleteWalletVerification } from "./custom-actions/delete-wallet-verification.action.js" ;
3232import { getWalletVerifications } from "./custom-actions/get-wallet-verifications.action.js" ;
3333import { verifyWalletVerificationChallenge } from "./custom-actions/verify-wallet-verification-challenge.action.js" ;
@@ -383,8 +383,8 @@ export const getWalletClient = (options: ClientOptions) => {
383383 // WHY 500ms: Same as public client for consistent behavior
384384 pollingInterval : 500 ,
385385 transport : http ( validatedOptions . rpcUrl , {
386- // PERFORMANCE: Batch requests for multiple operations
387- batch : true ,
386+ // NEVER BATCH!
387+ batch : false ,
388388 // RELIABILITY: 60s timeout for potentially slow signing operations
389389 timeout : 60_000 ,
390390 ...validatedOptions . httpTransportConfig ,
@@ -567,10 +567,10 @@ function getChain({ chainId, chainName, rpcUrl }: Pick<ClientOptions, "chainId"
567567}
568568
569569export type {
570- CreateWalletParameters ,
571- CreateWalletResponse ,
572- WalletInfo ,
573- } from "./custom-actions/create-wallet.action.js" ;
570+ CreateWalletVerificationChallengesParameters ,
571+ CreateWalletVerificationChallengesResponse ,
572+ WalletVerificationChallenge ,
573+ } from "./custom-actions/create-wallet-verification-challenges .action.js" ;
574574export type {
575575 CreateWalletVerificationParameters ,
576576 CreateWalletVerificationResponse ,
@@ -580,10 +580,10 @@ export type {
580580 WalletVerificationInfo ,
581581} from "./custom-actions/create-wallet-verification.action.js" ;
582582export type {
583- CreateWalletVerificationChallengesParameters ,
584- CreateWalletVerificationChallengesResponse ,
585- WalletVerificationChallenge ,
586- } from "./custom-actions/create-wallet-verification-challenges .action.js" ;
583+ CreateWalletParameters ,
584+ CreateWalletResponse ,
585+ WalletInfo ,
586+ } from "./custom-actions/create-wallet.action.js" ;
587587export type {
588588 DeleteWalletVerificationParameters ,
589589 DeleteWalletVerificationResponse ,
0 commit comments