@junobuild/ic-client 3.1.2 → 3.1.3-next-2025-10-14

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 (40) hide show
  1. package/actor.js +1 -1
  2. package/actor.js.map +3 -3
  3. package/actor.mjs +1 -1
  4. package/actor.mjs.map +3 -3
  5. package/declarations/console/console.did.d.ts +259 -218
  6. package/declarations/console/console.factory.certified.did.js +46 -2
  7. package/declarations/console/console.factory.did.js +46 -2
  8. package/declarations/console/console.factory.did.mjs +46 -2
  9. package/declarations/deprecated/console-0-0-14.did.d.ts +186 -186
  10. package/declarations/deprecated/console-0-0-8-patch1.did.d.ts +49 -49
  11. package/declarations/deprecated/mission_control-0-0-13.did.d.ts +173 -173
  12. package/declarations/deprecated/mission_control-0-0-14.did.d.ts +167 -167
  13. package/declarations/deprecated/mission_control-0-0-4.did.d.ts +57 -57
  14. package/declarations/deprecated/observatory-0-0-9.did.d.ts +42 -42
  15. package/declarations/deprecated/orbiter-0-0-6.did.d.ts +111 -111
  16. package/declarations/deprecated/orbiter-0-0-7.did.d.ts +116 -116
  17. package/declarations/deprecated/orbiter-0-0-8.did.d.ts +177 -177
  18. package/declarations/deprecated/orbiter-0-2-0.did.d.ts +203 -203
  19. package/declarations/deprecated/satellite-0-0-16.did.d.ts +174 -170
  20. package/declarations/deprecated/satellite-0-0-17.did.d.ts +185 -181
  21. package/declarations/deprecated/satellite-0-0-21.did.d.ts +216 -212
  22. package/declarations/deprecated/satellite-0-0-22.did.d.ts +211 -207
  23. package/declarations/deprecated/satellite-0-0-8.did.d.ts +125 -121
  24. package/declarations/deprecated/satellite-0-0-9.did.d.ts +139 -135
  25. package/declarations/mission_control/mission_control.did.d.ts +178 -169
  26. package/declarations/mission_control/mission_control.factory.certified.did.js +16 -4
  27. package/declarations/mission_control/mission_control.factory.did.js +16 -4
  28. package/declarations/observatory/observatory.did.d.ts +54 -54
  29. package/declarations/orbiter/orbiter.did.d.ts +206 -206
  30. package/declarations/orbiter/orbiter.factory.certified.did.js +7 -3
  31. package/declarations/orbiter/orbiter.factory.did.js +7 -3
  32. package/declarations/orbiter/orbiter.factory.did.mjs +7 -3
  33. package/declarations/satellite/satellite.did.d.ts +303 -285
  34. package/declarations/satellite/satellite.factory.certified.did.js +21 -2
  35. package/declarations/satellite/satellite.factory.did.js +21 -2
  36. package/declarations/satellite/satellite.factory.did.mjs +21 -2
  37. package/declarations/sputnik/sputnik.did.d.ts +303 -285
  38. package/declarations/sputnik/sputnik.factory.certified.did.js +21 -2
  39. package/declarations/sputnik/sputnik.factory.did.js +21 -2
  40. package/package.json +7 -7
@@ -1,5 +1,11 @@
1
1
  // @ts-ignore
