@dfinity/sns 3.2.8 → 3.2.9-next-2025-02-04
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/dist/candid/sns_governance.certified.idl.js +4 -0
- package/dist/candid/sns_governance.d.ts +2 -0
- package/dist/candid/sns_governance.did +3 -1
- package/dist/candid/sns_governance.idl.js +4 -0
- package/dist/candid/sns_governance_test.certified.idl.js +4 -0
- package/dist/candid/sns_governance_test.d.ts +2 -0
- package/dist/candid/sns_governance_test.did +3 -1
- package/dist/candid/sns_governance_test.idl.js +4 -0
- package/dist/candid/sns_root.did +1 -1
- package/dist/candid/sns_swap.did +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +2 -2
- package/dist/esm/chunk-EHRWZZ5X.js +2 -0
- package/dist/esm/chunk-EHRWZZ5X.js.map +7 -0
- package/dist/esm/{chunk-5ZINPFQJ.js → chunk-K4OVK5J7.js} +2 -2
- package/dist/esm/governance.canister.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/sns.js +1 -1
- package/dist/types/types/actions.d.ts +1 -0
- package/package.json +7 -7
- package/dist/esm/chunk-A7UJA62V.js +0 -2
- package/dist/esm/chunk-A7UJA62V.js.map +0 -7
- /package/dist/esm/{chunk-5ZINPFQJ.js.map → chunk-K4OVK5J7.js.map} +0 -0
|
@@ -67,6 +67,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
67
67
|
const TargetVersionSet = IDL.Record({
|
|
68
68
|
'old_target_version' : IDL.Opt(Version),
|
|
69
69
|
'new_target_version' : IDL.Opt(Version),
|
|
70
|
+
'is_advanced_automatically' : IDL.Opt(IDL.Bool),
|
|
70
71
|
});
|
|
71
72
|
const UpgradeStepsReset = IDL.Record({
|
|
72
73
|
'human_readable' : IDL.Opt(IDL.Text),
|
|
@@ -137,6 +138,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
137
138
|
'max_dissolve_delay_seconds' : IDL.Opt(IDL.Nat64),
|
|
138
139
|
'max_dissolve_delay_bonus_percentage' : IDL.Opt(IDL.Nat64),
|
|
139
140
|
'max_followees_per_function' : IDL.Opt(IDL.Nat64),
|
|
141
|
+
'automatically_advance_target_version' : IDL.Opt(IDL.Bool),
|
|
140
142
|
'neuron_claimer_permissions' : IDL.Opt(NeuronPermissionList),
|
|
141
143
|
'neuron_minimum_stake_e8s' : IDL.Opt(IDL.Nat64),
|
|
142
144
|
'max_neuron_age_for_age_bonus' : IDL.Opt(IDL.Nat64),
|
|
@@ -778,6 +780,7 @@ export const init = ({ IDL }) => {
|
|
|
778
780
|
const TargetVersionSet = IDL.Record({
|
|
779
781
|
'old_target_version' : IDL.Opt(Version),
|
|
780
782
|
'new_target_version' : IDL.Opt(Version),
|
|
783
|
+
'is_advanced_automatically' : IDL.Opt(IDL.Bool),
|
|
781
784
|
});
|
|
782
785
|
const UpgradeStepsReset = IDL.Record({
|
|
783
786
|
'human_readable' : IDL.Opt(IDL.Text),
|
|
@@ -848,6 +851,7 @@ export const init = ({ IDL }) => {
|
|
|
848
851
|
'max_dissolve_delay_seconds' : IDL.Opt(IDL.Nat64),
|
|
849
852
|
'max_dissolve_delay_bonus_percentage' : IDL.Opt(IDL.Nat64),
|
|
850
853
|
'max_followees_per_function' : IDL.Opt(IDL.Nat64),
|
|
854
|
+
'automatically_advance_target_version' : IDL.Opt(IDL.Bool),
|
|
851
855
|
'neuron_claimer_permissions' : IDL.Opt(NeuronPermissionList),
|
|
852
856
|
'neuron_minimum_stake_e8s' : IDL.Opt(IDL.Nat64),
|
|
853
857
|
'max_neuron_age_for_age_bonus' : IDL.Opt(IDL.Nat64),
|
|
@@ -398,6 +398,7 @@ export interface NervousSystemParameters {
|
|
|
398
398
|
max_dissolve_delay_seconds: [] | [bigint];
|
|
399
399
|
max_dissolve_delay_bonus_percentage: [] | [bigint];
|
|
400
400
|
max_followees_per_function: [] | [bigint];
|
|
401
|
+
automatically_advance_target_version: [] | [boolean];
|
|
401
402
|
neuron_claimer_permissions: [] | [NeuronPermissionList];
|
|
402
403
|
neuron_minimum_stake_e8s: [] | [bigint];
|
|
403
404
|
max_neuron_age_for_age_bonus: [] | [bigint];
|
|
@@ -599,6 +600,7 @@ export interface TargetVersionReset {
|
|
|
599
600
|
export interface TargetVersionSet {
|
|
600
601
|
old_target_version: [] | [Version];
|
|
601
602
|
new_target_version: [] | [Version];
|
|
603
|
+
is_advanced_automatically: [] | [boolean];
|
|
602
604
|
}
|
|
603
605
|
export interface Timers {
|
|
604
606
|
last_spawned_timestamp_seconds: [] | [bigint];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/sns/governance/canister/governance.did' by import-candid
|
|
2
2
|
type Account = record {
|
|
3
3
|
owner : opt principal;
|
|
4
4
|
subaccount : opt Subaccount;
|
|
@@ -482,6 +482,7 @@ type NervousSystemParameters = record {
|
|
|
482
482
|
voting_rewards_parameters : opt VotingRewardsParameters;
|
|
483
483
|
maturity_modulation_disabled : opt bool;
|
|
484
484
|
max_number_of_principals_per_neuron : opt nat64;
|
|
485
|
+
automatically_advance_target_version : opt bool;
|
|
485
486
|
};
|
|
486
487
|
|
|
487
488
|
type Neuron = record {
|
|
@@ -785,6 +786,7 @@ type UpgradeStepsReset = record {
|
|
|
785
786
|
type TargetVersionSet = record {
|
|
786
787
|
new_target_version : opt Version;
|
|
787
788
|
old_target_version : opt Version;
|
|
789
|
+
is_advanced_automatically : opt bool;
|
|
788
790
|
};
|
|
789
791
|
|
|
790
792
|
type TargetVersionReset = record {
|
|
@@ -67,6 +67,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
67
67
|
const TargetVersionSet = IDL.Record({
|
|
68
68
|
'old_target_version' : IDL.Opt(Version),
|
|
69
69
|
'new_target_version' : IDL.Opt(Version),
|
|
70
|
+
'is_advanced_automatically' : IDL.Opt(IDL.Bool),
|
|
70
71
|
});
|
|
71
72
|
const UpgradeStepsReset = IDL.Record({
|
|
72
73
|
'human_readable' : IDL.Opt(IDL.Text),
|
|
@@ -137,6 +138,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
137
138
|
'max_dissolve_delay_seconds' : IDL.Opt(IDL.Nat64),
|
|
138
139
|
'max_dissolve_delay_bonus_percentage' : IDL.Opt(IDL.Nat64),
|
|
139
140
|
'max_followees_per_function' : IDL.Opt(IDL.Nat64),
|
|
141
|
+
'automatically_advance_target_version' : IDL.Opt(IDL.Bool),
|
|
140
142
|
'neuron_claimer_permissions' : IDL.Opt(NeuronPermissionList),
|
|
141
143
|
'neuron_minimum_stake_e8s' : IDL.Opt(IDL.Nat64),
|
|
142
144
|
'max_neuron_age_for_age_bonus' : IDL.Opt(IDL.Nat64),
|
|
@@ -786,6 +788,7 @@ export const init = ({ IDL }) => {
|
|
|
786
788
|
const TargetVersionSet = IDL.Record({
|
|
787
789
|
'old_target_version' : IDL.Opt(Version),
|
|
788
790
|
'new_target_version' : IDL.Opt(Version),
|
|
791
|
+
'is_advanced_automatically' : IDL.Opt(IDL.Bool),
|
|
789
792
|
});
|
|
790
793
|
const UpgradeStepsReset = IDL.Record({
|
|
791
794
|
'human_readable' : IDL.Opt(IDL.Text),
|
|
@@ -856,6 +859,7 @@ export const init = ({ IDL }) => {
|
|
|
856
859
|
'max_dissolve_delay_seconds' : IDL.Opt(IDL.Nat64),
|
|
857
860
|
'max_dissolve_delay_bonus_percentage' : IDL.Opt(IDL.Nat64),
|
|
858
861
|
'max_followees_per_function' : IDL.Opt(IDL.Nat64),
|
|
862
|
+
'automatically_advance_target_version' : IDL.Opt(IDL.Bool),
|
|
859
863
|
'neuron_claimer_permissions' : IDL.Opt(NeuronPermissionList),
|
|
860
864
|
'neuron_minimum_stake_e8s' : IDL.Opt(IDL.Nat64),
|
|
861
865
|
'max_neuron_age_for_age_bonus' : IDL.Opt(IDL.Nat64),
|
|
@@ -67,6 +67,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
67
67
|
const TargetVersionSet = IDL.Record({
|
|
68
68
|
'old_target_version' : IDL.Opt(Version),
|
|
69
69
|
'new_target_version' : IDL.Opt(Version),
|
|
70
|
+
'is_advanced_automatically' : IDL.Opt(IDL.Bool),
|
|
70
71
|
});
|
|
71
72
|
const UpgradeStepsReset = IDL.Record({
|
|
72
73
|
'human_readable' : IDL.Opt(IDL.Text),
|
|
@@ -137,6 +138,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
137
138
|
'max_dissolve_delay_seconds' : IDL.Opt(IDL.Nat64),
|
|
138
139
|
'max_dissolve_delay_bonus_percentage' : IDL.Opt(IDL.Nat64),
|
|
139
140
|
'max_followees_per_function' : IDL.Opt(IDL.Nat64),
|
|
141
|
+
'automatically_advance_target_version' : IDL.Opt(IDL.Bool),
|
|
140
142
|
'neuron_claimer_permissions' : IDL.Opt(NeuronPermissionList),
|
|
141
143
|
'neuron_minimum_stake_e8s' : IDL.Opt(IDL.Nat64),
|
|
142
144
|
'max_neuron_age_for_age_bonus' : IDL.Opt(IDL.Nat64),
|
|
@@ -806,6 +808,7 @@ export const init = ({ IDL }) => {
|
|
|
806
808
|
const TargetVersionSet = IDL.Record({
|
|
807
809
|
'old_target_version' : IDL.Opt(Version),
|
|
808
810
|
'new_target_version' : IDL.Opt(Version),
|
|
811
|
+
'is_advanced_automatically' : IDL.Opt(IDL.Bool),
|
|
809
812
|
});
|
|
810
813
|
const UpgradeStepsReset = IDL.Record({
|
|
811
814
|
'human_readable' : IDL.Opt(IDL.Text),
|
|
@@ -876,6 +879,7 @@ export const init = ({ IDL }) => {
|
|
|
876
879
|
'max_dissolve_delay_seconds' : IDL.Opt(IDL.Nat64),
|
|
877
880
|
'max_dissolve_delay_bonus_percentage' : IDL.Opt(IDL.Nat64),
|
|
878
881
|
'max_followees_per_function' : IDL.Opt(IDL.Nat64),
|
|
882
|
+
'automatically_advance_target_version' : IDL.Opt(IDL.Bool),
|
|
879
883
|
'neuron_claimer_permissions' : IDL.Opt(NeuronPermissionList),
|
|
880
884
|
'neuron_minimum_stake_e8s' : IDL.Opt(IDL.Nat64),
|
|
881
885
|
'max_neuron_age_for_age_bonus' : IDL.Opt(IDL.Nat64),
|
|
@@ -413,6 +413,7 @@ export interface NervousSystemParameters {
|
|
|
413
413
|
max_dissolve_delay_seconds: [] | [bigint];
|
|
414
414
|
max_dissolve_delay_bonus_percentage: [] | [bigint];
|
|
415
415
|
max_followees_per_function: [] | [bigint];
|
|
416
|
+
automatically_advance_target_version: [] | [boolean];
|
|
416
417
|
neuron_claimer_permissions: [] | [NeuronPermissionList];
|
|
417
418
|
neuron_minimum_stake_e8s: [] | [bigint];
|
|
418
419
|
max_neuron_age_for_age_bonus: [] | [bigint];
|
|
@@ -614,6 +615,7 @@ export interface TargetVersionReset {
|
|
|
614
615
|
export interface TargetVersionSet {
|
|
615
616
|
old_target_version: [] | [Version];
|
|
616
617
|
new_target_version: [] | [Version];
|
|
618
|
+
is_advanced_automatically: [] | [boolean];
|
|
617
619
|
}
|
|
618
620
|
export interface Timers {
|
|
619
621
|
last_spawned_timestamp_seconds: [] | [bigint];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/sns/governance/canister/governance_test.did' by import-candid
|
|
2
2
|
type Account = record {
|
|
3
3
|
owner : opt principal;
|
|
4
4
|
subaccount : opt Subaccount;
|
|
@@ -496,6 +496,7 @@ type NervousSystemParameters = record {
|
|
|
496
496
|
voting_rewards_parameters : opt VotingRewardsParameters;
|
|
497
497
|
maturity_modulation_disabled : opt bool;
|
|
498
498
|
max_number_of_principals_per_neuron : opt nat64;
|
|
499
|
+
automatically_advance_target_version : opt bool;
|
|
499
500
|
};
|
|
500
501
|
|
|
501
502
|
type Neuron = record {
|
|
@@ -799,6 +800,7 @@ type UpgradeStepsReset = record {
|
|
|
799
800
|
type TargetVersionSet = record {
|
|
800
801
|
new_target_version : opt Version;
|
|
801
802
|
old_target_version : opt Version;
|
|
803
|
+
is_advanced_automatically : opt bool;
|
|
802
804
|
};
|
|
803
805
|
|
|
804
806
|
type TargetVersionReset = record {
|
|
@@ -67,6 +67,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
67
67
|
const TargetVersionSet = IDL.Record({
|
|
68
68
|
'old_target_version' : IDL.Opt(Version),
|
|
69
69
|
'new_target_version' : IDL.Opt(Version),
|
|
70
|
+
'is_advanced_automatically' : IDL.Opt(IDL.Bool),
|
|
70
71
|
});
|
|
71
72
|
const UpgradeStepsReset = IDL.Record({
|
|
72
73
|
'human_readable' : IDL.Opt(IDL.Text),
|
|
@@ -137,6 +138,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
137
138
|
'max_dissolve_delay_seconds' : IDL.Opt(IDL.Nat64),
|
|
138
139
|
'max_dissolve_delay_bonus_percentage' : IDL.Opt(IDL.Nat64),
|
|
139
140
|
'max_followees_per_function' : IDL.Opt(IDL.Nat64),
|
|
141
|
+
'automatically_advance_target_version' : IDL.Opt(IDL.Bool),
|
|
140
142
|
'neuron_claimer_permissions' : IDL.Opt(NeuronPermissionList),
|
|
141
143
|
'neuron_minimum_stake_e8s' : IDL.Opt(IDL.Nat64),
|
|
142
144
|
'max_neuron_age_for_age_bonus' : IDL.Opt(IDL.Nat64),
|
|
@@ -814,6 +816,7 @@ export const init = ({ IDL }) => {
|
|
|
814
816
|
const TargetVersionSet = IDL.Record({
|
|
815
817
|
'old_target_version' : IDL.Opt(Version),
|
|
816
818
|
'new_target_version' : IDL.Opt(Version),
|
|
819
|
+
'is_advanced_automatically' : IDL.Opt(IDL.Bool),
|
|
817
820
|
});
|
|
818
821
|
const UpgradeStepsReset = IDL.Record({
|
|
819
822
|
'human_readable' : IDL.Opt(IDL.Text),
|
|
@@ -884,6 +887,7 @@ export const init = ({ IDL }) => {
|
|
|
884
887
|
'max_dissolve_delay_seconds' : IDL.Opt(IDL.Nat64),
|
|
885
888
|
'max_dissolve_delay_bonus_percentage' : IDL.Opt(IDL.Nat64),
|
|
886
889
|
'max_followees_per_function' : IDL.Opt(IDL.Nat64),
|
|
890
|
+
'automatically_advance_target_version' : IDL.Opt(IDL.Bool),
|
|
887
891
|
'neuron_claimer_permissions' : IDL.Opt(NeuronPermissionList),
|
|
888
892
|
'neuron_minimum_stake_e8s' : IDL.Opt(IDL.Nat64),
|
|
889
893
|
'max_neuron_age_for_age_bonus' : IDL.Opt(IDL.Nat64),
|
package/dist/candid/sns_root.did
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/sns/root/canister/root.did' by import-candid
|
|
2
2
|
type CanisterCallError = record {
|
|
3
3
|
code : opt int32;
|
|
4
4
|
description : text;
|
package/dist/candid/sns_swap.did
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/sns/swap/canister/swap.did' by import-candid
|
|
2
2
|
type BuyerState = record {
|
|
3
3
|
icp : opt TransferableAmount;
|
|
4
4
|
has_created_neuron_recipes : opt bool;
|