@dfinity/nns 10.3.1-next-2025-10-15 → 10.3.1-next-2025-10-15.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.
@@ -262,29 +262,8 @@ export const idlFactory = ({ IDL }) => {
262
262
  'total' : IDL.Nat64,
263
263
  'timestamp_seconds' : IDL.Nat64,
264
264
  });
265
- const TopicToFollow = IDL.Variant({
266
- 'Kyc' : IDL.Null,
267
- 'ServiceNervousSystemManagement' : IDL.Null,
268
- 'ApiBoundaryNodeManagement' : IDL.Null,
269
- 'ApplicationCanisterManagement' : IDL.Null,
270
- 'SubnetRental' : IDL.Null,
271
- 'NeuronManagement' : IDL.Null,
272
- 'NodeProviderRewards' : IDL.Null,
273
- 'SubnetManagement' : IDL.Null,
274
- 'ExchangeRate' : IDL.Null,
275
- 'CatchAll' : IDL.Null,
276
- 'NodeAdmin' : IDL.Null,
277
- 'IcOsVersionElection' : IDL.Null,
278
- 'ProtocolCanisterManagement' : IDL.Null,
279
- 'NetworkEconomics' : IDL.Null,
280
- 'IcOsVersionDeployment' : IDL.Null,
281
- 'ParticipantManagement' : IDL.Null,
282
- 'Governance' : IDL.Null,
283
- 'SnsAndCommunityFund' : IDL.Null,
284
- });
285
265
  const KnownNeuronData = IDL.Record({
286
266
  'name' : IDL.Text,
287
- 'committed_topics' : IDL.Opt(IDL.Vec(IDL.Opt(TopicToFollow))),
288
267
  'description' : IDL.Opt(IDL.Text),
289
268
  'links' : IDL.Opt(IDL.Vec(IDL.Text)),
290
269
  });
@@ -727,10 +706,6 @@ export const idlFactory = ({ IDL }) => {
727
706
  'Ok' : MonthlyNodeProviderRewards,
728
707
  'Err' : GovernanceError,
729
708
  });
