@junobuild/cli 0.14.3 → 0.14.4
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.14.
|
|
3
|
+
"version": "0.14.4",
|
|
4
4
|
"description": "The Juno command-line interface",
|
|
5
5
|
"author": "David Dal Busco (https://daviddalbusco.com)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,39 +29,39 @@
|
|
|
29
29
|
"e2e:playwright:install": "playwright install chromium --with-deps"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@dfinity/utils": "^4.1
|
|
33
|
-
"@icp-sdk/canisters": "^3.
|
|
34
|
-
"@icp-sdk/core": "^5.
|
|
35
|
-
"@junobuild/admin": "^4.2
|
|
36
|
-
"@junobuild/cdn": "^2.
|
|
37
|
-
"@junobuild/cli-tools": "^0.
|
|
38
|
-
"@junobuild/config": "^2.15.
|
|
39
|
-
"@junobuild/config-loader": "^0.4.
|
|
40
|
-
"@junobuild/core": "^5.
|
|
41
|
-
"@junobuild/functions-tools": "^0.
|
|
42
|
-
"@junobuild/ic-client": "^8.
|
|
43
|
-
"@junobuild/schema": "^1.
|
|
44
|
-
"@junobuild/storage": "^2.
|
|
45
|
-
"@junobuild/utils": "^0.
|
|
46
|
-
"chokidar": "^
|
|
47
|
-
"conf": "^
|
|
32
|
+
"@dfinity/utils": "^4.2.1",
|
|
33
|
+
"@icp-sdk/canisters": "^3.5.2",
|
|
34
|
+
"@icp-sdk/core": "^5.2.1",
|
|
35
|
+
"@junobuild/admin": "^4.3.2",
|
|
36
|
+
"@junobuild/cdn": "^2.4.2",
|
|
37
|
+
"@junobuild/cli-tools": "^0.13.3",
|
|
38
|
+
"@junobuild/config": "^2.15.1",
|
|
39
|
+
"@junobuild/config-loader": "^0.4.10",
|
|
40
|
+
"@junobuild/core": "^5.3.1",
|
|
41
|
+
"@junobuild/functions-tools": "^0.6.2",
|
|
42
|
+
"@junobuild/ic-client": "^8.1.2",
|
|
43
|
+
"@junobuild/schema": "^1.2.1",
|
|
44
|
+
"@junobuild/storage": "^2.4.1",
|
|
45
|
+
"@junobuild/utils": "^1.0.2",
|
|
46
|
+
"chokidar": "^5.0.0",
|
|
47
|
+
"conf": "^15.1.0",
|
|
48
48
|
"open": "^11.0.0",
|
|
49
|
-
"ora": "^9.
|
|
49
|
+
"ora": "^9.3.0",
|
|
50
50
|
"portfinder": "^1.0.38",
|
|
51
51
|
"prompts": "^2.4.2",
|
|
52
|
-
"semver": "^7.7.
|
|
52
|
+
"semver": "^7.7.4",
|
|
53
53
|
"terminal-link": "^5.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@eslint/eslintrc": "^3.3.3",
|
|
57
57
|
"@eslint/js": "^9.39.2",
|
|
58
58
|
"@junobuild/emulator-playwright": "^0.0.5",
|
|
59
|
-
"@junobuild/functions": "^0.
|
|
59
|
+
"@junobuild/functions": "^0.8.2",
|
|
60
60
|
"@playwright/test": "^1.58.1",
|
|
61
61
|
"@types/node": "24.10.9",
|
|
62
62
|
"@types/prompts": "^2.4.9",
|
|
63
63
|
"@types/semver": "^7.7.1",
|
|
64
|
-
"esbuild": "^0.27.
|
|
64
|
+
"esbuild": "^0.27.4",
|
|
65
65
|
"eslint": "^9.39.2",
|
|
66
66
|
"eslint-config-love": "^149.0.0",
|
|
67
67
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -12,7 +12,7 @@ ic-cdk = "0.19.0"
|
|
|
12
12
|
ic-cdk-macros = "0.19.0"
|
|
13
13
|
serde = "1.0.225"
|
|
14
14
|
serde_cbor = "0.11.2"
|
|
15
|
-
junobuild-satellite = "0.
|
|
16
|
-
junobuild-macros = "0.
|
|
17
|
-
junobuild-utils = "0.
|
|
15
|
+
junobuild-satellite = "0.6.0"
|
|
16
|
+
junobuild-macros = "0.4.0"
|
|
17
|
+
junobuild-utils = "0.4.0"
|
|
18
18
|
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
type AccessKey = record {
|
|
2
|
+
updated_at : nat64;
|
|
3
|
+
metadata : vec record { text; text };
|
|
4
|
+
kind : opt AccessKeyKind;
|
|
5
|
+
created_at : nat64;
|
|
6
|
+
scope : AccessKeyScope;
|
|
7
|
+
expires_at : opt nat64;
|
|
8
|
+
};
|
|
9
|
+
type AccessKeyKind = variant { Emulator; Automation };
|
|
10
|
+
type AccessKeyScope = variant { Write; Admin; Submit };
|
|
1
11
|
type AssetEncodingNoContent = record {
|
|
2
12
|
modified : nat64;
|
|
3
13
|
sha256 : blob;
|
|
@@ -78,6 +88,17 @@ type AutomationController = record {
|
|
|
78
88
|
expires_at : nat64;
|
|
79
89
|
};
|
|
80
90
|
type AutomationScope = variant { Write; Submit };
|
|
91
|
+
type CertifyAssetsArgs = record {
|
|
92
|
+
cursor : CertifyAssetsCursor;
|
|
93
|
+
strategy : CertifyAssetsStrategy;
|
|
94
|
+
chunk_size : opt nat32;
|
|
95
|
+
};
|
|
96
|
+
type CertifyAssetsCursor = variant {
|
|
97
|
+
Heap : record { offset : nat64 };
|
|
98
|
+
Stable : record { key : opt AssetKey };
|
|
99
|
+
};
|
|
100
|
+
type CertifyAssetsResult = record { next_cursor : opt CertifyAssetsCursor };
|
|
101
|
+
type CertifyAssetsStrategy = variant { Append; Clear; AppendWithRouting };
|
|
81
102
|
type CollectionType = variant { Db; Storage };
|
|
82
103
|
type CommitBatch = record {
|
|
83
104
|
batch_id : nat;
|
|
@@ -92,16 +113,6 @@ type Config = record {
|
|
|
92
113
|
automation : opt AutomationConfig;
|
|
93
114
|
};
|
|
94
115
|
type ConfigMaxMemorySize = record { stable : opt nat64; heap : opt nat64 };
|
|
95
|
-
type Controller = record {
|
|
96
|
-
updated_at : nat64;
|
|
97
|
-
metadata : vec record { text; text };
|
|
98
|
-
kind : opt ControllerKind;
|
|
99
|
-
created_at : nat64;
|
|
100
|
-
scope : ControllerScope;
|
|
101
|
-
expires_at : opt nat64;
|
|
102
|
-
};
|
|
103
|
-
type ControllerKind = variant { Emulator; Automation };
|
|
104
|
-
type ControllerScope = variant { Write; Admin; Submit };
|
|
105
116
|
type CustomDomain = record {
|
|
106
117
|
updated_at : nat64;
|
|
107
118
|
created_at : nat64;
|
|
@@ -339,6 +350,12 @@ type SegmentsDeploymentOptions = record {
|
|
|
339
350
|
mission_control_version : opt text;
|
|
340
351
|
satellite_version : opt text;
|
|
341
352
|
};
|
|
353
|
+
type SetAccessKey = record {
|
|
354
|
+
metadata : vec record { text; text };
|
|
355
|
+
kind : opt AccessKeyKind;
|
|
356
|
+
scope : AccessKeyScope;
|
|
357
|
+
expires_at : opt nat64;
|
|
358
|
+
};
|
|
342
359
|
type SetAuthenticationConfig = record {
|
|
343
360
|
openid : opt AuthenticationConfigOpenId;
|
|
344
361
|
version : opt nat64;
|
|
@@ -349,14 +366,8 @@ type SetAutomationConfig = record {
|
|
|
349
366
|
openid : opt AutomationConfigOpenId;
|
|
350
367
|
version : opt nat64;
|
|
351
368
|
};
|
|
352
|
-
type SetController = record {
|
|
353
|
-
metadata : vec record { text; text };
|
|
354
|
-
kind : opt ControllerKind;
|
|
355
|
-
scope : ControllerScope;
|
|
356
|
-
expires_at : opt nat64;
|
|
357
|
-
};
|
|
358
369
|
type SetControllersArgs = record {
|
|
359
|
-
controller :
|
|
370
|
+
controller : SetAccessKey;
|
|
360
371
|
controllers : vec principal;
|
|
361
372
|
};
|
|
362
373
|
type SetDbConfig = record {
|
|
@@ -388,6 +399,11 @@ type SetStorageConfig = record {
|
|
|
388
399
|
raw_access : opt StorageConfigRawAccess;
|
|
389
400
|
redirects : opt vec record { text; StorageConfigRedirect };
|
|
390
401
|
};
|
|
402
|
+
type SetStorageConfigOptions = record { skip_certification : opt bool };
|
|
403
|
+
type SetStorageConfigWithOptions = record {
|
|
404
|
+
config : SetStorageConfig;
|
|
405
|
+
options : SetStorageConfigOptions;
|
|
406
|
+
};
|
|
391
407
|
type SignedDelegation = record { signature : blob; delegation : Delegation };
|
|
392
408
|
type StorageConfig = record {
|
|
393
409
|
iframe : opt StorageConfigIFrame;
|
|
@@ -439,6 +455,7 @@ service : (InitSatelliteArgs) -> {
|
|
|
439
455
|
authenticate_automation : (AuthenticateAutomationArgs) -> (
|
|
440
456
|
AuthenticateAutomationResultResponse,
|
|
441
457
|
);
|
|
458
|
+
certify_assets_chunk : (CertifyAssetsArgs) -> (CertifyAssetsResult);
|
|
442
459
|
commit_asset_upload : (CommitBatch) -> ();
|
|
443
460
|
commit_proposal : (CommitProposal) -> (null);
|
|
444
461
|
commit_proposal_asset_upload : (CommitBatch) -> ();
|
|
@@ -452,7 +469,7 @@ service : (InitSatelliteArgs) -> {
|
|
|
452
469
|
del_assets : (text) -> ();
|
|
453
470
|
del_controller_self : () -> ();
|
|
454
471
|
del_controllers : (DeleteControllersArgs) -> (
|
|
455
|
-
vec record { principal;
|
|
472
|
+
vec record { principal; AccessKey },
|
|
456
473
|
);
|
|
457
474
|
del_custom_domain : (text) -> ();
|
|
458
475
|
del_doc : (text, text, DelDoc) -> ();
|
|
@@ -491,7 +508,7 @@ service : (InitSatelliteArgs) -> {
|
|
|
491
508
|
vec record { text; InitUploadResult },
|
|
492
509
|
);
|
|
493
510
|
list_assets : (text, ListParams) -> (ListResults) query;
|
|
494
|
-
list_controllers : () -> (vec record { principal;
|
|
511
|
+
list_controllers : () -> (vec record { principal; AccessKey }) query;
|
|
495
512
|
list_custom_domains : () -> (vec record { text; CustomDomain }) query;
|
|
496
513
|
list_docs : (text, ListParams) -> (ListResults_1) query;
|
|
497
514
|
list_proposals : (ListProposalsParams) -> (ListProposalResults) query;
|
|
@@ -502,7 +519,7 @@ service : (InitSatelliteArgs) -> {
|
|
|
502
519
|
set_auth_config : (SetAuthenticationConfig) -> (AuthenticationConfig);
|
|
503
520
|
set_automation_config : (SetAutomationConfig) -> (AutomationConfig);
|
|
504
521
|
set_controllers : (SetControllersArgs) -> (
|
|
505
|
-
vec record { principal;
|
|
522
|
+
vec record { principal; AccessKey },
|
|
506
523
|
);
|
|
507
524
|
set_custom_domain : (text, opt text) -> ();
|
|
508
525
|
set_db_config : (SetDbConfig) -> (DbConfig);
|
|
@@ -512,6 +529,9 @@ service : (InitSatelliteArgs) -> {
|
|
|
512
529
|
);
|
|
513
530
|
set_rule : (CollectionType, text, SetRule) -> (Rule);
|
|
514
531
|
set_storage_config : (SetStorageConfig) -> (StorageConfig);
|
|
532
|
+
set_storage_config_with_options : (SetStorageConfigWithOptions) -> (
|
|
533
|
+
StorageConfig,
|
|
534
|
+
);
|
|
515
535
|
submit_proposal : (nat) -> (nat, Proposal);
|
|
516
536
|
switch_storage_system_memory : () -> ();
|
|
517
537
|
upload_asset_chunk : (UploadChunk) -> (UploadChunkResult);
|