@dfinity/nns 11.0.0-next-2025-10-22.4 → 11.0.0

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.
Files changed (2) hide show
  1. package/README.md +48 -48
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -98,7 +98,7 @@ Parameters:
98
98
  - `params.neurons`: The neurons to filter.
99
99
  - `params.proposal`: The proposal to match against the selected neurons.
100
100
 
101
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L37)
101
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/utils/neurons.utils.ts#L37)
102
102
 
103
103
  #### :gear: votableNeurons
104
104
 
@@ -113,7 +113,7 @@ Parameters:
113
113
  - `params.neurons`: The neurons to filter.
114
114
  - `params.proposal`: The proposal to match against the selected neurons.
115
115
 
116
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L66)
116
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/utils/neurons.utils.ts#L66)
117
117
 
118
118
  #### :gear: votedNeurons
119
119
 
@@ -128,7 +128,7 @@ Parameters:
128
128
  - `params.neurons`: The neurons to filter.
129
129
  - `params.proposal`: The proposal for which some neurons might have already voted.
130
130
 
131
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L89)
131
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/utils/neurons.utils.ts#L89)
132
132
 
133
133
  #### :gear: memoToNeuronSubaccount
134
134
 
@@ -136,7 +136,7 @@ Parameters:
136
136
  | ------------------------ | --------------------------------------------------------------------------------- |
137
137
  | `memoToNeuronSubaccount` | `({ controller, memo, }: { controller: Principal; memo: bigint; }) => SubAccount` |
138
138
 
139
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L101)
139
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/utils/neurons.utils.ts#L101)
140
140
 
141
141
  #### :gear: memoToNeuronAccountIdentifier
142
142
 
@@ -144,11 +144,11 @@ Parameters:
144
144
  | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
145
145
  | `memoToNeuronAccountIdentifier` | `({ controller, memo, governanceCanisterId, }: { controller: Principal; memo: bigint; governanceCanisterId: Principal; }) => AccountIdentifier` |
146
146
 
147
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L122)
147
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/utils/neurons.utils.ts#L122)
148
148
 
149
149
  ### :factory: GenesisTokenCanister
150
150
 
151
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/genesis_token.canister.ts#L9)
151
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/genesis_token.canister.ts#L9)
152
152
 
153
153
  #### Static Methods
154
154
 
@@ -160,7 +160,7 @@ Parameters:
160
160
  | -------- | --------------------------------------------------------------- |
161
161
  | `create` | `(options?: CanisterOptions<_SERVICE>) => GenesisTokenCanister` |
162
162
 
163
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/genesis_token.canister.ts#L14)
163
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/genesis_token.canister.ts#L14)
164
164
 
165
165
  #### Methods
166
166
 
@@ -172,11 +172,11 @@ Parameters:
172
172
  | -------------- | --------------------------------------------------------------- |
173
173
  | `claimNeurons` | `({ hexPubKey, }: { hexPubKey: string; }) => Promise<bigint[]>` |
174
174
 
175
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/genesis_token.canister.ts#L27)
175
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/genesis_token.canister.ts#L27)
176
176
 
177
177
  ### :factory: GovernanceCanister
178
178
 
179
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L101)
179
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L101)
180
180
 
181
181
  #### Static Methods
182
182
 
@@ -188,7 +188,7 @@ Parameters:
188
188
  | -------- | ------------------------------------------------------------- |
189
189
  | `create` | `(options?: GovernanceCanisterOptions) => GovernanceCanister` |
190
190
 
191
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L116)
191
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L116)
192
192
 
193
193
  #### Methods
194
194
 
@@ -246,7 +246,7 @@ combined into a single return value.
246
246
  | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
247
247
  | `listNeurons` | `({ certified, neuronIds, includeEmptyNeurons, includePublicNeurons, neuronSubaccounts, }: { certified: boolean; neuronIds?: bigint[] or undefined; includeEmptyNeurons?: boolean or undefined; includePublicNeurons?: boolean or undefined; neuronSubaccounts?: NeuronSubaccount[] or undefined; }) => Promise<...>` |
248
248
 
