No compiled protobuf is exported. It's the job of a consuming package (such as lpms-server, stays, lpms-cli etc to compile the protobuf messages within that specific repository. The reason for the change is that there is a need to import protobuf message types in dependencies, and there is no neat way to do this, preserving typing that's generated with protobuf-ts.
No compiled typechain is exported. As with (1), it's the job of any consuming package to generate the typechain by reference to the smart contract's packaged ABI.
All package.json scripts to do the above have been written, and tested.
This PR:
protobuf
is exported. It's the job of a consuming package (such aslpms-server
,stays
,lpms-cli
etc to compile theprotobuf
messages within that specific repository. The reason for the change is that there is a need to import protobuf message types in dependencies, and there is no neat way to do this, preserving typing that's generated withprotobuf-ts
.typechain
is exported. As with (1), it's the job of any consuming package to generate thetypechain
by reference to the smart contract's packagedABI
.All
package.json
scripts to do the above have been written, and tested.