Anchor-Protocol / anchor-earn

The Earn JavaScript SDK for Anchor Protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: Module "@terra-money/terra.js" has no exported member 'StdTx'

libkluid opened this issue · comments

Version: v1.1.1

Recently, I encountered an TypeScript build error while try using anchor-earn.

node_modules/@anchor-protocol/anchor-earn/dist/facade/types.d.ts:7:24 - error TS2305: Module '"@terra-money/terra.js"' has no exported member 'StdTx'.

The version of terra.js is specifying ^2.0.10, which makes npm to fetch v2.1.23.

"@terra-money/terra.js": "^2.0.10"