249
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L159)
249
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L159)
250
250
 
251
251
  ##### :gear: listKnownNeurons
252
252
 
@@ -260,7 +260,7 @@ it is fetched using a query call.
260
260
  | ------------------ | ------------------------------------------------- |
261
261
  | `listKnownNeurons` | `(certified?: boolean) => Promise<KnownNeuron[]>` |
262
262
 
263
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L292)
263
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L292)
264
264
 
265
265
  ##### :gear: getLatestRewardEvent
266
266
 
@@ -273,7 +273,7 @@ it's fetched using a query call.
273
273
  | ---------------------- | ----------------------------------------------- |
274
274
  | `getLatestRewardEvent` | `(certified?: boolean) => Promise<RewardEvent>` |
275
275
 
276
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L319)
276
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L319)
277
277
 
278
278
  ##### :gear: listProposals
279
279
 
@@ -292,7 +292,7 @@ Parameters:
292
292
  - `request`: the options to list the proposals (limit number of results, topics to search for, etc.)
293
293
  - `certified`: query or update calls
294
294
 
295
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L332)
295
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L332)
296
296
 
297
297
  ##### :gear: stakeNeuron
298
298
 
@@ -300,7 +300,7 @@ Parameters:
300
300
  | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
301
301
  | `stakeNeuron` | `({ stake, principal, fromSubAccount, ledgerCanister, createdAt, fee, }: { stake: bigint; principal: Principal; fromSubAccount?: number[] or undefined; ledgerCanister: LedgerCanister; createdAt?: bigint or undefined; fee?: bigint or undefined; }) => Promise<...>` |
302
302
 
303
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L351)
303
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L351)
304
304
 
305
305
  ##### :gear: increaseDissolveDelay
306
306
 
@@ -310,7 +310,7 @@ Increases dissolve delay of a neuron
310
310
  | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
311
311
  | `increaseDissolveDelay` | `({ neuronId, additionalDissolveDelaySeconds, }: { neuronId: bigint; additionalDissolveDelaySeconds: number; }) => Promise<void>` |
312
312
 
313
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L412)
313
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L412)
314
314
 
315
315
  ##### :gear: setDissolveDelay
316
316
 
@@ -321,7 +321,7 @@ The new date is now + dissolveDelaySeconds.
321
321
  | ------------------ | ------------------------------------------------------------------------------------------------------------- |
322
322
  | `setDissolveDelay` | `({ neuronId, dissolveDelaySeconds, }: { neuronId: bigint; dissolveDelaySeconds: number; }) => Promise<void>` |
323
323
 
324
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L438)
324
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L438)
325
325
 
326
326
  ##### :gear: startDissolving
327
327
 
@@ -331,7 +331,7 @@ Start dissolving process of a neuron
331
331
  | ----------------- | ------------------------------------- |
332
332
  | `startDissolving` | `(neuronId: bigint) => Promise<void>` |
333
333
 
334
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L461)
334
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L461)
335
335
 
336
336
  ##### :gear: stopDissolving
337
337
 
@@ -341,7 +341,7 @@ Stop dissolving process of a neuron
341
341
  | ---------------- | ------------------------------------- |
342
342
  | `stopDissolving` | `(neuronId: bigint) => Promise<void>` |
343
343
 
344
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L475)
344
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L475)
345
345
 
346
346
  ##### :gear: joinCommunityFund
347
347
 
@@ -351,7 +351,7 @@ Neuron joins the community fund
351
351
  | ------------------- | ------------------------------------- |
352
352
  | `joinCommunityFund` | `(neuronId: bigint) => Promise<void>` |
353
353
 
354
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L489)
354
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L489)
355
355
 
356
356
  ##### :gear: autoStakeMaturity
357
357
 
@@ -366,7 +366,7 @@ Parameters:
366
366
  - `neuronId`: The id of the neuron for which to request a change of the auto stake feature
367
367
  - `autoStake`: `true` to enable the auto-stake maturity for this neuron, `false` to turn it off
368
368
 
369
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L507)
369
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L507)
370
370
 
371
371
  ##### :gear: leaveCommunityFund
