@junobuild/cli 0.9.4 → 0.9.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/cli",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
4
4
  "description": "The Juno command-line interface",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",
@@ -32,8 +32,8 @@
32
32
  "@dfinity/zod-schemas": "^1.1.0",
33
33
  "@junobuild/admin": "^2.2.2",
34
34
  "@junobuild/cdn": "^1.3.2",
35
- "@junobuild/cli-tools": "^0.7.2",
36
- "@junobuild/config": "^2.1.1",
35
+ "@junobuild/cli-tools": "^0.8.0",
36
+ "@junobuild/config": "^2.2.0",
37
37
  "@junobuild/config-loader": "^0.4.5",
38
38
  "@junobuild/core": "^2.1.2",
39
39
  "@junobuild/did-tools": "^0.3.3",
@@ -99,6 +99,11 @@ type InitAssetKey = record {
99
99
  encoding_type : opt text;
100
100
  full_path : text;
101
101
  };
102
+ type InitSatelliteArgs = record {
103
+ controllers : vec principal;
104
+ storage : opt InitStorageArgs;
105
+ };
106
+ type InitStorageArgs = record { system_memory : opt Memory };
102
107
  type InitUploadResult = record { batch_id : nat };
103
108
  type ListMatcher = record {
104
109
  key : opt text;
@@ -280,7 +285,7 @@ type UploadChunk = record {
280
285
  order_id : opt nat;
281
286
  };
282
287
  type UploadChunkResult = record { chunk_id : nat };
283
- service : () -> {
288
+ service : (InitSatelliteArgs) -> {
284
289
  commit_asset_upload : (CommitBatch) -> ();
285
290
  commit_proposal : (CommitProposal) -> (null);
286
291
  commit_proposal_asset_upload : (CommitBatch) -> ();
@@ -350,6 +355,7 @@ service : () -> {
350
355
  set_rule : (CollectionType, text, SetRule) -> (Rule);
351
356
  set_storage_config : (SetStorageConfig) -> (StorageConfig);
352
357
  submit_proposal : (nat) -> (nat, Proposal);
358
+ switch_storage_system_memory : () -> ();
353
359
  upload_asset_chunk : (UploadChunk) -> (UploadChunkResult);
354
360
  upload_proposal_asset_chunk : (UploadChunk) -> (UploadChunkResult);
355
361
  }