ic-js
ic-js copied to clipboard
feat: update nns-proto
Motivation
According hours spent today and discussion on the forum there is no other solution currently to install the NNS Governance canister with JavaScript than having to use proto.
Changes
- Bump
.protofile in@dfinity/nns-proto - Copy the proto base files without manipulating those manually (that's why there are more files that just
base_types) - Export more types in index module
- Remove
BlockHeightandICPTsfrom exported types because, those does not exist anymore in proto file - Add the dev depency
protoc-gen-jsbecause somehow runningprotocto update the proto file did not work anymore without it
size-limit report 📦
| Path | Size |
|---|---|
| @dfinity/ckbtc | 7.24 KB (0%) |
| @dfinity/cketh | 2.94 KB (0%) |
| @dfinity/cmc | 1.29 KB (0%) |
| @dfinity/ledger-icrc | 3.6 KB (0%) |
| @dfinity/ledger-icp | 14.73 KB (0%) |
| @dfinity/nns | 34.57 KB (0%) |
| @dfinity/nns-proto | 140.98 KB (+84.43% 🔺) |
| @dfinity/sns | 15.72 KB (0%) |
| @dfinity/utils | 4.46 KB (0%) |
| @dfinity/ic-management | 2.58 KB (0%) |
(Closed and Reopened the PR to relaunch the CI given that GitHub experienced issues with Actions)