372
372
 
@@ -376,7 +376,7 @@ Neuron leaves the community fund
376
376
  | -------------------- | ------------------------------------- |
377
377
  | `leaveCommunityFund` | `(neuronId: bigint) => Promise<void>` |
378
378
 
379
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L522)
379
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L522)
380
380
 
381
381
  ##### :gear: setVisibility
382
382
 
@@ -386,7 +386,7 @@ Set visibility of a neuron
386
386
  | --------------- | ------------------------------------------------------------------- |
387
387
  | `setVisibility` | `(neuronId: bigint, visibility: NeuronVisibility) => Promise<void>` |
388
388
 
389
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L537)
389
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L537)
390
390
 
391
391
  ##### :gear: setNodeProviderAccount
392
392
 
@@ -397,7 +397,7 @@ Where the reward is paid to.
397
397
  | ------------------------ | ---------------------------------------------- |
398
398
  | `setNodeProviderAccount` | `(accountIdentifier: string) => Promise<void>` |
399
399
 
400
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L557)
400
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L557)
401
401
 
402
402
  ##### :gear: mergeNeurons
403
403
 
@@ -407,7 +407,7 @@ Merge two neurons
407
407
  | -------------- | --------------------------------------------------------------------------------- |
408
408
  | `mergeNeurons` | `(request: { sourceNeuronId: bigint; targetNeuronId: bigint; }) => Promise<void>` |
409
409
 
410
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L577)
410
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L577)
411
411
 
412
412
  ##### :gear: simulateMergeNeurons
413
413
 
@@ -417,7 +417,7 @@ Simulate merging two neurons
417
417
  | ---------------------- | --------------------------------------------------------------------------------------- |
418
418
  | `simulateMergeNeurons` | `(request: { sourceNeuronId: bigint; targetNeuronId: bigint; }) => Promise<NeuronInfo>` |
419
419
 
420
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L594)
420
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L594)
421
421
 
422
422
  ##### :gear: splitNeuron
423
423
 
@@ -431,7 +431,7 @@ Returns:
431
431
 
432
432
  newNeuronId
433
433
 
434
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L639)
434
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L639)
435
435
 
436
436
  ##### :gear: getProposal
437
437
 
@@ -444,7 +444,7 @@ it is fetched using a query call.
444
444
  | ------------- | ------------------------------------------------------------------------------------------------------------------------------- |
445
445
  | `getProposal` | `({ proposalId, certified, }: { proposalId: bigint; certified?: boolean or undefined; }) => Promise<ProposalInfo or undefined>` |
446
446
 
447
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L682)
447
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L682)
448
448
 
449
449
  ##### :gear: makeProposal
450
450
 
@@ -458,7 +458,7 @@ Returns:
458
458
 
459
459
  The newly created proposal ID or undefined if the success response returned by the Governance canister does not provide such information.
460
460
 
461
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L700)
461
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L700)
462
462
 
463
463
  ##### :gear: registerVote
464
464
 
@@ -468,7 +468,7 @@ Registers vote for a proposal from the neuron passed.
468
468
  | -------------- | ----------------------------------------------------------------------------------------------------------- |
469
469
  | `registerVote` | `({ neuronId, vote, proposalId, }: { neuronId: bigint; vote: Vote; proposalId: bigint; }) => Promise<void>` |
470
470
 
471
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L721)
471
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L721)
472
472
 
473
473
  ##### :gear: setFollowees
474
474
 
@@ -478,7 +478,7 @@ Edit neuron followees per topic
478
478
  | -------------- | ------------------------------------------------- |
479
479
  | `setFollowees` | `(followRequest: FollowRequest) => Promise<void>` |
480
480
 
481
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L743)
481
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L743)
482
482
 
483
483
  ##### :gear: disburse
484
484
 
@@ -488,7 +488,7 @@ Disburse neuron on Account
488
488
  | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
489
489
  | `disburse` | `({ neuronId, toAccountId, amount, }: { neuronId: bigint; toAccountId?: string or undefined; amount?: bigint or undefined; }) => Promise<void>` |
