@junobuild/ic-client 4.0.0 → 5.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.
Files changed (42) hide show
  1. package/actor.js.map +2 -2
  2. package/actor.mjs.map +2 -2
  3. package/declarations/console/console.did.d.ts +23 -15
  4. package/declarations/console/console.factory.certified.did.js +10 -2
  5. package/declarations/console/console.factory.did.js +10 -2
  6. package/declarations/console/console.factory.did.mjs +10 -2
  7. package/declarations/deprecated/console-0-0-14.did.d.ts +8 -8
  8. package/declarations/deprecated/console-0-0-8-patch1.did.d.ts +1 -1
  9. package/declarations/deprecated/mission_control-0-0-13.did.d.ts +6 -6
  10. package/declarations/deprecated/mission_control-0-0-14.did.d.ts +5 -5
  11. package/declarations/deprecated/mission_control-0-0-4.did.d.ts +1 -1
  12. package/declarations/deprecated/mission_control-deprecated-version.did.d.ts +5 -5
  13. package/declarations/deprecated/orbiter-0-0-8.did.d.ts +2 -2
  14. package/declarations/deprecated/orbiter-0-2-0.did.d.ts +2 -2
  15. package/declarations/deprecated/satellite-0-0-16.did.d.ts +8 -8
  16. package/declarations/deprecated/satellite-0-0-17.did.d.ts +8 -8
  17. package/declarations/deprecated/satellite-0-0-21.did.d.ts +8 -8
  18. package/declarations/deprecated/satellite-0-0-22.did.d.ts +8 -8
  19. package/declarations/deprecated/satellite-0-0-8.did.d.ts +8 -8
  20. package/declarations/deprecated/satellite-0-0-9.did.d.ts +8 -8
  21. package/declarations/deprecated/satellite-deprecated-no-scope.did.d.ts +8 -8
  22. package/declarations/deprecated/satellite-deprecated-version.did.d.ts +8 -8
  23. package/declarations/deprecated/satellite-deprecated.did.d.ts +8 -8
  24. package/declarations/mission_control/mission_control.did.d.ts +13 -5
  25. package/declarations/mission_control/mission_control.factory.certified.did.js +11 -2
  26. package/declarations/mission_control/mission_control.factory.did.js +11 -2
  27. package/declarations/observatory/observatory.did.d.ts +14 -0
  28. package/declarations/observatory/observatory.factory.certified.did.js +17 -3
  29. package/declarations/observatory/observatory.factory.did.js +18 -8
  30. package/declarations/observatory/observatory.factory.did.mjs +18 -8
  31. package/declarations/orbiter/orbiter.did.d.ts +10 -2
  32. package/declarations/orbiter/orbiter.factory.certified.did.js +11 -2
  33. package/declarations/orbiter/orbiter.factory.did.js +11 -2
  34. package/declarations/orbiter/orbiter.factory.did.mjs +11 -2
  35. package/declarations/satellite/satellite.did.d.ts +25 -17
  36. package/declarations/satellite/satellite.factory.certified.did.js +11 -2
  37. package/declarations/satellite/satellite.factory.did.js +11 -2
  38. package/declarations/satellite/satellite.factory.did.mjs +11 -2
  39. package/declarations/sputnik/sputnik.did.d.ts +25 -17
  40. package/declarations/sputnik/sputnik.factory.certified.did.js +11 -2
  41. package/declarations/sputnik/sputnik.factory.did.js +11 -2
  42. package/package.json +1 -1
@@ -1,4 +1,11 @@
1
- // @ts-ignore
1
+ /* eslint-disable */
2
+
3
+ // @ts-nocheck
4
+
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
6
+ // You should NOT make any changes in this file as it will be overwritten.
7
+ // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
+
2
9
  export const idlFactory = ({IDL}) => {
3
10
  const InitOrbiterArgs = IDL.Record({
4
11
  controllers: IDL.Vec(IDL.Principal)
@@ -246,6 +253,7 @@ export const idlFactory = ({IDL}) => {
246
253
  user_agent: IDL.Opt(IDL.Text)
247
254
  });
248
255
  const Result_3 = IDL.Variant({Ok: TrackEvent, Err: IDL.Text});
256
+
249
257
  return IDL.Service({
250
258
  del_controllers: IDL.Func(
251
259
  [DeleteControllersArgs],
@@ -317,10 +325,11 @@ export const idlFactory = ({IDL}) => {
317
325
  set_track_events: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetTrackEvent))], [Result_1], [])
318
326
  });
319
327
  };
