@dfinity/sns 3.2.6 → 3.2.8-next-2025-01-29
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/LICENSE +1 -1
- package/dist/candid/sns_governance.certified.idl.js +19 -0
- package/dist/candid/sns_governance.d.ts +10 -0
- package/dist/candid/sns_governance.did +12 -1
- package/dist/candid/sns_governance.idl.js +19 -0
- package/dist/candid/sns_governance_test.certified.idl.js +19 -0
- package/dist/candid/sns_governance_test.d.ts +10 -0
- package/dist/candid/sns_governance_test.did +12 -1
- package/dist/candid/sns_governance_test.idl.js +19 -0
- package/dist/candid/sns_root.certified.idl.js +9 -0
- package/dist/candid/sns_root.d.ts +9 -0
- package/dist/candid/sns_root.did +11 -1
- package/dist/candid/sns_root.idl.js +9 -0
- package/dist/candid/sns_swap.certified.idl.js +1 -0
- package/dist/candid/sns_swap.d.ts +1 -0
- package/dist/candid/sns_swap.did +2 -1
- package/dist/candid/sns_swap.idl.js +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +3 -3
- package/dist/esm/chunk-BKBI2NNR.js +2 -0
- package/dist/esm/chunk-BKBI2NNR.js.map +7 -0
- package/dist/esm/chunk-EHRWZZ5X.js +2 -0
- package/dist/esm/chunk-EHRWZZ5X.js.map +7 -0
- package/dist/esm/{chunk-MC5S77AI.js → chunk-K4OVK5J7.js} +2 -2
- package/dist/esm/chunk-NXIGASUA.js +2 -0
- package/dist/esm/chunk-NXIGASUA.js.map +7 -0
- package/dist/esm/governance.canister.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +3 -3
- package/dist/esm/root.canister.js +1 -1
- package/dist/esm/sns.js +1 -1
- package/dist/esm/swap.canister.js +1 -1
- package/dist/types/types/actions.d.ts +7 -0
- package/package.json +7 -7
- package/dist/esm/chunk-BNILACKH.js +0 -2
- package/dist/esm/chunk-BNILACKH.js.map +0 -7
- package/dist/esm/chunk-DHX6PNLG.js +0 -2
- package/dist/esm/chunk-DHX6PNLG.js.map +0 -7
- package/dist/esm/chunk-XKKPAZAY.js +0 -2
- package/dist/esm/chunk-XKKPAZAY.js.map +0 -7
- /package/dist/esm/{chunk-MC5S77AI.js.map → chunk-K4OVK5J7.js.map} +0 -0
package/dist/candid/sns_root.did
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 4ba5834 (2025-01-22 tags: release-2025-01-23_03-04-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;
|
|
@@ -44,9 +44,16 @@ type CanisterSummary = record {
|
|
|
44
44
|
canister_id : opt principal;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
+
type ChunkedCanisterWasm = record {
|
|
48
|
+
wasm_module_hash : blob;
|
|
49
|
+
store_canister_id : principal;
|
|
50
|
+
chunk_hashes_list : vec blob;
|
|
51
|
+
};
|
|
52
|
+
|
|
47
53
|
type ChangeCanisterRequest = record {
|
|
48
54
|
arg : blob;
|
|
49
55
|
wasm_module : blob;
|
|
56
|
+
chunked_canister_wasm : opt ChunkedCanisterWasm;
|
|
50
57
|
stop_before_installing : bool;
|
|
51
58
|
mode : CanisterInstallMode;
|
|
52
59
|
canister_id : principal;
|
|
@@ -62,6 +69,7 @@ type DefiniteCanisterSettings = record {
|
|
|
62
69
|
wasm_memory_limit : opt nat;
|
|
63
70
|
memory_allocation : opt nat;
|
|
64
71
|
compute_allocation : opt nat;
|
|
72
|
+
wasm_memory_threshold : opt nat;
|
|
65
73
|
};
|
|
66
74
|
|
|
67
75
|
type DefiniteCanisterSettingsArgs = record {
|
|
@@ -70,6 +78,7 @@ type DefiniteCanisterSettingsArgs = record {
|
|
|
70
78
|
wasm_memory_limit : opt nat;
|
|
71
79
|
memory_allocation : nat;
|
|
72
80
|
compute_allocation : nat;
|
|
81
|
+
wasm_memory_threshold : opt nat;
|
|
73
82
|
};
|
|
74
83
|
|
|
75
84
|
type FailedUpdate = record {
|
|
@@ -114,6 +123,7 @@ type ManageDappCanisterSettingsRequest = record {
|
|
|
114
123
|
wasm_memory_limit : opt nat64;
|
|
115
124
|
memory_allocation : opt nat64;
|
|
116
125
|
compute_allocation : opt nat64;
|
|
126
|
+
wasm_memory_threshold : opt nat64;
|
|
117
127
|
};
|
|
118
128
|
|
|
119
129
|
type ManageDappCanisterSettingsResponse = record {
|
|
@@ -27,6 +27,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
27
27
|
});
|
|
28
28
|
const DefiniteCanisterSettings = IDL.Record({
|
|
29
29
|
'freezing_threshold' : IDL.Opt(IDL.Nat),
|
|
30
|
+
'wasm_memory_threshold' : IDL.Opt(IDL.Nat),
|
|
30
31
|
'controllers' : IDL.Vec(IDL.Principal),
|
|
31
32
|
'reserved_cycles_limit' : IDL.Opt(IDL.Nat),
|
|
32
33
|
'log_visibility' : IDL.Opt(LogVisibility),
|
|
@@ -48,12 +49,18 @@ export const idlFactory = ({ IDL }) => {
|
|
|
48
49
|
'upgrade' : IDL.Null,
|
|
49
50
|
'install' : IDL.Null,
|
|
50
51
|
});
|
|
52
|
+
const ChunkedCanisterWasm = IDL.Record({
|
|
53
|
+
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
54
|
+
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
55
|
+
'store_canister_id' : IDL.Principal,
|
|
56
|
+
});
|
|
51
57
|
const ChangeCanisterRequest = IDL.Record({
|
|
52
58
|
'arg' : IDL.Vec(IDL.Nat8),
|
|
53
59
|
'wasm_module' : IDL.Vec(IDL.Nat8),
|
|
54
60
|
'stop_before_installing' : IDL.Bool,
|
|
55
61
|
'mode' : CanisterInstallMode,
|
|
56
62
|
'canister_id' : IDL.Principal,
|
|
63
|
+
'chunked_canister_wasm' : IDL.Opt(ChunkedCanisterWasm),
|
|
57
64
|
'memory_allocation' : IDL.Opt(IDL.Nat),
|
|
58
65
|
'compute_allocation' : IDL.Opt(IDL.Nat),
|
|
59
66
|
});
|
|
@@ -62,6 +69,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
62
69
|
});
|
|
63
70
|
const DefiniteCanisterSettingsArgs = IDL.Record({
|
|
64
71
|
'freezing_threshold' : IDL.Nat,
|
|
72
|
+
'wasm_memory_threshold' : IDL.Opt(IDL.Nat),
|
|
65
73
|
'controllers' : IDL.Vec(IDL.Principal),
|
|
66
74
|
'wasm_memory_limit' : IDL.Opt(IDL.Nat),
|
|
67
75
|
'memory_allocation' : IDL.Nat,
|
|
@@ -100,6 +108,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
100
108
|
});
|
|
101
109
|
const ManageDappCanisterSettingsRequest = IDL.Record({
|
|
102
110
|
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
111
|
+
'wasm_memory_threshold' : IDL.Opt(IDL.Nat64),
|
|
103
112
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
104
113
|
'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
|
|
105
114
|
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
@@ -164,6 +164,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
164
164
|
});
|
|
165
165
|
const DefiniteCanisterSettingsArgs = IDL.Record({
|
|
166
166
|
'freezing_threshold' : IDL.Nat,
|
|
167
|
+
'wasm_memory_threshold' : IDL.Opt(IDL.Nat),
|
|
167
168
|
'controllers' : IDL.Vec(IDL.Principal),
|
|
168
169
|
'wasm_memory_limit' : IDL.Opt(IDL.Nat),
|
|
169
170
|
'memory_allocation' : IDL.Nat,
|
package/dist/candid/sns_swap.did
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 4ba5834 (2025-01-22 tags: release-2025-01-23_03-04-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;
|
|
@@ -54,6 +54,7 @@ type DefiniteCanisterSettingsArgs = record {
|
|
|
54
54
|
wasm_memory_limit : opt nat;
|
|
55
55
|
memory_allocation : nat;
|
|
56
56
|
compute_allocation : nat;
|
|
57
|
+
wasm_memory_threshold : opt nat;
|
|
57
58
|
};
|
|
58
59
|
|
|
59
60
|
type DerivedState = record {
|
|
@@ -164,6 +164,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
164
164
|
});
|
|
165
165
|
const DefiniteCanisterSettingsArgs = IDL.Record({
|
|
166
166
|
'freezing_threshold' : IDL.Nat,
|
|
167
|
+
'wasm_memory_threshold' : IDL.Opt(IDL.Nat),
|
|
167
168
|
'controllers' : IDL.Vec(IDL.Principal),
|
|
168
169
|
'wasm_memory_limit' : IDL.Opt(IDL.Nat),
|
|
169
170
|
'memory_allocation' : IDL.Nat,
|