490
490
 
491
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L758)
491
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L758)
492
492
 
493
493
  ##### :gear: refreshVotingPower
494
494
 
@@ -500,7 +500,7 @@ parameter of the neuron to the current time).
500
500
  | -------------------- | --------------------------------------------------------- |
501
501
  | `refreshVotingPower` | `({ neuronId, }: { neuronId: bigint; }) => Promise<void>` |
502
502
 
503
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L794)
503
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L794)
504
504
 
505
505
  ##### :gear: mergeMaturity
506
506
 
@@ -510,7 +510,7 @@ Merge Maturity of a neuron
510
510
  | --------------- | ------------------------------------------------------------------------------------------------------- |
511
511
  | `mergeMaturity` | `({ neuronId, percentageToMerge, }: { neuronId: bigint; percentageToMerge: number; }) => Promise<void>` |
512
512
 
513
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L816)
513
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L816)
514
514
 
515
515
  ##### :gear: stakeMaturity
516
516
 
@@ -525,7 +525,7 @@ Parameters:
525
525
  - `neuronId`: The id of the neuron for which to stake the maturity
526
526
  - `percentageToStake`: Optional. Percentage of the current maturity to stake. If not provided, all of the neuron's current maturity will be staked.
527
527
 
528
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L845)
528
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L845)
529
529
 
530
530
  ##### :gear: spawnNeuron
531
531
 
@@ -535,7 +535,7 @@ Merge Maturity of a neuron
535
535
  | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
536
536
  | `spawnNeuron` | `({ neuronId, percentageToSpawn, newController, nonce, }: { neuronId: bigint; percentageToSpawn?: number or undefined; newController?: any; nonce?: bigint or undefined; }) => Promise<bigint>` |
537
537
 
538
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L867)
538
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L867)
539
539
 
540
540
  ##### :gear: addHotkey
541
541
 
@@ -545,7 +545,7 @@ Add hotkey to neuron
545
545
  | ----------- | ------------------------------------------------------------------------------------------ |
546
546
  | `addHotkey` | `({ neuronId, principal, }: { neuronId: bigint; principal: Principal; }) => Promise<void>` |
547
547
 
548
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L914)
548
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L914)
549
549
 
550
550
  ##### :gear: removeHotkey
551
551
 
@@ -555,7 +555,7 @@ Remove hotkey to neuron
555
555
  | -------------- | ------------------------------------------------------------------------------------------ |
556
556
  | `removeHotkey` | `({ neuronId, principal, }: { neuronId: bigint; principal: Principal; }) => Promise<void>` |
557
557
 
558
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L934)
558
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L934)
559
559
 
560
560
  ##### :gear: claimOrRefreshNeuronFromAccount
561
561
 
@@ -565,7 +565,7 @@ Gets the NeuronID of a newly created neuron.
565
565
  | --------------------------------- | ---------------------------------------------------------------------------------------------- |
566
566
  | `claimOrRefreshNeuronFromAccount` | `({ memo, controller, }: { memo: bigint; controller?: any; }) => Promise<bigint or undefined>` |
567
567
 
568
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L952)
568
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L952)
569
569
 
570
570
  ##### :gear: claimOrRefreshNeuron
571
571
 
@@ -576,7 +576,7 @@ Uses query call only.
576
576
  | ---------------------- | ------------------------------------------------------------------------ |
577
577
  | `claimOrRefreshNeuron` | `(request: ClaimOrRefreshNeuronRequest) => Promise<bigint or undefined>` |
578
578
 
579
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L983)
579
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L983)
580
580
 
581
581
  ##### :gear: getNeuron
582
582
 
@@ -586,7 +586,7 @@ Return the data of the neuron provided as id.
586
586
  | ----------- | ----------------------------------------------------------------------------------------------------------- |
587
587
  | `getNeuron` | `({ certified, neuronId, }: { certified: boolean; neuronId: bigint; }) => Promise<NeuronInfo or undefined>` |
588
588
 
589
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1008)
589
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L1008)
590
590
 
591
591
  ##### :gear: getNetworkEconomicsParameters
