@dfinity/nns 7.0.0 → 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -96,7 +96,7 @@ Parameters:
96
96
  - `params.neurons`: The neurons to filter.
97
97
  - `params.proposal`: The proposal to match against the selected neurons.
98
98
 
99
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L39)
99
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L29)
100
100
 
101
101
  #### :gear: votableNeurons
102
102
 
@@ -111,22 +111,22 @@ Parameters:
111
111
  - `params.neurons`: The neurons to filter.
112
112
  - `params.proposal`: The proposal to match against the selected neurons.
113
113
 
114
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L68)
114
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L58)
115
115
 
116
116
  #### :gear: votedNeurons
117
117
 
118
118
  Filter the neurons that have voted for a proposal.
119
119
 
120
- | Function | Type |
121
- | -------------- | ------------------------------------------------------------------------------------------------------------------ |
122
- | `votedNeurons` | `({ neurons, proposal: { id: proposalId }, }: { neurons: NeuronInfo[]; proposal: ProposalInfo; }) => NeuronInfo[]` |
120
+ | Function | Type |
121
+ | -------------- | ---------------------------------------------------------------------------------------------- |
122
+ | `votedNeurons` | `({ neurons, proposal, }: { neurons: NeuronInfo[]; proposal: ProposalInfo; }) => NeuronInfo[]` |
123
123
 
124
124
  Parameters:
125
125
 
126
126
  - `params.neurons`: The neurons to filter.
127
127
  - `params.proposal`: The proposal for which some neurons might have already voted.
128
128
 
129
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L94)
129
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L81)
130
130
 
131
131
  ### :factory: GenesisTokenCanister
132
132