Proto commits in dfinity/ic-js

These 10 commits are when the Protocol Buffers files have changed:

Commit:64b8095
Author:ilbertt

chore(docs): prepare branch

This commit does not contain any .proto files.

Commit:d984a24
Author:David Dal Busco
Committer:GitHub

feat: update nns-proto (#622) # Motivation According hours spent today and discussion on the [forum](https://forum.dfinity.org/t/install-nns-governance-canister/30583/14?u=peterparker) there is no other solution currently to install the NNS Governance canister with JavaScript than having to use proto. # Changes - Bump `.proto` file 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 `BlockHeight` and `ICPTs` from exported types because, those does not exist anymore in proto file - Add the dev depency `protoc-gen-js` because somehow running `protoc` to update the proto file did not work anymore without it - Bump size limit that doubled because - similarly to Candid - all the types were embeded and not only a manual subset - Refresh README

The documentation is generated from this commit.

Commit:64341c6
Author:Max Strasinsky
Committer:GitHub

Add new proposal topic (#521) # Motivation Add new proposal topic support - `API Boundary Node Management` # Changes - Add topics in the Topic enum. # Tests Not applicable. # Todos - [x] Add entry to changelog (if necessary).

Commit:b183f81
Author:David Dal Busco
Committer:GitHub

Extract nns protobuf to new peer dependency (#337) # Motivation The protobuf dependencies of `@dfinity/nns` have been extracted to a new peer dependency called `@dfinity/nns-proto`. In the NNS-dapp, we manually chunk the libraries. This change will enable the dapp to load the required code of the hardware wallet only when necessary*. # Note * lazy loading the new proto library code will be provided in a separate PR. This PR only refactor (move) code to a new library. # Changes - create and set `@dfinity/nns-proto` as peer dependency of `@dfinity/nns`

Commit:ccf7588
Author:Llorenç Muntaner
Committer:GitHub

GIX-1061: New Proposal Topics (#221) # Motivation Add new proposal topics. # Changes * Add topics in the `Topic` enum. * Set `SnsDecentralizationSale` topic as deprecated. # Tests Not applicable.

Commit:0566021
Author:Llorenç Muntaner
Committer:GitHub

L2-843: Spawning state (#147) # Motivation Add new property in Neuron type: "spawn_at_timestamp_seconds". # Changes * Changes in candid and derived files. * Changes in Neuron type inside NeuronInfo. # Tests Not applicable.

Commit:6cbdfa3
Author:David Dal Busco
Committer:GitHub

feat: new nns proposal topic to launch sns (#149) # Motivation To filter the SNS proposals in the NNS-dapp launchpad we need the new dedicated NNS proposal topic. # Proto I manually patched the governance proto with the new Topic value but it is worth to note that the current governance proto file ([source](https://github.com/dfinity/ic/blob/master/rs/nns/governance/proto/ic_nns_governance/pb/v1/governance.proto)) has lots of differences with nns-js. I guess we are stuck because of hw. # Changes - update governance candid (nothing new for nns-dapp) - add new related value to `Topic` enum

Commit:031aac9
Author:David Dal Busco
Committer:GitHub

refactor: mono repo (#126) # Motivation As we aim and have to develop more libraries such as `sns-js` (current [repo](https://github.com/dfinity/sns-js)) it is more convenient to handle and maintain all our libraries with a mono-repo. This PR transform the existing repo into a mono-repo using npm workspaces (as already in [agent-js](https://github.com/dfinity/agent-js/)). # Changes - introduces npm workspaces and workspace `packages` - refactor `nns-js` library to `packages/nns-js` - adapt scripts accordingly - prepare renaming of repo to `ic-js`

Commit:bd34a93
Author:Llorenç
Committer:GitHub

L2-523: Hardware Wallet Compatibility (#96) # Motivation Add a flag when identity is from a HW. Use the flag to add a hotkey and list neurons in neurons. # Changes * New flag "hardwareWallet" when creating the GovernanceCanister. * New private method "listNeuronsHardwareWallet" to get neurons of a Hardware Wallet. * New private method "addHotkeyHardwareWallet" that uses protobuf for the request. # Tests * Add tests for new use cases.

Commit:262316d
Author:Islam El-Ashi

Initial commit.