592
592
 
@@ -596,7 +596,7 @@ Return the [Network Economics](https://github.com/dfinity/ic/blob/d90e934eb440c7
596
596
  | ------------------------------- | ------------------------------------------------------------------------ |
597
597
  | `getNetworkEconomicsParameters` | `({ certified, }: { certified: boolean; }) => Promise<NetworkEconomics>` |
598
598
 
599
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1029)
599
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L1029)
600
600
 
601
601
  ##### :gear: disburseMaturity
602
602
 
@@ -614,7 +614,7 @@ Parameters:
614
614
  - `params.toAccountIdentifier`: Optional. The account identifier to which the maturity will be disbursed. If not provided, the maturity will be disbursed to the caller's Main account.
615
615
  - `params.toAccount`: Optional. The ICRC account to which the maturity will be disbursed. If not provided, the maturity will be disbursed to the caller's Main account.
616
616
 
617
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1058)
617
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L1058)
618
618
 
619
619
  ##### :gear: setFollowing
620
620
 
@@ -629,7 +629,7 @@ Parameters:
629
629
  - `params.neuronId`: The id of the neuron for which to set the following topics
630
630
  - `params.topicFollowing`: The topics and the followees for each topic that the neuron should follow.
631
631
 
632
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1089)
632
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L1089)
633
633
 
634
634
  ##### :gear: getMetrics
635
635
 
@@ -637,11 +637,11 @@ Parameters:
637
637
  | ------------ | ------------------------------------------------------------------------------- |
638
638
  | `getMetrics` | `({ certified, }: { certified: boolean; }) => Promise<GovernanceCachedMetrics>` |
639
639
 
640
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1104)
640
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/governance.canister.ts#L1104)
641
641
 
642
642
  ### :factory: SnsWasmCanister
643
643
 
644
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/sns_wasm.canister.ts#L10)
644
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/sns_wasm.canister.ts#L10)
645
645
 
646
646
  #### Static Methods
647
647
 
@@ -653,7 +653,7 @@ Parameters:
653
653
  | -------- | ---------------------------------------------------------- |
654
654
  | `create` | `(options?: CanisterOptions<_SERVICE>) => SnsWasmCanister` |
655
655
 
656
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/sns_wasm.canister.ts#L16)
656
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/sns_wasm.canister.ts#L16)
657
657
 
658
658
  #### Methods
659
659
 
@@ -665,6 +665,6 @@ Parameters:
665
665
  | ----------- | ----------------------------------------------------------------------------------- |
666
666
  | `listSnses` | `({ certified, }: { certified?: boolean or undefined; }) => Promise<DeployedSns[]>` |
667
667
 
668
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/sns_wasm.canister.ts#L29)
668
+ [:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/nns/src/sns_wasm.canister.ts#L29)
669
669
 
670
670
  <!-- TSDOC_END -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfinity/nns",
3
- "version": "11.0.0-next-2025-10-22.4",
3
+ "version": "11.0.0",
4
4
  "description": "A library for interfacing with the Internet Computer's Network Nervous System.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -36,11 +36,11 @@
36
36
  },
37
37
  "repository": {
38
38
  "type": "git",
39
- "url": "git+https://github.com/dfinity/ic-js.git",
39
+ "url": "git+https://github.com/dfinity/icp-js-canisters.git",
40
40
  "directory": "packages/nns"
41
41
  },
42
42
  "bugs": {
43
- "url": "https://github.com/dfinity/ic-js"
43
+ "url": "https://github.com/dfinity/icp-js-canisters"
44
44
  },
45
45
  "keywords": [
46
46
  "internet computer",
@@ -60,8 +60,8 @@
60
60
  "network-nervous-system"
61
61
  ],
62
62
  "peerDependencies": {
63
- "@dfinity/ledger-icp": "*",
64
- "@dfinity/utils": "*",
65
- "@icp-sdk/core": "*"
63
+ "@dfinity/ledger-icp": "^7",
64
+ "@dfinity/utils": "^4",
65
+ "@icp-sdk/core": "^4"
66
66
  }
67
- }
67
+ }