Problem
For the solo memory reduction effort, we're trying to reduce the size of our dependencies to reduce image and memory size. The mirror node only uses a tiny subset of all the protos, but @hiero-ledger/proto is a commonjs module so it's not available to be tree-shaken. Even if it was, it doesn't allow individual named imports like import {Keylist} from '@hiero-ledger/proto';
Solution
Convert @hiero-ledger/proto to ES module with named imports
Alternatives
No response
Problem
For the solo memory reduction effort, we're trying to reduce the size of our dependencies to reduce image and memory size. The mirror node only uses a tiny subset of all the protos, but
@hiero-ledger/protois a commonjs module so it's not available to be tree-shaken. Even if it was, it doesn't allow individual named imports likeimport {Keylist} from '@hiero-ledger/proto';Solution
Convert @hiero-ledger/proto to ES module with named imports
Alternatives
No response