@junobuild/ic-client 3.1.2 → 3.1.3
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/actor.js +1 -1
- package/actor.js.map +3 -3
- package/actor.mjs +1 -1
- package/actor.mjs.map +3 -3
- package/declarations/console/console.did.d.ts +228 -218
- package/declarations/console/console.factory.certified.did.js +14 -1
- package/declarations/console/console.factory.did.js +14 -1
- package/declarations/console/console.factory.did.mjs +14 -1
- package/declarations/deprecated/console-0-0-14.did.d.ts +186 -186
- package/declarations/deprecated/console-0-0-8-patch1.did.d.ts +49 -49
- package/declarations/deprecated/mission_control-0-0-13.did.d.ts +173 -173
- package/declarations/deprecated/mission_control-0-0-14.did.d.ts +167 -167
- package/declarations/deprecated/mission_control-0-0-4.did.d.ts +57 -57
- package/declarations/deprecated/observatory-0-0-9.did.d.ts +42 -42
- package/declarations/deprecated/orbiter-0-0-6.did.d.ts +111 -111
- package/declarations/deprecated/orbiter-0-0-7.did.d.ts +116 -116
- package/declarations/deprecated/orbiter-0-0-8.did.d.ts +177 -177
- package/declarations/deprecated/orbiter-0-2-0.did.d.ts +203 -203
- package/declarations/deprecated/satellite-0-0-16.did.d.ts +174 -170
- package/declarations/deprecated/satellite-0-0-17.did.d.ts +185 -181
- package/declarations/deprecated/satellite-0-0-21.did.d.ts +216 -212
- package/declarations/deprecated/satellite-0-0-22.did.d.ts +211 -207
- package/declarations/deprecated/satellite-0-0-8.did.d.ts +125 -121
- package/declarations/deprecated/satellite-0-0-9.did.d.ts +139 -135
- package/declarations/mission_control/mission_control.did.d.ts +178 -169
- package/declarations/mission_control/mission_control.factory.certified.did.js +16 -4
- package/declarations/mission_control/mission_control.factory.did.js +16 -4
- package/declarations/observatory/observatory.did.d.ts +54 -54
- package/declarations/orbiter/orbiter.did.d.ts +206 -206
- package/declarations/orbiter/orbiter.factory.certified.did.js +7 -3
- package/declarations/orbiter/orbiter.factory.did.js +7 -3
- package/declarations/orbiter/orbiter.factory.did.mjs +7 -3
- package/declarations/satellite/satellite.did.d.ts +294 -285
- package/declarations/satellite/satellite.factory.certified.did.js +1 -0
- package/declarations/satellite/satellite.factory.did.js +1 -0
- package/declarations/satellite/satellite.factory.did.mjs +1 -0
- package/declarations/sputnik/sputnik.did.d.ts +294 -285
- package/declarations/sputnik/sputnik.factory.certified.did.js +1 -0
- package/declarations/sputnik/sputnik.factory.did.js +1 -0
- package/package.json +1 -1
|
@@ -1,280 +1,280 @@
|
|
|
1
|
-
import type {ActorMethod} from '@dfinity/agent';
|
|
2
|
-
import type {IDL} from '@dfinity/candid';
|
|
3
|
-
import type {Principal} from '@dfinity/principal';
|
|
1
|
+
import type { ActorMethod } from '@dfinity/agent';
|
|
2
|
+
import type { IDL } from '@dfinity/candid';
|
|
3
|
+
import type { Principal } from '@dfinity/principal';
|
|
4
4
|
|
|
5
5
|
export interface AnalyticKey {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
key: string;
|
|
7
|
+
collected_at: bigint;
|
|
8
8
|
}
|
|
9
9
|
export interface AnalyticsBrowsersPageViews {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
safari: number;
|
|
11
|
+
opera: number;
|
|
12
|
+
others: number;
|
|
13
|
+
firefox: number;
|
|
14
|
+
chrome: number;
|
|
15
15
|
}
|
|
16
16
|
export interface AnalyticsClientsPageViews {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
browsers: AnalyticsBrowsersPageViews;
|
|
18
|
+
operating_systems: [] | [AnalyticsOperatingSystemsPageViews];
|
|
19
|
+
devices: AnalyticsDevicesPageViews;
|
|
20
20
|
}
|
|
21
21
|
export interface AnalyticsDevicesPageViews {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
desktop: number;
|
|
23
|
+
laptop: [] | [number];
|
|
24
|
+
others: number;
|
|
25
|
+
tablet: [] | [number];
|
|
26
|
+
mobile: number;
|
|
27
27
|
}
|
|
28
28
|
export interface AnalyticsMetricsPageViews {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
bounce_rate: number;
|
|
30
|
+
average_page_views_per_session: number;
|
|
31
|
+
daily_total_page_views: Array<[CalendarDate, number]>;
|
|
32
|
+
total_page_views: number;
|
|
33
|
+
unique_page_views: bigint;
|
|
34
|
+
unique_sessions: bigint;
|
|
35
35
|
}
|
|
36
36
|
export interface AnalyticsOperatingSystemsPageViews {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
ios: number;
|
|
38
|
+
macos: number;
|
|
39
|
+
others: number;
|
|
40
|
+
linux: number;
|
|
41
|
+
android: number;
|
|
42
|
+
windows: number;
|
|
43
43
|
}
|
|
44
44
|
export interface AnalyticsTop10PageViews {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
referrers: Array<[string, number]>;
|
|
46
|
+
pages: Array<[string, number]>;
|
|
47
|
+
utm_campaigns: [] | [Array<[string, number]>];
|
|
48
|
+
utm_sources: [] | [Array<[string, number]>];
|
|
49
|
+
time_zones: [] | [Array<[string, number]>];
|
|
50
50
|
}
|
|
51
51
|
export interface AnalyticsTrackEvents {
|
|
52
|
-
|
|
52
|
+
total: Array<[string, number]>;
|
|
53
53
|
}
|
|
54
54
|
export interface AnalyticsWebVitalsPageMetrics {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
cls: [] | [number];
|
|
56
|
+
fcp: [] | [number];
|
|
57
|
+
inp: [] | [number];
|
|
58
|
+
lcp: [] | [number];
|
|
59
|
+
ttfb: [] | [number];
|
|
60
60
|
}
|
|
61
61
|
export interface AnalyticsWebVitalsPerformanceMetrics {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
overall: AnalyticsWebVitalsPageMetrics;
|
|
63
|
+
pages: Array<[string, AnalyticsWebVitalsPageMetrics]>;
|
|
64
64
|
}
|
|
65
65
|
export interface CalendarDate {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
day: number;
|
|
67
|
+
month: number;
|
|
68
|
+
year: number;
|
|
69
69
|
}
|
|
70
70
|
export interface Controller {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
updated_at: bigint;
|
|
72
|
+
metadata: Array<[string, string]>;
|
|
73
|
+
created_at: bigint;
|
|
74
|
+
scope: ControllerScope;
|
|
75
|
+
expires_at: [] | [bigint];
|
|
76
76
|
}
|
|
77
|
-
export type ControllerScope = {Write: null} | {Admin: null} | {Submit: null};
|
|
77
|
+
export type ControllerScope = { Write: null } | { Admin: null } | { Submit: null };
|
|
78
78
|
export interface DelSatelliteConfig {
|
|
79
|
-
|
|
79
|
+
version: [] | [bigint];
|
|
80
80
|
}
|
|
81
81
|
export interface DeleteControllersArgs {
|
|
82
|
-
|
|
82
|
+
controllers: Array<Principal>;
|
|
83
83
|
}
|
|
84
84
|
export interface DepositCyclesArgs {
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
cycles: bigint;
|
|
86
|
+
destination_id: Principal;
|
|
87
87
|
}
|
|
88
88
|
export interface GetAnalytics {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
to: [] | [bigint];
|
|
90
|
+
from: [] | [bigint];
|
|
91
|
+
satellite_id: [] | [Principal];
|
|
92
92
|
}
|
|
93
93
|
export interface HttpRequest {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
url: string;
|
|
95
|
+
method: string;
|
|
96
|
+
body: Uint8Array | number[];
|
|
97
|
+
headers: Array<[string, string]>;
|
|
98
|
+
certificate_version: [] | [number];
|
|
99
99
|
}
|
|
100
100
|
export interface HttpResponse {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
body: Uint8Array | number[];
|
|
102
|
+
headers: Array<[string, string]>;
|
|
103
|
+
upgrade: [] | [boolean];
|
|
104
|
+
status_code: number;
|
|
105
|
+
}
|
|
106
|
+
export interface InitOrbiterArgs {
|
|
107
|
+
controllers: Array<Principal>;
|
|
105
108
|
}
|
|
106
109
|
export interface MemorySize {
|
|
107
|
-
|
|
108
|
-
|
|
110
|
+
stable: bigint;
|
|
111
|
+
heap: bigint;
|
|
109
112
|
}
|
|
110
113
|
export type NavigationType =
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
| { Navigate: null }
|
|
115
|
+
| { Restore: null }
|
|
116
|
+
| { Reload: null }
|
|
117
|
+
| { BackForward: null }
|
|
118
|
+
| { BackForwardCache: null }
|
|
119
|
+
| { Prerender: null };
|
|
117
120
|
export interface OrbiterSatelliteConfig {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
updated_at: bigint;
|
|
122
|
+
features: [] | [OrbiterSatelliteFeatures];
|
|
123
|
+
restricted_origin: [] | [string];
|
|
124
|
+
created_at: bigint;
|
|
125
|
+
version: [] | [bigint];
|
|
123
126
|
}
|
|
124
127
|
export interface OrbiterSatelliteFeatures {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
performance_metrics: boolean;
|
|
129
|
+
track_events: boolean;
|
|
130
|
+
page_views: boolean;
|
|
128
131
|
}
|
|
129
132
|
export interface PageView {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
133
|
+
client: [] | [PageViewClient];
|
|
134
|
+
title: string;
|
|
135
|
+
updated_at: bigint;
|
|
136
|
+
referrer: [] | [string];
|
|
137
|
+
time_zone: string;
|
|
138
|
+
session_id: string;
|
|
139
|
+
campaign: [] | [PageViewCampaign];
|
|
140
|
+
href: string;
|
|
141
|
+
created_at: bigint;
|
|
142
|
+
satellite_id: Principal;
|
|
143
|
+
device: PageViewDevice;
|
|
144
|
+
version: [] | [bigint];
|
|
145
|
+
user_agent: [] | [string];
|
|
143
146
|
}
|
|
144
147
|
export interface PageViewCampaign {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
utm_content: [] | [string];
|
|
149
|
+
utm_medium: [] | [string];
|
|
150
|
+
utm_source: string;
|
|
151
|
+
utm_term: [] | [string];
|
|
152
|
+
utm_campaign: [] | [string];
|
|
150
153
|
}
|
|
151
154
|
export interface PageViewClient {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
+
os: string;
|
|
156
|
+
device: [] | [string];
|
|
157
|
+
browser: string;
|
|
155
158
|
}
|
|
156
159
|
export interface PageViewDevice {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
160
|
+
inner_height: number;
|
|
161
|
+
screen_height: [] | [number];
|
|
162
|
+
screen_width: [] | [number];
|
|
163
|
+
inner_width: number;
|
|
161
164
|
}
|
|
162
|
-
export type PerformanceData = {WebVitalsMetric: WebVitalsMetric};
|
|
165
|
+
export type PerformanceData = { WebVitalsMetric: WebVitalsMetric };
|
|
163
166
|
export interface PerformanceMetric {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
167
|
+
updated_at: bigint;
|
|
168
|
+
session_id: string;
|
|
169
|
+
data: PerformanceData;
|
|
170
|
+
href: string;
|
|
171
|
+
metric_name: PerformanceMetricName;
|
|
172
|
+
created_at: bigint;
|
|
173
|
+
satellite_id: Principal;
|
|
174
|
+
version: [] | [bigint];
|
|
172
175
|
}
|
|
173
176
|
export type PerformanceMetricName =
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
export type Result = {Ok: PageView} | {Err: string};
|
|
180
|
-
export type Result_1 = {Ok: null} | {Err: Array<[AnalyticKey, string]>};
|
|
181
|
-
export type Result_2 = {Ok: PerformanceMetric} | {Err: string};
|
|
182
|
-
export type Result_3 = {Ok: TrackEvent} | {Err: string};
|
|
183
|
-
export interface SegmentArgs {
|
|
184
|
-
controllers: Array<Principal>;
|
|
185
|
-
}
|
|
177
|
+
| { CLS: null }
|
|
178
|
+
| { FCP: null }
|
|
179
|
+
| { INP: null }
|
|
180
|
+
| { LCP: null }
|
|
181
|
+
| { TTFB: null };
|
|
182
|
+
export type Result = { Ok: PageView } | { Err: string };
|
|
183
|
+
export type Result_1 = { Ok: null } | { Err: Array<[AnalyticKey, string]> };
|
|
184
|
+
export type Result_2 = { Ok: PerformanceMetric } | { Err: string };
|
|
185
|
+
export type Result_3 = { Ok: TrackEvent } | { Err: string };
|
|
186
186
|
export interface SetController {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
metadata: Array<[string, string]>;
|
|
188
|
+
scope: ControllerScope;
|
|
189
|
+
expires_at: [] | [bigint];
|
|
190
190
|
}
|
|
191
191
|
export interface SetControllersArgs {
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
controller: SetController;
|
|
193
|
+
controllers: Array<Principal>;
|
|
194
194
|
}
|
|
195
195
|
export interface SetPageView {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
196
|
+
client: [] | [PageViewClient];
|
|
197
|
+
title: string;
|
|
198
|
+
updated_at: [] | [bigint];
|
|
199
|
+
referrer: [] | [string];
|
|
200
|
+
time_zone: string;
|
|
201
|
+
session_id: string;
|
|
202
|
+
campaign: [] | [PageViewCampaign];
|
|
203
|
+
href: string;
|
|
204
|
+
satellite_id: Principal;
|
|
205
|
+
device: PageViewDevice;
|
|
206
|
+
version: [] | [bigint];
|
|
207
|
+
user_agent: [] | [string];
|
|
208
208
|
}
|
|
209
209
|
export interface SetPerformanceMetric {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
210
|
+
session_id: string;
|
|
211
|
+
data: PerformanceData;
|
|
212
|
+
href: string;
|
|
213
|
+
metric_name: PerformanceMetricName;
|
|
214
|
+
satellite_id: Principal;
|
|
215
|
+
version: [] | [bigint];
|
|
216
|
+
user_agent: [] | [string];
|
|
217
217
|
}
|
|
218
218
|
export interface SetSatelliteConfig {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
219
|
+
features: [] | [OrbiterSatelliteFeatures];
|
|
220
|
+
restricted_origin: [] | [string];
|
|
221
|
+
version: [] | [bigint];
|
|
222
222
|
}
|
|
223
223
|
export interface SetTrackEvent {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
224
|
+
updated_at: [] | [bigint];
|
|
225
|
+
session_id: string;
|
|
226
|
+
metadata: [] | [Array<[string, string]>];
|
|
227
|
+
name: string;
|
|
228
|
+
satellite_id: Principal;
|
|
229
|
+
version: [] | [bigint];
|
|
230
|
+
user_agent: [] | [string];
|
|
231
231
|
}
|
|
232
232
|
export interface TrackEvent {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
233
|
+
updated_at: bigint;
|
|
234
|
+
session_id: string;
|
|
235
|
+
metadata: [] | [Array<[string, string]>];
|
|
236
|
+
name: string;
|
|
237
|
+
created_at: bigint;
|
|
238
|
+
satellite_id: Principal;
|
|
239
|
+
version: [] | [bigint];
|
|
240
240
|
}
|
|
241
241
|
export interface WebVitalsMetric {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
242
|
+
id: string;
|
|
243
|
+
value: number;
|
|
244
|
+
navigation_type: [] | [NavigationType];
|
|
245
|
+
delta: number;
|
|
246
246
|
}
|
|
247
247
|
export interface _SERVICE {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
248
|
+
del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, Controller]>>;
|
|
249
|
+
del_satellite_config: ActorMethod<[Principal, DelSatelliteConfig], undefined>;
|
|
250
|
+
deposit_cycles: ActorMethod<[DepositCyclesArgs], undefined>;
|
|
251
|
+
get_page_views: ActorMethod<[GetAnalytics], Array<[AnalyticKey, PageView]>>;
|
|
252
|
+
get_page_views_analytics_clients: ActorMethod<[GetAnalytics], AnalyticsClientsPageViews>;
|
|
253
|
+
get_page_views_analytics_metrics: ActorMethod<[GetAnalytics], AnalyticsMetricsPageViews>;
|
|
254
|
+
get_page_views_analytics_top_10: ActorMethod<[GetAnalytics], AnalyticsTop10PageViews>;
|
|
255
|
+
get_performance_metrics: ActorMethod<[GetAnalytics], Array<[AnalyticKey, PerformanceMetric]>>;
|
|
256
|
+
get_performance_metrics_analytics_web_vitals: ActorMethod<
|
|
257
|
+
[GetAnalytics],
|
|
258
|
+
AnalyticsWebVitalsPerformanceMetrics
|
|
259
|
+
>;
|
|
260
|
+
get_track_events: ActorMethod<[GetAnalytics], Array<[AnalyticKey, TrackEvent]>>;
|
|
261
|
+
get_track_events_analytics: ActorMethod<[GetAnalytics], AnalyticsTrackEvents>;
|
|
262
|
+
http_request: ActorMethod<[HttpRequest], HttpResponse>;
|
|
263
|
+
http_request_update: ActorMethod<[HttpRequest], HttpResponse>;
|
|
264
|
+
list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
|
|
265
|
+
list_satellite_configs: ActorMethod<[], Array<[Principal, OrbiterSatelliteConfig]>>;
|
|
266
|
+
memory_size: ActorMethod<[], MemorySize>;
|
|
267
|
+
set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
|
|
268
|
+
set_page_view: ActorMethod<[AnalyticKey, SetPageView], Result>;
|
|
269
|
+
set_page_views: ActorMethod<[Array<[AnalyticKey, SetPageView]>], Result_1>;
|
|
270
|
+
set_performance_metric: ActorMethod<[AnalyticKey, SetPerformanceMetric], Result_2>;
|
|
271
|
+
set_performance_metrics: ActorMethod<[Array<[AnalyticKey, SetPerformanceMetric]>], Result_1>;
|
|
272
|
+
set_satellite_configs: ActorMethod<
|
|
273
|
+
[Array<[Principal, SetSatelliteConfig]>],
|
|
274
|
+
Array<[Principal, OrbiterSatelliteConfig]>
|
|
275
|
+
>;
|
|
276
|
+
set_track_event: ActorMethod<[AnalyticKey, SetTrackEvent], Result_3>;
|
|
277
|
+
set_track_events: ActorMethod<[Array<[AnalyticKey, SetTrackEvent]>], Result_1>;
|
|
278
278
|
}
|
|
279
279
|
export declare const idlFactory: IDL.InterfaceFactory;
|
|
280
|
-
export declare const init: (args: {IDL: typeof IDL}) => IDL.Type[];
|
|
280
|
+
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
export const idlFactory = ({IDL}) => {
|
|
3
|
-
const
|
|
3
|
+
const InitOrbiterArgs = IDL.Record({
|
|
4
|
+
controllers: IDL.Vec(IDL.Principal)
|
|
5
|
+
});
|
|
4
6
|
const DeleteControllersArgs = IDL.Record({
|
|
5
7
|
controllers: IDL.Vec(IDL.Principal)
|
|
6
8
|
});
|
|
@@ -301,6 +303,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
301
303
|
};
|
|
302
304
|
// @ts-ignore
|
|
303
305
|
export const init = ({IDL}) => {
|
|
304
|
-
const
|
|
305
|
-
|
|
306
|
+
const InitOrbiterArgs = IDL.Record({
|
|
307
|
+
controllers: IDL.Vec(IDL.Principal)
|
|
308
|
+
});
|
|
309
|
+
return [InitOrbiterArgs];
|
|
306
310
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
export const idlFactory = ({IDL}) => {
|
|
3
|
-
const
|
|
3
|
+
const InitOrbiterArgs = IDL.Record({
|
|
4
|
+
controllers: IDL.Vec(IDL.Principal)
|
|
5
|
+
});
|
|
4
6
|
const DeleteControllersArgs = IDL.Record({
|
|
5
7
|
controllers: IDL.Vec(IDL.Principal)
|
|
6
8
|
});
|
|
@@ -317,6 +319,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
317
319
|
};
|
|
318
320
|
// @ts-ignore
|
|
319
321
|
export const init = ({IDL}) => {
|
|
320
|
-
const
|
|
321
|
-
|
|
322
|
+
const InitOrbiterArgs = IDL.Record({
|
|
323
|
+
controllers: IDL.Vec(IDL.Principal)
|
|
324
|
+
});
|
|
325
|
+
return [InitOrbiterArgs];
|
|
322
326
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
export const idlFactory = ({IDL}) => {
|
|
3
|
-
const
|
|
3
|
+
const InitOrbiterArgs = IDL.Record({
|
|
4
|
+
controllers: IDL.Vec(IDL.Principal)
|
|
5
|
+
});
|
|
4
6
|
const DeleteControllersArgs = IDL.Record({
|
|
5
7
|
controllers: IDL.Vec(IDL.Principal)
|
|
6
8
|
});
|
|
@@ -317,6 +319,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
317
319
|
};
|
|
318
320
|
// @ts-ignore
|
|
319
321
|
export const init = ({IDL}) => {
|
|
320
|
-
const
|
|
321
|
-
|
|
322
|
+
const InitOrbiterArgs = IDL.Record({
|
|
323
|
+
controllers: IDL.Vec(IDL.Principal)
|
|
324
|
+
});
|
|
325
|
+
return [InitOrbiterArgs];
|
|
322
326
|
};
|