@dfinity/sns 6.0.1-next-2025-11-26 → 6.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.
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 948d5b9 (2025-11-19 tags: release-2025-11-20_03-21-base) 'rs/sns/governance/canister/governance.did' by import-candid
1
+ // Generated from IC repo commit fa06b0e (2025-11-12 tags: release-2025-11-13_03-24-base) 'rs/sns/governance/canister/governance.did' by import-candid
2
2
 
3
3
  type Account = record {
4
4
  owner : opt principal;
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 5e10dc3 (2025-11-24) 'packages/sns/src/candid/sns_governance_test.did.tmp' by import-candid
1
+ // Generated from IC repo commit 4e64157 (2025-11-17) 'packages/sns/src/candid/sns_governance_test.did.tmp' by import-candid
2
2
 
3
3
  type Account = record {
4
4
  owner : opt principal;
@@ -92,20 +92,6 @@ export const idlFactory = ({ IDL }) => {
92
92
  canister_id: IDL.Principal,
93
93
  chunked_canister_wasm: IDL.Opt(ChunkedCanisterWasm),
94
94
  });
95
- const CleanUpFailedRegisterExtensionRequest = IDL.Record({
96
- canister_id: IDL.Opt(IDL.Principal),
97
- });
98
- const CanisterCallError = IDL.Record({
99
- code: IDL.Opt(IDL.Int32),
100
- description: IDL.Text,
101
- });
102
- const CleanUpFailedRegisterExtensionResult = IDL.Variant({
103
- Ok: IDL.Record({}),
104
- Err: CanisterCallError,
105
- });
106
- const CleanUpFailedRegisterExtensionResponse = IDL.Record({
107
- result: IDL.Opt(CleanUpFailedRegisterExtensionResult),
108
- });
109
95
  const GetSnsCanistersSummaryRequest = IDL.Record({
110
96
  update_canister_list: IDL.Opt(IDL.Bool),
111
97
  });
@@ -173,6 +159,10 @@ export const idlFactory = ({ IDL }) => {
173
159
  const RegisterExtensionRequest = IDL.Record({
174
160
  canister_id: IDL.Opt(IDL.Principal),
175
161
  });
162
+ const CanisterCallError = IDL.Record({
163
+ code: IDL.Opt(IDL.Int32),
164
+ description: IDL.Text,
165
+ });
176
166
  const RegisterExtensionResult = IDL.Variant({
177
167
  Ok: IDL.Record({}),
178
168
  Err: CanisterCallError,
@@ -195,11 +185,6 @@ export const idlFactory = ({ IDL }) => {
195
185
  return IDL.Service({
196
186
  canister_status: IDL.Func([CanisterIdRecord], [CanisterStatusResult], []),
197
187
  change_canister: IDL.Func([ChangeCanisterRequest], [], []),
198
- clean_up_failed_register_extension: IDL.Func(
199
- [CleanUpFailedRegisterExtensionRequest],
200
- [CleanUpFailedRegisterExtensionResponse],
201
- [],
202
- ),
203
188
  get_build_metadata: IDL.Func([], [IDL.Text], []),
204
189
  get_sns_canisters_summary: IDL.Func(
205
190
  [GetSnsCanistersSummaryRequest],
@@ -63,15 +63,6 @@ export interface ChunkedCanisterWasm {
63
63
  chunk_hashes_list: Array<Uint8Array>;
64
64
  store_canister_id: Principal;
65
65
  }
66
- export interface CleanUpFailedRegisterExtensionRequest {
67
- canister_id: [] | [Principal];
68
- }
69
- export interface CleanUpFailedRegisterExtensionResponse {
70
- result: [] | [CleanUpFailedRegisterExtensionResult];
71
- }
72
- export type CleanUpFailedRegisterExtensionResult =
73
- | { Ok: {} }
74
- | { Err: CanisterCallError };
75
66
  export interface DefiniteCanisterSettings {
76
67
  freezing_threshold: [] | [bigint];
77
68
  wasm_memory_threshold: [] | [bigint];
@@ -194,10 +185,6 @@ export interface Timers {
194
185
  export interface _SERVICE {
195
186
  canister_status: ActorMethod<[CanisterIdRecord], CanisterStatusResult>;
196
187
  change_canister: ActorMethod<[ChangeCanisterRequest], undefined>;
197
- clean_up_failed_register_extension: ActorMethod<
198
- [CleanUpFailedRegisterExtensionRequest],
199
- CleanUpFailedRegisterExtensionResponse
200
- >;
201
188
  get_build_metadata: ActorMethod<[], string>;
202
189
  get_sns_canisters_summary: ActorMethod<
203
190
  [GetSnsCanistersSummaryRequest],
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 948d5b9 (2025-11-19 tags: release-2025-11-20_03-21-base) 'rs/sns/root/canister/root.did' by import-candid
1
+ // Generated from IC repo commit fa06b0e (2025-11-12 tags: release-2025-11-13_03-24-base) 'rs/sns/root/canister/root.did' by import-candid
2
2
 
3
3
  type CanisterCallError = record {
4
4
  code : opt int32;
@@ -166,19 +166,6 @@ type RegisterExtensionResponse = record {
166
166
  result : opt RegisterExtensionResult;
167
167
  };
168
168
 
169
- type CleanUpFailedRegisterExtensionRequest = record {
170
- canister_id : opt principal;
171
- };
172
-
173
- type CleanUpFailedRegisterExtensionResult = variant {
174
- Ok : record {};
175
- Err : CanisterCallError;
176
- };
177
-
178
- type CleanUpFailedRegisterExtensionResponse = record {
179
- result : opt CleanUpFailedRegisterExtensionResult;
180
- };
181
-
182
169
  type RegisterDappCanisterRequest = record {
183
170
  canister_id : opt principal;
184
171
  };
@@ -225,7 +212,6 @@ type GetTimersResponse = record {
225
212
  service : (SnsRootCanister) -> {
226
213
  canister_status : (CanisterIdRecord) -> (CanisterStatusResult);
227
214
  change_canister : (ChangeCanisterRequest) -> ();
228
- clean_up_failed_register_extension : (CleanUpFailedRegisterExtensionRequest) -> (CleanUpFailedRegisterExtensionResponse);
229
215
  get_build_metadata : () -> (text) query;
230
216
  get_sns_canisters_summary : (GetSnsCanistersSummaryRequest) -> (
231
217
  GetSnsCanistersSummaryResponse,
@@ -92,20 +92,6 @@ export const idlFactory = ({ IDL }) => {
92
92
  canister_id: IDL.Principal,
93
93
  chunked_canister_wasm: IDL.Opt(ChunkedCanisterWasm),
94
94
  });
95
- const CleanUpFailedRegisterExtensionRequest = IDL.Record({
96
- canister_id: IDL.Opt(IDL.Principal),
97
- });
98
- const CanisterCallError = IDL.Record({
99
- code: IDL.Opt(IDL.Int32),
100
- description: IDL.Text,
101
- });
102
- const CleanUpFailedRegisterExtensionResult = IDL.Variant({
103
- Ok: IDL.Record({}),
104
- Err: CanisterCallError,
105
- });
106
- const CleanUpFailedRegisterExtensionResponse = IDL.Record({
107
- result: IDL.Opt(CleanUpFailedRegisterExtensionResult),
108
- });
109
95
  const GetSnsCanistersSummaryRequest = IDL.Record({
110
96
  update_canister_list: IDL.Opt(IDL.Bool),
111
97
  });
@@ -173,6 +159,10 @@ export const idlFactory = ({ IDL }) => {
173
159
  const RegisterExtensionRequest = IDL.Record({
174
160
  canister_id: IDL.Opt(IDL.Principal),
175
161
  });
162
+ const CanisterCallError = IDL.Record({
163
+ code: IDL.Opt(IDL.Int32),
164
+ description: IDL.Text,
165
+ });
176
166
  const RegisterExtensionResult = IDL.Variant({
177
167
  Ok: IDL.Record({}),
178
168
  Err: CanisterCallError,
@@ -195,11 +185,6 @@ export const idlFactory = ({ IDL }) => {
195
185
  return IDL.Service({
196
186
  canister_status: IDL.Func([CanisterIdRecord], [CanisterStatusResult], []),
197
187
  change_canister: IDL.Func([ChangeCanisterRequest], [], []),
198
- clean_up_failed_register_extension: IDL.Func(
199
- [CleanUpFailedRegisterExtensionRequest],
200
- [CleanUpFailedRegisterExtensionResponse],
201
- [],
202
- ),
203
188
  get_build_metadata: IDL.Func([], [IDL.Text], ["query"]),
204
189
  get_sns_canisters_summary: IDL.Func(
205
190
  [GetSnsCanistersSummaryRequest],
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 948d5b9 (2025-11-19 tags: release-2025-11-20_03-21-base) 'rs/sns/swap/canister/swap.did' by import-candid
1
+ // Generated from IC repo commit fa06b0e (2025-11-12 tags: release-2025-11-13_03-24-base) 'rs/sns/swap/canister/swap.did' by import-candid
2
2
 
3
3
  type BuyerState = record {
4
4
  icp : opt TransferableAmount;