2
2
  export const idlFactory = ({IDL}) => {
3
+ const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
4
+ const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
5
+ const InitSatelliteArgs = IDL.Record({
6
+ controllers: IDL.Vec(IDL.Principal),
7
+ storage: IDL.Opt(InitStorageArgs)
8
+ });
3
9
  const CommitBatch = IDL.Record({
4
10
  batch_id: IDL.Nat,
5
11
  headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
@@ -83,6 +89,11 @@ export const idlFactory = ({IDL}) => {
83
89
  created_at: IDL.Nat64,
84
90
  version: IDL.Opt(IDL.Nat64)
85
91
  });
92
+ const OpenIdProvider = IDL.Variant({Google: IDL.Null});
93
+ const OpenIdProviderConfig = IDL.Record({client_id: IDL.Text});
94
+ const AuthenticationConfigOpenId = IDL.Record({
95
+ providers: IDL.Vec(IDL.Tuple(OpenIdProvider, OpenIdProviderConfig))
96
+ });
86
97
  const AuthenticationConfigInternetIdentity = IDL.Record({
87
98
  derivation_origin: IDL.Opt(IDL.Text),
88
99
  external_alternative_origins: IDL.Opt(IDL.Vec(IDL.Text))
@@ -92,6 +103,7 @@ export const idlFactory = ({IDL}) => {
92
103
  });
93
104
  const AuthenticationConfig = IDL.Record({
94
105
  updated_at: IDL.Opt(IDL.Nat64),
106
+ openid: IDL.Opt(AuthenticationConfigOpenId),
95
107
  created_at: IDL.Opt(IDL.Nat64),
96
108
  version: IDL.Opt(IDL.Nat64),
97
109
  internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
@@ -174,7 +186,6 @@ export const idlFactory = ({IDL}) => {
174
186
  version: IDL.Opt(IDL.Nat64),
175
187
  proposal_type: ProposalType
176
188
  });
177
- const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
178
189
  const Permission = IDL.Variant({
179
190
  Controllers: IDL.Null,
180
191
  Private: IDL.Null,
@@ -283,6 +294,7 @@ export const idlFactory = ({IDL}) => {
283
294
  });
284
295
  const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
285
296
  const SetAuthenticationConfig = IDL.Record({
297
+ openid: IDL.Opt(AuthenticationConfigOpenId),
286
298
  version: IDL.Opt(IDL.Nat64),
287
299
  internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
288
300
  rules: IDL.Opt(AuthenticationRules)
@@ -415,11 +427,18 @@ export const idlFactory = ({IDL}) => {
415
427
  set_rule: IDL.Func([CollectionType, IDL.Text, SetRule], [Rule], []),
416
428
  set_storage_config: IDL.Func([SetStorageConfig], [StorageConfig], []),
417
429
  submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
430
+ switch_storage_system_memory: IDL.Func([], [], []),
418
431
  upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []),
419
432
  upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
420
433
  });
421
434
  };
422
435
  // @ts-ignore
423
436
  export const init = ({IDL}) => {
424
- return [];
437
+ const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
438
+ const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
439
+ const InitSatelliteArgs = IDL.Record({
440
+ controllers: IDL.Vec(IDL.Principal),
441
+ storage: IDL.Opt(InitStorageArgs)
442
+ });
443
+ return [InitSatelliteArgs];
425
444
  };
@@ -1,5 +1,11 @@
1
1
  // @ts-ignore
2
2
  export const idlFactory = ({IDL}) => {
3
+ const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
4
+ const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
5
+ const InitSatelliteArgs = IDL.Record({
6
+ controllers: IDL.Vec(IDL.Principal),
7
+ storage: IDL.Opt(InitStorageArgs)
8
+ });
3
9
  const CommitBatch = IDL.Record({
4
10
  batch_id: IDL.Nat,
5
11
  headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
@@ -83,6 +89,11 @@ export const idlFactory = ({IDL}) => {
83
89
  created_at: IDL.Nat64,
84
90
  version: IDL.Opt(IDL.Nat64)
85
91
  });
92
+ const OpenIdProvider = IDL.Variant({Google: IDL.Null});
93
+ const OpenIdProviderConfig = IDL.Record({client_id: IDL.Text});
94
+ const AuthenticationConfigOpenId = IDL.Record({
95
+ providers: IDL.Vec(IDL.Tuple(OpenIdProvider, OpenIdProviderConfig))
96
+ });
86
97
  const AuthenticationConfigInternetIdentity = IDL.Record({
87
98
  derivation_origin: IDL.Opt(IDL.Text),
88
99
  external_alternative_origins: IDL.Opt(IDL.Vec(IDL.Text))
@@ -92,6 +103,7 @@ export const idlFactory = ({IDL}) => {
92
103
  });
93
104
  const AuthenticationConfig = IDL.Record({
94
105
  updated_at: IDL.Opt(IDL.Nat64),
106
+ openid: IDL.Opt(AuthenticationConfigOpenId),
95
107
  created_at: IDL.Opt(IDL.Nat64),
96
108
  version: IDL.Opt(IDL.Nat64),
97
109
  internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
@@ -174,7 +186,6 @@ export const idlFactory = ({IDL}) => {
174
186
  version: IDL.Opt(IDL.Nat64),
175
187
  proposal_type: ProposalType
176
188
  });
177
- const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
178
189
  const Permission = IDL.Variant({
179
190
  Controllers: IDL.Null,
180
191
  Private: IDL.Null,
@@ -283,6 +294,7 @@ export const idlFactory = ({IDL}) => {
283
294
  });
284
295
  const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
285
296
  const SetAuthenticationConfig = IDL.Record({
297
+ openid: IDL.Opt(AuthenticationConfigOpenId),
286
298
  version: IDL.Opt(IDL.Nat64),
287
299
  internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
288
300
  rules: IDL.Opt(AuthenticationRules)
@@ -415,11 +427,18 @@ export const idlFactory = ({IDL}) => {
415
427
  set_rule: IDL.Func([CollectionType, IDL.Text, SetRule], [Rule], []),
416
428
  set_storage_config: IDL.Func([SetStorageConfig], [StorageConfig], []),
417
429
  submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
430
+ switch_storage_system_memory: IDL.Func([], [], []),
418
431
  upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []),
419
432
  upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
420
433
  });
421
434
  };
422
435
  // @ts-ignore
423
436
  export const init = ({IDL}) => {
424
- return [];
437
+ const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
438
+ const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
439
+ const InitSatelliteArgs = IDL.Record({
440
+ controllers: IDL.Vec(IDL.Principal),
441
+ storage: IDL.Opt(InitStorageArgs)
442
+ });
443
+ return [InitSatelliteArgs];
425
444
  };
@@ -1,5 +1,11 @@
1
1
  // @ts-ignore
2
2
  export const idlFactory = ({IDL}) => {
3
+ const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
4
+ const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
5
+ const InitSatelliteArgs = IDL.Record({
6
+ controllers: IDL.Vec(IDL.Principal),
7
+ storage: IDL.Opt(InitStorageArgs)
8
+ });
3
9
  const CommitBatch = IDL.Record({
4
10
  batch_id: IDL.Nat,
5
11
  headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
@@ -83,6 +89,11 @@ export const idlFactory = ({IDL}) => {
83
89
  created_at: IDL.Nat64,
84
90
  version: IDL.Opt(IDL.Nat64)
85
91
  });
92
+ const OpenIdProvider = IDL.Variant({Google: IDL.Null});
93
+ const OpenIdProviderConfig = IDL.Record({client_id: IDL.Text});
94
+ const AuthenticationConfigOpenId = IDL.Record({
95
+ providers: IDL.Vec(IDL.Tuple(OpenIdProvider, OpenIdProviderConfig))
96
+ });
86
97
  const AuthenticationConfigInternetIdentity = IDL.Record({
87
98
  derivation_origin: IDL.Opt(IDL.Text),
88
99
  external_alternative_origins: IDL.Opt(IDL.Vec(IDL.Text))
@@ -92,6 +103,7 @@ export const idlFactory = ({IDL}) => {
92
103
  });
93
104
  const AuthenticationConfig = IDL.Record({
94
105
  updated_at: IDL.Opt(IDL.Nat64),
106
+ openid: IDL.Opt(AuthenticationConfigOpenId),
95
107
  created_at: IDL.Opt(IDL.Nat64),
96
108
  version: IDL.Opt(IDL.Nat64),
97
109
  internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
@@ -174,7 +186,6 @@ export const idlFactory = ({IDL}) => {
174
186
  version: IDL.Opt(IDL.Nat64),
175
187
  proposal_type: ProposalType
176
188
  });
177
- const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
178
189
  const Permission = IDL.Variant({
179
190
  Controllers: IDL.Null,
180
191
  Private: IDL.Null,
@@ -283,6 +294,7 @@ export const idlFactory = ({IDL}) => {
283
294
  });
284
295
  const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
285
296
  const SetAuthenticationConfig = IDL.Record({
297
+ openid: IDL.Opt(AuthenticationConfigOpenId),
286
298
  version: IDL.Opt(IDL.Nat64),
287
299
  internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
288
300
  rules: IDL.Opt(AuthenticationRules)
@@ -415,11 +427,18 @@ export const idlFactory = ({IDL}) => {
415
427
  set_rule: IDL.Func([CollectionType, IDL.Text, SetRule], [Rule], []),
416
428
  set_storage_config: IDL.Func([SetStorageConfig], [StorageConfig], []),
417
429
  submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
430
+ switch_storage_system_memory: IDL.Func([], [], []),
418
431
  upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []),
419
432
  upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
420
433
  });
421
434
  };
422
435
  // @ts-ignore
423
436
  export const init = ({IDL}) => {
424
- return [];
437
+ const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
438
+ const InitStorageArgs = IDL.Record({system_memory: IDL.Opt(Memory)});
439
+ const InitSatelliteArgs = IDL.Record({
440
+ controllers: IDL.Vec(IDL.Principal),
441
+ storage: IDL.Opt(InitStorageArgs)
442
+ });
443
+ return [InitSatelliteArgs];
425
444
  };