The surf package bundle size has increased significantly due to initia.js being included as a direct dependency.
This contrasts with @aptos-labs/ts-sdk, which is correctly listed as a peer dependency. For users only needing Aptos support, the bundled initia.js adds unnecessary bloat.
Could initia.js also be changed to a peer dependency? This would align the handling of chain-specific SDKs and allow consumers to only install/bundle initia.js if they actually need Initia functionality, keeping the core package lean for single chain users.
The surf package bundle size has increased significantly due to initia.js being included as a direct dependency.
This contrasts with
@aptos-labs/ts-sdk, which is correctly listed as a peer dependency. For users only needing Aptos support, the bundledinitia.jsadds unnecessary bloat.Could
initia.jsalso be changed to a peer dependency? This would align the handling of chain-specific SDKs and allow consumers to only install/bundleinitia.jsif they actually need Initia functionality, keeping the core package lean for single chain users.