diff --git a/packages/payment-processor/src/payment/erc-20-private-payment-hinkal.ts b/packages/payment-processor/src/payment/erc-20-private-payment-hinkal.ts index fa88e647e..97fd1ae81 100644 --- a/packages/payment-processor/src/payment/erc-20-private-payment-hinkal.ts +++ b/packages/payment-processor/src/payment/erc-20-private-payment-hinkal.ts @@ -18,9 +18,7 @@ import { validateRequest, } from './utils'; import { IPreparedPrivateTransaction } from './prepared-transaction'; - import type { IHinkal, RelayerTransaction } from '@hinkal/common'; -import { prepareEthersHinkal } from '@hinkal/common/providers/prepareEthersHinkal'; /** * This is a globally accessible state variable exported for use in other parts of the application or tests. @@ -39,6 +37,7 @@ export const hinkalStore: Record = {}; export async function addToHinkalStore(signer: Signer): Promise { const address = await signer.getAddress(); if (!hinkalStore[address]) { + const { prepareEthersHinkal } = await import('@hinkal/common/providers/prepareEthersHinkal'); hinkalStore[address] = await prepareEthersHinkal(signer); } return hinkalStore[address];