730
- const GetNeuronIndexRequest = IDL.Record({
731
- 'page_size' : IDL.Opt(IDL.Nat32),
732
- 'exclusive_start_neuron_id' : IDL.Opt(NeuronId),
733
- });
734
709
  const NeuronInfo = IDL.Record({
735
710
  'dissolve_delay_seconds' : IDL.Nat64,
736
711
  'recent_ballots' : IDL.Vec(BallotInfo),
@@ -748,11 +723,6 @@ export const idlFactory = ({ IDL }) => {
748
723
  'voting_power' : IDL.Nat64,
749
724
  'age_seconds' : IDL.Nat64,
750
725
  });
751
- const NeuronIndexData = IDL.Record({ 'neurons' : IDL.Vec(NeuronInfo) });
752
- const GetNeuronIndexResult = IDL.Variant({
753
- 'Ok' : NeuronIndexData,
754
- 'Err' : GovernanceError,
755
- });
756
726
  const Result_5 = IDL.Variant({ 'Ok' : NeuronInfo, 'Err' : GovernanceError });
757
727
  const GetNeuronsFundAuditInfoRequest = IDL.Record({
758
728
  'nns_proposal_id' : IDL.Opt(ProposalId),
@@ -1008,11 +978,6 @@ export const idlFactory = ({ IDL }) => {
1008
978
  ),
1009
979
  'get_network_economics_parameters' : IDL.Func([], [NetworkEconomics], []),
1010
980
  'get_neuron_ids' : IDL.Func([], [IDL.Vec(IDL.Nat64)], []),
1011
- 'get_neuron_index' : IDL.Func(
1012
- [GetNeuronIndexRequest],
1013
- [GetNeuronIndexResult],
1014
- [],
1015
- ),
1016
981
  'get_neuron_info' : IDL.Func([IDL.Nat64], [Result_5], []),
1017
982
  'get_neuron_info_by_id_or_subaccount' : IDL.Func(
1018
983
  [NeuronIdOrSubaccount],
@@ -1328,29 +1293,8 @@ export const init = ({ IDL }) => {
1328
1293
  'total' : IDL.Nat64,
1329
1294
  'timestamp_seconds' : IDL.Nat64,
1330
1295
  });
1331
- const TopicToFollow = IDL.Variant({
1332
- 'Kyc' : IDL.Null,
1333
- 'ServiceNervousSystemManagement' : IDL.Null,
1334
- 'ApiBoundaryNodeManagement' : IDL.Null,
1335
- 'ApplicationCanisterManagement' : IDL.Null,
1336
- 'SubnetRental' : IDL.Null,
1337
- 'NeuronManagement' : IDL.Null,
1338
- 'NodeProviderRewards' : IDL.Null,
1339
- 'SubnetManagement' : IDL.Null,
1340
- 'ExchangeRate' : IDL.Null,
1341
- 'CatchAll' : IDL.Null,
1342
- 'NodeAdmin' : IDL.Null,
1343
- 'IcOsVersionElection' : IDL.Null,
1344
- 'ProtocolCanisterManagement' : IDL.Null,
1345
- 'NetworkEconomics' : IDL.Null,
1346
- 'IcOsVersionDeployment' : IDL.Null,
1347
- 'ParticipantManagement' : IDL.Null,
1348
- 'Governance' : IDL.Null,
1349
- 'SnsAndCommunityFund' : IDL.Null,
1350
- });
1351
1296
  const KnownNeuronData = IDL.Record({
1352
1297
  'name' : IDL.Text,
1353
- 'committed_topics' : IDL.Opt(IDL.Vec(IDL.Opt(TopicToFollow))),
1354
1298
  'description' : IDL.Opt(IDL.Text),
1355
1299
  'links' : IDL.Opt(IDL.Vec(IDL.Text)),
1356
1300
  });
@@ -267,13 +267,6 @@ export interface FulfillSubnetRentalRequest {
267
267
  */
268
268
  node_ids: [] | [Array<Principal>];
269
269
  }
270
- export interface GetNeuronIndexRequest {
271
- page_size: [] | [number];
272
- exclusive_start_neuron_id: [] | [NeuronId];
273
- }
274
- export type GetNeuronIndexResult =
275
- | { Ok: NeuronIndexData }
276
- | { Err: GovernanceError };
277
270
  export interface GetNeuronsFundAuditInfoRequest {
278
271
  nns_proposal_id: [] | [ProposalId];
279
272
  }
@@ -404,12 +397,6 @@ export interface KnownNeuron {
404
397
  }
405
398
  export interface KnownNeuronData {
406
399
  name: string;
407
- /**
408
- * The first `opt` makes it so that the field can be renamed/deprecated in the future, and
409
- * the second `opt` makes it so that an older client not recognizing a new variant can still
410
- * get the rest of the `vec`.
411
- */
412
- committed_topics: [] | [Array<[] | [TopicToFollow]>];
413
400
  description: [] | [string];
414
401
  links: [] | [Array<string>];
415
402
  }
@@ -714,9 +701,6 @@ export interface NeuronInFlightCommand {
714
701
  command: [] | [Command_2];
715
702
  timestamp: bigint;
716
703
  }
717
- export interface NeuronIndexData {
718
- neurons: Array<NeuronInfo>;
719
- }
720
704
  /**
721
705
  * A limit view of Neuron that allows some aspects of all neurons to be read by
722
706
  * anyone (i.e. without having to be the neuron's controller nor one of its
@@ -1122,31 +1106,6 @@ export interface TimeWindow {
1122
1106
  export interface Tokens {
1123
1107
  e8s: [] | [bigint];
1124
1108
  }
1125
- /**
1126
- * A topic that can be followed. It is almost the same as the topic on the
1127
- * proposal, except that the `CatchAll` is a special value and following on this
1128
- * `topic` will let the neuron follow the votes on all topics except for
1129
- * Governance and SnsAndCommunityFund.
1130
- */
1131
- export type TopicToFollow =
1132
- | { Kyc: null }
1133
- | { ServiceNervousSystemManagement: null }
1134
- | { ApiBoundaryNodeManagement: null }
1135
- | { ApplicationCanisterManagement: null }
1136
- | { SubnetRental: null }
1137
- | { NeuronManagement: null }
1138
- | { NodeProviderRewards: null }
1139
- | { SubnetManagement: null }
1140
- | { ExchangeRate: null }
1141
- | { CatchAll: null }
1142
- | { NodeAdmin: null }
1143
- | { IcOsVersionElection: null }
1144
- | { ProtocolCanisterManagement: null }
1145
- | { NetworkEconomics: null }
1146
- | { IcOsVersionDeployment: null }
1147
- | { ParticipantManagement: null }
1148
- | { Governance: null }
1149
- | { SnsAndCommunityFund: null };
1150
1109
  export interface UpdateCanisterSettings {
1151
1110
  canister_id: [] | [Principal];
1152
1111
  settings: [] | [CanisterSettings];
@@ -1224,7 +1183,6 @@ export interface _SERVICE {
1224
1183
  >;
1225
1184
  get_network_economics_parameters: ActorMethod<[], NetworkEconomics>;
1226
1185
  get_neuron_ids: ActorMethod<[], BigUint64Array | bigint[]>;
1227
- get_neuron_index: ActorMethod<[GetNeuronIndexRequest], GetNeuronIndexResult>;
1228
1186
  get_neuron_info: ActorMethod<[bigint], Result_5>;
1229
1187
  get_neuron_info_by_id_or_subaccount: ActorMethod<
1230
1188
  [NeuronIdOrSubaccount],
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit c211885f7c (2025-10-09) 'packages/nns/candid/governance_test.did.tmp' by import-candid
1
+ // Generated from IC repo commit 285897d (2025-10-08 tags: release-2025-10-09_03-15-base) 'packages/nns/candid/governance_test.did.tmp' by import-candid
2
2
 
3
3
  type AccountIdentifier = record {
4
4
  hash : blob;
@@ -451,10 +451,6 @@ type KnownNeuronData = record {
451
451
  name : text;
452
452
  description : opt text;
453
453
  links : opt vec text;
454
- // The first `opt` makes it so that the field can be renamed/deprecated in the future, and
455
- // the second `opt` makes it so that an older client not recognizing a new variant can still
456
- // get the rest of the `vec`.
457
- committed_topics : opt vec opt TopicToFollow;
458
454
  };
459
455
 
460
456
  type LedgerParameters = record {
@@ -797,20 +793,6 @@ type NeuronInFlightCommand = record {
797
793
  timestamp : nat64;
798
794
  };
799
795
 
800
- type GetNeuronIndexRequest = record {
801
- exclusive_start_neuron_id: opt NeuronId;
802
- page_size: opt nat32;
803
- };
804
-
805
- type NeuronIndexData = record {
806
- neurons: vec NeuronInfo;
807
- };
808
-
809
- type GetNeuronIndexResult = variant {
810
- Ok : NeuronIndexData;
811
- Err : GovernanceError;
812
- };
813
-
814
796
  // A limit view of Neuron that allows some aspects of all neurons to be read by
815
797
  // anyone (i.e. without having to be the neuron's controller nor one of its
816
798
  // hotkeys).
@@ -1353,31 +1335,6 @@ type MaturityDisbursement = record {
1353
1335
  account_identifier_to_disburse_to : opt AccountIdentifier;
1354
1336
  };
1355
1337
 
1356
- // A topic that can be followed. It is almost the same as the topic on the
1357
- // proposal, except that the `CatchAll` is a special value and following on this
1358
- // `topic` will let the neuron follow the votes on all topics except for
1359
- // Governance and SnsAndCommunityFund.
1360
- type TopicToFollow = variant {
1361
- CatchAll;
1362
- NeuronManagement;
1363
- ExchangeRate;
1364
- NetworkEconomics;
1365
- Governance;
1366
- NodeAdmin;
1367
- ParticipantManagement;
1368
- SubnetManagement;
1369
- Kyc;
1370
- NodeProviderRewards;
1371
- IcOsVersionDeployment;
1372
- IcOsVersionElection;
1373
- SnsAndCommunityFund;
1374
- ApiBoundaryNodeManagement;
1375
- SubnetRental;
1376
- ApplicationCanisterManagement;
1377
- ProtocolCanisterManagement;
1378
- ServiceNervousSystemManagement;
1379
- };
1380
-
1381
1338
  service : (Governance) -> {
1382
1339
  claim_gtc_neurons : (principal, vec NeuronId) -> (Result);
1383
1340
  claim_or_refresh_neuron_from_account : (ClaimOrRefreshNeuronFromAccount) -> (
@@ -1396,7 +1353,6 @@ service : (Governance) -> {
1396
1353
  ) query;
1397
1354
  get_network_economics_parameters : () -> (NetworkEconomics) query;
1398
1355
  get_neuron_ids : () -> (vec nat64) query;
1399
- get_neuron_index: (GetNeuronIndexRequest) -> (GetNeuronIndexResult) query;
1400
1356
  get_neuron_info : (nat64) -> (Result_5) query;
1401
1357
  get_neuron_info_by_id_or_subaccount : (NeuronIdOrSubaccount) -> (
1402
1358
  Result_5,
@@ -262,29 +262,8 @@ export const idlFactory = ({ IDL }) => {
262
262
  'total' : IDL.Nat64,
263
263
  'timestamp_seconds' : IDL.Nat64,
264
264
  });
265
- const TopicToFollow = IDL.Variant({
266
- 'Kyc' : IDL.Null,
267
- 'ServiceNervousSystemManagement' : IDL.Null,
268
- 'ApiBoundaryNodeManagement' : IDL.Null,
269
- 'ApplicationCanisterManagement' : IDL.Null,
270
- 'SubnetRental' : IDL.Null,
271
- 'NeuronManagement' : IDL.Null,
272
- 'NodeProviderRewards' : IDL.Null,
273
- 'SubnetManagement' : IDL.Null,
274
- 'ExchangeRate' : IDL.Null,
275
- 'CatchAll' : IDL.Null,
276
- 'NodeAdmin' : IDL.Null,
277
- 'IcOsVersionElection' : IDL.Null,
278
- 'ProtocolCanisterManagement' : IDL.Null,
279
- 'NetworkEconomics' : IDL.Null,
280
- 'IcOsVersionDeployment' : IDL.Null,
281
- 'ParticipantManagement' : IDL.Null,
282
- 'Governance' : IDL.Null,
283
- 'SnsAndCommunityFund' : IDL.Null,
284
- });
285
265
  const KnownNeuronData = IDL.Record({
286
266
  'name' : IDL.Text,
287
- 'committed_topics' : IDL.Opt(IDL.Vec(IDL.Opt(TopicToFollow))),
288
267
  'description' : IDL.Opt(IDL.Text),
289
268
  'links' : IDL.Opt(IDL.Vec(IDL.Text)),
290
269
  });
@@ -727,10 +706,6 @@ export const idlFactory = ({ IDL }) => {
727
706
  'Ok' : MonthlyNodeProviderRewards,
728
707
  'Err' : GovernanceError,
729
708
  });
730
- const GetNeuronIndexRequest = IDL.Record({
731
- 'page_size' : IDL.Opt(IDL.Nat32),
732
- 'exclusive_start_neuron_id' : IDL.Opt(NeuronId),
733
- });
734
709
  const NeuronInfo = IDL.Record({
735
710
  'dissolve_delay_seconds' : IDL.Nat64,
736
711
  'recent_ballots' : IDL.Vec(BallotInfo),
@@ -748,11 +723,6 @@ export const idlFactory = ({ IDL }) => {
748
723
  'voting_power' : IDL.Nat64,
749
724
  'age_seconds' : IDL.Nat64,
750
725
  });
751
- const NeuronIndexData = IDL.Record({ 'neurons' : IDL.Vec(NeuronInfo) });
752
- const GetNeuronIndexResult = IDL.Variant({
753
- 'Ok' : NeuronIndexData,
754
- 'Err' : GovernanceError,
755
- });
756
726
  const Result_5 = IDL.Variant({ 'Ok' : NeuronInfo, 'Err' : GovernanceError });
757
727
  const GetNeuronsFundAuditInfoRequest = IDL.Record({
758
728
  'nns_proposal_id' : IDL.Opt(ProposalId),
@@ -1012,11 +982,6 @@ export const idlFactory = ({ IDL }) => {
1012
982
  ['query'],
1013
983
  ),
1014
984
  'get_neuron_ids' : IDL.Func([], [IDL.Vec(IDL.Nat64)], ['query']),
1015
- 'get_neuron_index' : IDL.Func(
1016
- [GetNeuronIndexRequest],
1017
- [GetNeuronIndexResult],
1018
- ['query'],
1019
- ),
1020
985
  'get_neuron_info' : IDL.Func([IDL.Nat64], [Result_5], ['query']),
1021
986
  'get_neuron_info_by_id_or_subaccount' : IDL.Func(
1022
987
  [NeuronIdOrSubaccount],
@@ -1344,29 +1309,8 @@ export const init = ({ IDL }) => {
1344
1309
  'total' : IDL.Nat64,
1345
1310
  'timestamp_seconds' : IDL.Nat64,
1346
1311
  });
1347
- const TopicToFollow = IDL.Variant({
1348
- 'Kyc' : IDL.Null,
1349
- 'ServiceNervousSystemManagement' : IDL.Null,
1350
- 'ApiBoundaryNodeManagement' : IDL.Null,
1351
- 'ApplicationCanisterManagement' : IDL.Null,
1352
- 'SubnetRental' : IDL.Null,
1353
- 'NeuronManagement' : IDL.Null,
1354
- 'NodeProviderRewards' : IDL.Null,
1355
- 'SubnetManagement' : IDL.Null,
1356
- 'ExchangeRate' : IDL.Null,
1357
- 'CatchAll' : IDL.Null,
1358
- 'NodeAdmin' : IDL.Null,
1359
- 'IcOsVersionElection' : IDL.Null,
1360
- 'ProtocolCanisterManagement' : IDL.Null,
1361
- 'NetworkEconomics' : IDL.Null,
1362
- 'IcOsVersionDeployment' : IDL.Null,
1363
- 'ParticipantManagement' : IDL.Null,
1364
- 'Governance' : IDL.Null,
1365
- 'SnsAndCommunityFund' : IDL.Null,
1366
- });
1367
1312
  const KnownNeuronData = IDL.Record({
1368
1313
  'name' : IDL.Text,
1369
- 'committed_topics' : IDL.Opt(IDL.Vec(IDL.Opt(TopicToFollow))),
1370
1314
  'description' : IDL.Opt(IDL.Text),
1371
1315
  'links' : IDL.Opt(IDL.Vec(IDL.Text)),
1372
1316
  });
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit c211885f7c (2025-10-09) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
1
+ // Generated from IC repo commit 285897d (2025-10-08 tags: release-2025-10-09_03-15-base) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
2
2
 
3
3
  type AddWasmRequest = record {
4
4
  hash : blob;