The TypeScript packages in this repository depend on @wormhole-foundation/sdk. But this brings in many unnecessary dependencies as we only need to interact with Solana here.
I quickly went over all the imports and it looks like the dependencies can be reduced to the following subset of Wormhole SDK:
@wormhole-foundation/sdk-base
@wormhole-foundation/sdk-connect
@wormhole-foundation/sdk-definitions
@wormhole-foundation/sdk-solana
@wormhole-foundation/sdk-solana-core
I would recommend changing all imports from @wormhole-foundation/sdk to these specific packages and remove the dependency on the parent package.
The TypeScript packages in this repository depend on @wormhole-foundation/sdk. But this brings in many unnecessary dependencies as we only need to interact with Solana here.
I quickly went over all the imports and it looks like the dependencies can be reduced to the following subset of Wormhole SDK:
@wormhole-foundation/sdk-base
@wormhole-foundation/sdk-connect
@wormhole-foundation/sdk-definitions
@wormhole-foundation/sdk-solana
@wormhole-foundation/sdk-solana-core
I would recommend changing all imports from
@wormhole-foundation/sdk
to these specific packages and remove the dependency on the parent package.