320
- // @ts-ignore
328
+
321
329
  export const init = ({IDL}) => {
322
330
  const InitOrbiterArgs = IDL.Record({
323
331
  controllers: IDL.Vec(IDL.Principal)
324
332
  });
333
+
325
334
  return [InitOrbiterArgs];
326
335
  };
@@ -1,10 +1,18 @@
1
+ /* eslint-disable */
2
+
3
+ // @ts-nocheck
4
+
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
6
+ // You should NOT make any changes in this file as it will be overwritten.
7
+ // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
+
1
9
  import type { ActorMethod } from '@icp-sdk/core/agent';
2
10
  import type { IDL } from '@icp-sdk/core/candid';
3
11
  import type { Principal } from '@icp-sdk/core/principal';
4
12
 
5
13
  export interface AssetEncodingNoContent {
6
14
  modified: bigint;
7
- sha256: Uint8Array | number[];
15
+ sha256: Uint8Array;
8
16
  total_length: bigint;
9
17
  }
10
18
  export interface AssetKey {
@@ -63,7 +71,7 @@ export interface CommitBatch {
63
71
  chunk_ids: Array<bigint>;
64
72
  }
65
73
  export interface CommitProposal {
66
- sha256: Uint8Array | number[];
74
+ sha256: Uint8Array;
67
75
  proposal_id: bigint;
68
76
  }
69
77
  export interface Config {
@@ -102,7 +110,7 @@ export interface DelRule {
102
110
  version: [] | [bigint];
103
111
  }
104
112
  export interface Delegation {
105
- pubkey: Uint8Array | number[];
113
+ pubkey: Uint8Array;
106
114
  targets: [] | [Array<Principal>];
107
115
  expiration: bigint;
108
116
  }
@@ -119,7 +127,7 @@ export interface DepositCyclesArgs {
119
127
  export interface Doc {
120
128
  updated_at: bigint;
121
129
  owner: Principal;
122
- data: Uint8Array | number[];
130
+ data: Uint8Array;
123
131
  description: [] | [string];
124
132
  created_at: bigint;
125
133
  version: [] | [bigint];
@@ -146,12 +154,12 @@ export type GetOrRefreshJwksError =
146
154
  export interface HttpRequest {
147
155
  url: string;
148
156
  method: string;
149
- body: Uint8Array | number[];
157
+ body: Uint8Array;
150
158
  headers: Array<[string, string]>;
151
159
  certificate_version: [] | [number];
152
160
  }
153
161
  export interface HttpResponse {
154
- body: Uint8Array | number[];
162
+ body: Uint8Array;
155
163
  headers: Array<[string, string]>;
156
164
  streaming_strategy: [] | [StreamingStrategy];
157
165
  status_code: number;
@@ -253,14 +261,14 @@ export interface MemorySize {
253
261
  }
254
262
  export interface OpenIdGetDelegationArgs {
255
263
  jwt: string;
256
- session_key: Uint8Array | number[];
257
- salt: Uint8Array | number[];
264
+ session_key: Uint8Array;
265
+ salt: Uint8Array;
258
266
  expiration: bigint;
259
267
  }
260
268
  export interface OpenIdPrepareDelegationArgs {
261
269
  jwt: string;
262
- session_key: Uint8Array | number[];
263
- salt: Uint8Array | number[];
270
+ session_key: Uint8Array;
271
+ salt: Uint8Array;
264
272
  }
265
273
  export type OpenIdProvider = { Google: null };
266
274
  export interface OpenIdProviderConfig {
@@ -285,13 +293,13 @@ export type PrepareDelegationError =
285
293
  | { GetOrFetchJwks: GetOrRefreshJwksError }
286
294
  | { DeriveSeedFailed: string };
287
295
  export interface PreparedDelegation {
288
- user_key: Uint8Array | number[];
296
+ user_key: Uint8Array;
289
297
  expiration: bigint;
290
298
  }
291
299
  export interface Proposal {
292
300
  status: ProposalStatus;
293
301
  updated_at: bigint;
294
- sha256: [] | [Uint8Array | number[]];
302
+ sha256: [] | [Uint8Array];
295
303
  executed_at: [] | [bigint];
296
304
  owner: Principal;
297
305
  created_at: bigint;
@@ -353,7 +361,7 @@ export interface SetDbConfig {
353
361
  max_memory_size: [] | [ConfigMaxMemorySize];
354
362
  }
355
363
  export interface SetDoc {
356
- data: Uint8Array | number[];
364
+ data: Uint8Array;
357
365
  description: [] | [string];
358
366
  version: [] | [bigint];
359
367
  }
@@ -378,7 +386,7 @@ export interface SetStorageConfig {
378
386
  redirects: [] | [Array<[string, StorageConfigRedirect]>];
379
387
  }
380
388
  export interface SignedDelegation {
381
- signature: Uint8Array | number[];
389
+ signature: Uint8Array;
382
390
  delegation: Delegation;
383
391
  }
384
392
  export interface StorageConfig {
@@ -400,12 +408,12 @@ export interface StorageConfigRedirect {
400
408
  }
401
409
  export interface StreamingCallbackHttpResponse {
402
410
  token: [] | [StreamingCallbackToken];
403
- body: Uint8Array | number[];
411
+ body: Uint8Array;
404
412
  }
405
413
  export interface StreamingCallbackToken {
406
414
  memory: Memory;
407
415
  token: [] | [string];
408
- sha256: [] | [Uint8Array | number[]];
416
+ sha256: [] | [Uint8Array];
409
417
  headers: Array<[string, string]>;
410
418
  index: bigint;
411
419
  encoding_type: string;
@@ -423,7 +431,7 @@ export type TimestampMatcher =
423
431
  | { GreaterThan: bigint }
424
432
  | { LessThan: bigint };
425
433
  export interface UploadChunk {
426
- content: Uint8Array | number[];
434
+ content: Uint8Array;
427
435
  batch_id: bigint;
428
436
  order_id: [] | [bigint];
429
437
  }
@@ -1,4 +1,11 @@
1
- // @ts-ignore
1
+ /* eslint-disable */
2
+
3
+ // @ts-nocheck
4
+
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
6
+ // You should NOT make any changes in this file as it will be overwritten.
7
+ // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
+
2
9
  export const idlFactory = ({IDL}) => {
3
10
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
4
11
  const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
@@ -433,6 +440,7 @@ export const idlFactory = ({IDL}) => {
433
440
  order_id: IDL.Opt(IDL.Nat)
434
441
  });
435
442
  const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
443
+
436
444
  return IDL.Service({
437
445
  authenticate: IDL.Func([AuthenticationArgs], [AuthenticateResultResponse], []),
438
446
  commit_asset_upload: IDL.Func([CommitBatch], [], []),
@@ -524,7 +532,7 @@ export const idlFactory = ({IDL}) => {
524
532
  upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
525
533
  });
526
534
  };
527
- // @ts-ignore
535
+
528
536
  export const init = ({IDL}) => {
529
537
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
530
538
  const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
@@ -532,5 +540,6 @@ export const init = ({IDL}) => {
532
540
  controllers: IDL.Vec(IDL.Principal),
533
541
  storage: IDL.Opt(InitStorageArgs)
534
542
  });
543
+
535
544
  return [InitSatelliteArgs];
536
545
  };
@@ -1,4 +1,11 @@
1
- // @ts-ignore
1
+ /* eslint-disable */
2
+
3
+ // @ts-nocheck
4
+
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
6
+ // You should NOT make any changes in this file as it will be overwritten.
7
+ // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
+
2
9
  export const idlFactory = ({IDL}) => {
3
10
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
4
11
  const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
@@ -433,6 +440,7 @@ export const idlFactory = ({IDL}) => {
433
440
  order_id: IDL.Opt(IDL.Nat)
434
441
  });
435
442
  const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
443
+
436
444
  return IDL.Service({
437
445
  authenticate: IDL.Func([AuthenticationArgs], [AuthenticateResultResponse], []),
438
446
  commit_asset_upload: IDL.Func([CommitBatch], [], []),
@@ -524,7 +532,7 @@ export const idlFactory = ({IDL}) => {
524
532
  upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
525
533
  });
526
534
  };
527
- // @ts-ignore
535
+
528
536
  export const init = ({IDL}) => {
529
537
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
530
538
  const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
@@ -532,5 +540,6 @@ export const init = ({IDL}) => {
532
540
  controllers: IDL.Vec(IDL.Principal),
533
541
  storage: IDL.Opt(InitStorageArgs)
534
542
  });
543
+
535
544
  return [InitSatelliteArgs];
536
545
  };
@@ -1,4 +1,11 @@
1
- // @ts-ignore
1
+ /* eslint-disable */
2
+
3
+ // @ts-nocheck
4
+
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
6
+ // You should NOT make any changes in this file as it will be overwritten.
7
+ // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
+
2
9
  export const idlFactory = ({IDL}) => {
3
10
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
4
11
  const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
@@ -433,6 +440,7 @@ export const idlFactory = ({IDL}) => {
433
440
  order_id: IDL.Opt(IDL.Nat)
434
441
  });
435
442
  const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
443
+
436
444
  return IDL.Service({
437
445
  authenticate: IDL.Func([AuthenticationArgs], [AuthenticateResultResponse], []),
438
446
  commit_asset_upload: IDL.Func([CommitBatch], [], []),
@@ -524,7 +532,7 @@ export const idlFactory = ({IDL}) => {
524
532
  upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
525
533
  });
526
534
  };
527
- // @ts-ignore
535
+
528
536
  export const init = ({IDL}) => {
529
537
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
530
538
  const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
@@ -532,5 +540,6 @@ export const init = ({IDL}) => {
532
540
  controllers: IDL.Vec(IDL.Principal),
533
541
  storage: IDL.Opt(InitStorageArgs)
534
542
  });
543
+
535
544
  return [InitSatelliteArgs];
536
545
  };
@@ -1,10 +1,18 @@
1
+ /* eslint-disable */
2
+
3
+ // @ts-nocheck
4
+
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
6
+ // You should NOT make any changes in this file as it will be overwritten.
7
+ // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
+
1
9
  import type { ActorMethod } from '@icp-sdk/core/agent';
2
10
  import type { IDL } from '@icp-sdk/core/candid';
3
11
  import type { Principal } from '@icp-sdk/core/principal';
4
12
 
5
13
  export interface AssetEncodingNoContent {
6
14
  modified: bigint;
7
- sha256: Uint8Array | number[];
15
+ sha256: Uint8Array;
8
16
  total_length: bigint;
9
17
  }
10
18
  export interface AssetKey {
@@ -63,7 +71,7 @@ export interface CommitBatch {
63
71
  chunk_ids: Array<bigint>;
64
72
  }
65
73
  export interface CommitProposal {
66
- sha256: Uint8Array | number[];
74
+ sha256: Uint8Array;
67
75
  proposal_id: bigint;
68
76
  }
69
77
  export interface Config {
@@ -102,7 +110,7 @@ export interface DelRule {
102
110
  version: [] | [bigint];
103
111
  }
104
112
  export interface Delegation {
105
- pubkey: Uint8Array | number[];
113
+ pubkey: Uint8Array;
106
114
  targets: [] | [Array<Principal>];
107
115
  expiration: bigint;
108
116
  }
@@ -119,7 +127,7 @@ export interface DepositCyclesArgs {
119
127
  export interface Doc {
120
128
  updated_at: bigint;
121
129
  owner: Principal;
122
- data: Uint8Array | number[];
130
+ data: Uint8Array;
123
131
  description: [] | [string];
124
132
  created_at: bigint;
125
133
  version: [] | [bigint];
@@ -146,12 +154,12 @@ export type GetOrRefreshJwksError =
146
154
  export interface HttpRequest {
147
155
  url: string;
148
156
  method: string;
149
- body: Uint8Array | number[];
157
+ body: Uint8Array;
150
158
  headers: Array<[string, string]>;
151
159
  certificate_version: [] | [number];
152
160
  }
153
161
  export interface HttpResponse {
154
- body: Uint8Array | number[];
162
+ body: Uint8Array;
155
163
  headers: Array<[string, string]>;
156
164
  streaming_strategy: [] | [StreamingStrategy];
157
165
  status_code: number;
@@ -253,14 +261,14 @@ export interface MemorySize {
253
261
  }
254
262
  export interface OpenIdGetDelegationArgs {
255
263
  jwt: string;
256
- session_key: Uint8Array | number[];
257
- salt: Uint8Array | number[];
264
+ session_key: Uint8Array;
265
+ salt: Uint8Array;
258
266
  expiration: bigint;
259
267
  }
260
268
  export interface OpenIdPrepareDelegationArgs {
261
269
  jwt: string;
262
- session_key: Uint8Array | number[];
263
- salt: Uint8Array | number[];
270
+ session_key: Uint8Array;
271
+ salt: Uint8Array;
264
272
  }
265
273
  export type OpenIdProvider = { Google: null };
266
274
  export interface OpenIdProviderConfig {
@@ -285,13 +293,13 @@ export type PrepareDelegationError =
285
293
  | { GetOrFetchJwks: GetOrRefreshJwksError }
286
294
  | { DeriveSeedFailed: string };
287
295
  export interface PreparedDelegation {
288
- user_key: Uint8Array | number[];
296
+ user_key: Uint8Array;
289
297
  expiration: bigint;
290
298
  }
291
299
  export interface Proposal {
292
300
  status: ProposalStatus;
293
301
  updated_at: bigint;
294
- sha256: [] | [Uint8Array | number[]];
302
+ sha256: [] | [Uint8Array];
295
303
  executed_at: [] | [bigint];
296
304
  owner: Principal;
297
305
  created_at: bigint;
@@ -353,7 +361,7 @@ export interface SetDbConfig {
353
361
  max_memory_size: [] | [ConfigMaxMemorySize];
354
362
  }
355
363
  export interface SetDoc {
356
- data: Uint8Array | number[];
364
+ data: Uint8Array;
357
365
  description: [] | [string];
358
366
  version: [] | [bigint];
359
367
  }
@@ -378,7 +386,7 @@ export interface SetStorageConfig {
378
386
  redirects: [] | [Array<[string, StorageConfigRedirect]>];
379
387
  }
380
388
  export interface SignedDelegation {
381
- signature: Uint8Array | number[];
389
+ signature: Uint8Array;
382
390
  delegation: Delegation;
383
391
  }
384
392
  export interface StorageConfig {
@@ -400,12 +408,12 @@ export interface StorageConfigRedirect {
400
408
  }
401
409
  export interface StreamingCallbackHttpResponse {
402
410
  token: [] | [StreamingCallbackToken];
403
- body: Uint8Array | number[];
411
+ body: Uint8Array;
404
412
  }
405
413
  export interface StreamingCallbackToken {
406
414
  memory: Memory;
407
415
  token: [] | [string];
408
- sha256: [] | [Uint8Array | number[]];
416
+ sha256: [] | [Uint8Array];
409
417
  headers: Array<[string, string]>;
410
418
  index: bigint;
411
419
  encoding_type: string;
@@ -423,7 +431,7 @@ export type TimestampMatcher =
423
431
  | { GreaterThan: bigint }
424
432
  | { LessThan: bigint };
425
433
  export interface UploadChunk {
426
- content: Uint8Array | number[];
434
+ content: Uint8Array;
427
435
  batch_id: bigint;
428
436
  order_id: [] | [bigint];
429
437
  }
@@ -1,4 +1,11 @@
1
- // @ts-ignore
1
+ /* eslint-disable */
2
+
3
+ // @ts-nocheck
4
+
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
6
+ // You should NOT make any changes in this file as it will be overwritten.
7
+ // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
+
2
9
  export const idlFactory = ({IDL}) => {
3
10
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
4
11
  const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
@@ -433,6 +440,7 @@ export const idlFactory = ({IDL}) => {
433
440
  order_id: IDL.Opt(IDL.Nat)
434
441
  });
435
442
  const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
443
+
436
444
  return IDL.Service({
437
445
  authenticate: IDL.Func([AuthenticationArgs], [AuthenticateResultResponse], []),
438
446
  commit_asset_upload: IDL.Func([CommitBatch], [], []),
@@ -524,7 +532,7 @@ export const idlFactory = ({IDL}) => {
524
532
  upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
525
533
  });
526
534
  };
527
- // @ts-ignore
535
+
528
536
  export const init = ({IDL}) => {
529
537
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
530
538
  const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
@@ -532,5 +540,6 @@ export const init = ({IDL}) => {
532
540
  controllers: IDL.Vec(IDL.Principal),
533
541
  storage: IDL.Opt(InitStorageArgs)
534
542
  });
543
+
535
544
  return [InitSatelliteArgs];
536
545
  };
@@ -1,4 +1,11 @@
1
- // @ts-ignore
1
+ /* eslint-disable */
2
+
3
+ // @ts-nocheck
4
+
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
6
+ // You should NOT make any changes in this file as it will be overwritten.
7
+ // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
+
2
9
  export const idlFactory = ({IDL}) => {
3
10
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
4
11
  const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
@@ -433,6 +440,7 @@ export const idlFactory = ({IDL}) => {
433
440
  order_id: IDL.Opt(IDL.Nat)
434
441
  });
435
442
  const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
443
+
436
444
  return IDL.Service({
437
445
  authenticate: IDL.Func([AuthenticationArgs], [AuthenticateResultResponse], []),
438
446
  commit_asset_upload: IDL.Func([CommitBatch], [], []),
@@ -524,7 +532,7 @@ export const idlFactory = ({IDL}) => {
524
532
  upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
525
533
  });
526
534
  };
527
- // @ts-ignore
535
+
528
536
  export const init = ({IDL}) => {
529
537
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
530
538
  const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
@@ -532,5 +540,6 @@ export const init = ({IDL}) => {
532
540
  controllers: IDL.Vec(IDL.Principal),
533
541
  storage: IDL.Opt(InitStorageArgs)
534
542
  });
543
+
535
544
  return [InitSatelliteArgs];
536
545
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/ic-client",
3
- "version": "4.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Agent and actor with generated bindings for Juno on the Internet Computer",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",