-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
Hello,
I'm trying to use the projet but I'm getting these errors on build :
npm run build
polymarket-copy-trading-bot@1.0.0 build
tsc
src/modules/services/createClobClient.ts:2:10 - error TS2305: Module '"@polymarket/clob-client"' has no exported member 'createClobClient'.
2 import { createClobClient as createClient, ClobClient } from '@polymarket/clob-client';
~~~~~~~~~~~~~~~~
src/modules/services/tradeExecutor.ts:26:63 - error TS2339: Property 'wallet' does not exist on type 'ClobClient'.
26 const yourUsdBalance = await getUsdBalanceApprox(client.wallet);
~~~~~~
Found 2 errors in 2 files.
Is there any way to fix this ?
Thank you !
Metadata
Metadata
Assignees
Labels
No labels