@junobuild/ic-client 8.0.1 → 8.0.2-next-2026-03-20.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.
- 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 +18 -18
- package/declarations/console/console.factory.certified.did.js +10 -10
- package/declarations/console/console.factory.did.js +10 -10
- package/declarations/console/console.factory.did.mjs +10 -10
- package/declarations/mission_control/mission_control.did.d.ts +17 -17
- package/declarations/mission_control/mission_control.factory.certified.did.js +12 -12
- package/declarations/mission_control/mission_control.factory.did.js +12 -12
- package/declarations/observatory/observatory.did.d.ts +10 -10
- package/declarations/observatory/observatory.factory.certified.did.js +10 -10
- package/declarations/observatory/observatory.factory.did.js +10 -10
- package/declarations/observatory/observatory.factory.did.mjs +10 -10
- package/declarations/orbiter/orbiter.did.d.ts +17 -17
- package/declarations/orbiter/orbiter.factory.certified.did.js +12 -12
- package/declarations/orbiter/orbiter.factory.did.js +12 -12
- package/declarations/orbiter/orbiter.factory.did.mjs +12 -12
- package/declarations/satellite/satellite.did.d.ts +20 -20
- package/declarations/satellite/satellite.factory.certified.did.js +12 -12
- package/declarations/satellite/satellite.factory.did.js +12 -12
- package/declarations/satellite/satellite.factory.did.mjs +12 -12
- package/declarations/sputnik/sputnik.did.d.ts +20 -20
- package/declarations/sputnik/sputnik.factory.certified.did.js +12 -12
- package/declarations/sputnik/sputnik.factory.did.js +12 -12
- package/package.json +5 -5
|
@@ -10,6 +10,16 @@ import type { ActorMethod } from '@icp-sdk/core/agent';
|
|
|
10
10
|
import type { IDL } from '@icp-sdk/core/candid';
|
|
11
11
|
import type { Principal } from '@icp-sdk/core/principal';
|
|
12
12
|
|
|
13
|
+
export interface AccessKey {
|
|
14
|
+
updated_at: bigint;
|
|
15
|
+
metadata: Array<[string, string]>;
|
|
16
|
+
kind: [] | [AccessKeyKind];
|
|
17
|
+
created_at: bigint;
|
|
18
|
+
scope: AccessKeyScope;
|
|
19
|
+
expires_at: [] | [bigint];
|
|
20
|
+
}
|
|
21
|
+
export type AccessKeyKind = { Emulator: null } | { Automation: null };
|
|
22
|
+
export type AccessKeyScope = { Write: null } | { Admin: null } | { Submit: null };
|
|
13
23
|
export interface AssetEncodingNoContent {
|
|
14
24
|
modified: bigint;
|
|
15
25
|
sha256: Uint8Array;
|
|
@@ -114,16 +124,6 @@ export interface ConfigMaxMemorySize {
|
|
|
114
124
|
stable: [] | [bigint];
|
|
115
125
|
heap: [] | [bigint];
|
|
116
126
|
}
|
|
117
|
-
export interface Controller {
|
|
118
|
-
updated_at: bigint;
|
|
119
|
-
metadata: Array<[string, string]>;
|
|
120
|
-
kind: [] | [ControllerKind];
|
|
121
|
-
created_at: bigint;
|
|
122
|
-
scope: ControllerScope;
|
|
123
|
-
expires_at: [] | [bigint];
|
|
124
|
-
}
|
|
125
|
-
export type ControllerKind = { Emulator: null } | { Automation: null };
|
|
126
|
-
export type ControllerScope = { Write: null } | { Admin: null } | { Submit: null };
|
|
127
127
|
export interface CustomDomain {
|
|
128
128
|
updated_at: bigint;
|
|
129
129
|
created_at: bigint;
|
|
@@ -407,6 +407,12 @@ export interface SegmentsDeploymentOptions {
|
|
|
407
407
|
mission_control_version: [] | [string];
|
|
408
408
|
satellite_version: [] | [string];
|
|
409
409
|
}
|
|
410
|
+
export interface SetAccessKey {
|
|
411
|
+
metadata: Array<[string, string]>;
|
|
412
|
+
kind: [] | [AccessKeyKind];
|
|
413
|
+
scope: AccessKeyScope;
|
|
414
|
+
expires_at: [] | [bigint];
|
|
415
|
+
}
|
|
410
416
|
export interface SetAuthenticationConfig {
|
|
411
417
|
openid: [] | [AuthenticationConfigOpenId];
|
|
412
418
|
version: [] | [bigint];
|
|
@@ -417,14 +423,8 @@ export interface SetAutomationConfig {
|
|
|
417
423
|
openid: [] | [AutomationConfigOpenId];
|
|
418
424
|
version: [] | [bigint];
|
|
419
425
|
}
|
|
420
|
-
export interface SetController {
|
|
421
|
-
metadata: Array<[string, string]>;
|
|
422
|
-
kind: [] | [ControllerKind];
|
|
423
|
-
scope: ControllerScope;
|
|
424
|
-
expires_at: [] | [bigint];
|
|
425
|
-
}
|
|
426
426
|
export interface SetControllersArgs {
|
|
427
|
-
controller:
|
|
427
|
+
controller: SetAccessKey;
|
|
428
428
|
controllers: Array<Principal>;
|
|
429
429
|
}
|
|
430
430
|
export interface SetDbConfig {
|
|
@@ -527,7 +527,7 @@ export interface _SERVICE {
|
|
|
527
527
|
del_asset: ActorMethod<[string, string], undefined>;
|
|
528
528
|
del_assets: ActorMethod<[string], undefined>;
|
|
529
529
|
del_controller_self: ActorMethod<[], undefined>;
|
|
530
|
-
del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal,
|
|
530
|
+
del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, AccessKey]>>;
|
|
531
531
|
del_custom_domain: ActorMethod<[string], undefined>;
|
|
532
532
|
del_doc: ActorMethod<[string, string, DelDoc], undefined>;
|
|
533
533
|
del_docs: ActorMethod<[string], undefined>;
|
|
@@ -563,7 +563,7 @@ export interface _SERVICE {
|
|
|
563
563
|
Array<[string, InitUploadResult]>
|
|
564
564
|
>;
|
|
565
565
|
list_assets: ActorMethod<[string, ListParams], ListResults>;
|
|
566
|
-
list_controllers: ActorMethod<[], Array<[Principal,
|
|
566
|
+
list_controllers: ActorMethod<[], Array<[Principal, AccessKey]>>;
|
|
567
567
|
list_custom_domains: ActorMethod<[], Array<[string, CustomDomain]>>;
|
|
568
568
|
list_docs: ActorMethod<[string, ListParams], ListResults_1>;
|
|
569
569
|
list_proposals: ActorMethod<[ListProposalsParams], ListProposalResults>;
|
|
@@ -573,7 +573,7 @@ export interface _SERVICE {
|
|
|
573
573
|
set_asset_token: ActorMethod<[string, string, [] | [string]], undefined>;
|
|
574
574
|
set_auth_config: ActorMethod<[SetAuthenticationConfig], AuthenticationConfig>;
|
|
575
575
|
set_automation_config: ActorMethod<[SetAutomationConfig], AutomationConfig>;
|
|
576
|
-
set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal,
|
|
576
|
+
set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, AccessKey]>>;
|
|
577
577
|
set_custom_domain: ActorMethod<[string, [] | [string]], undefined>;
|
|
578
578
|
set_db_config: ActorMethod<[SetDbConfig], DbConfig>;
|
|
579
579
|
set_doc: ActorMethod<[string, string, SetDoc], Doc>;
|
|
@@ -151,21 +151,21 @@ export const idlFactory = ({IDL}) => {
|
|
|
151
151
|
const DeleteControllersArgs = IDL.Record({
|
|
152
152
|
controllers: IDL.Vec(IDL.Principal)
|
|
153
153
|
});
|
|
154
|
-
const
|
|
154
|
+
const AccessKeyKind = IDL.Variant({
|
|
155
155
|
Emulator: IDL.Null,
|
|
156
156
|
Automation: IDL.Null
|
|
157
157
|
});
|
|
158
|
-
const
|
|
158
|
+
const AccessKeyScope = IDL.Variant({
|
|
159
159
|
Write: IDL.Null,
|
|
160
160
|
Admin: IDL.Null,
|
|
161
161
|
Submit: IDL.Null
|
|
162
162
|
});
|
|
163
|
-
const
|
|
163
|
+
const AccessKey = IDL.Record({
|
|
164
164
|
updated_at: IDL.Nat64,
|
|
165
165
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
166
|
-
kind: IDL.Opt(
|
|
166
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
167
167
|
created_at: IDL.Nat64,
|
|
168
|
-
scope:
|
|
168
|
+
scope: AccessKeyScope,
|
|
169
169
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
170
170
|
});
|
|
171
171
|
const DelDoc = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
@@ -469,14 +469,14 @@ export const idlFactory = ({IDL}) => {
|
|
|
469
469
|
openid: IDL.Opt(AutomationConfigOpenId),
|
|
470
470
|
version: IDL.Opt(IDL.Nat64)
|
|
471
471
|
});
|
|
472
|
-
const
|
|
472
|
+
const SetAccessKey = IDL.Record({
|
|
473
473
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
474
|
-
kind: IDL.Opt(
|
|
475
|
-
scope:
|
|
474
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
475
|
+
scope: AccessKeyScope,
|
|
476
476
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
477
477
|
});
|
|
478
478
|
const SetControllersArgs = IDL.Record({
|
|
479
|
-
controller:
|
|
479
|
+
controller: SetAccessKey,
|
|
480
480
|
controllers: IDL.Vec(IDL.Principal)
|
|
481
481
|
});
|
|
482
482
|
const SetDbConfig = IDL.Record({
|
|
@@ -536,7 +536,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
536
536
|
del_controller_self: IDL.Func([], [], []),
|
|
537
537
|
del_controllers: IDL.Func(
|
|
538
538
|
[DeleteControllersArgs],
|
|
539
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
539
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
540
540
|
[]
|
|
541
541
|
),
|
|
542
542
|
del_custom_domain: IDL.Func([IDL.Text], [], []),
|
|
@@ -584,7 +584,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
584
584
|
[]
|
|
585
585
|
),
|
|
586
586
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], []),
|
|
587
|
-
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
587
|
+
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))], []),
|
|
588
588
|
list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], []),
|
|
589
589
|
list_docs: IDL.Func([IDL.Text, ListParams], [ListResults_1], []),
|
|
590
590
|
list_proposals: IDL.Func([ListProposalsParams], [ListProposalResults], []),
|
|
@@ -596,7 +596,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
596
596
|
set_automation_config: IDL.Func([SetAutomationConfig], [AutomationConfig], []),
|
|
597
597
|
set_controllers: IDL.Func(
|
|
598
598
|
[SetControllersArgs],
|
|
599
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
599
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
600
600
|
[]
|
|
601
601
|
),
|
|
602
602
|
set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
|
|
@@ -151,21 +151,21 @@ export const idlFactory = ({IDL}) => {
|
|
|
151
151
|
const DeleteControllersArgs = IDL.Record({
|
|
152
152
|
controllers: IDL.Vec(IDL.Principal)
|
|
153
153
|
});
|
|
154
|
-
const
|
|
154
|
+
const AccessKeyKind = IDL.Variant({
|
|
155
155
|
Emulator: IDL.Null,
|
|
156
156
|
Automation: IDL.Null
|
|
157
157
|
});
|
|
158
|
-
const
|
|
158
|
+
const AccessKeyScope = IDL.Variant({
|
|
159
159
|
Write: IDL.Null,
|
|
160
160
|
Admin: IDL.Null,
|
|
161
161
|
Submit: IDL.Null
|
|
162
162
|
});
|
|
163
|
-
const
|
|
163
|
+
const AccessKey = IDL.Record({
|
|
164
164
|
updated_at: IDL.Nat64,
|
|
165
165
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
166
|
-
kind: IDL.Opt(
|
|
166
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
167
167
|
created_at: IDL.Nat64,
|
|
168
|
-
scope:
|
|
168
|
+
scope: AccessKeyScope,
|
|
169
169
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
170
170
|
});
|
|
171
171
|
const DelDoc = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
@@ -469,14 +469,14 @@ export const idlFactory = ({IDL}) => {
|
|
|
469
469
|
openid: IDL.Opt(AutomationConfigOpenId),
|
|
470
470
|
version: IDL.Opt(IDL.Nat64)
|
|
471
471
|
});
|
|
472
|
-
const
|
|
472
|
+
const SetAccessKey = IDL.Record({
|
|
473
473
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
474
|
-
kind: IDL.Opt(
|
|
475
|
-
scope:
|
|
474
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
475
|
+
scope: AccessKeyScope,
|
|
476
476
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
477
477
|
});
|
|
478
478
|
const SetControllersArgs = IDL.Record({
|
|
479
|
-
controller:
|
|
479
|
+
controller: SetAccessKey,
|
|
480
480
|
controllers: IDL.Vec(IDL.Principal)
|
|
481
481
|
});
|
|
482
482
|
const SetDbConfig = IDL.Record({
|
|
@@ -536,7 +536,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
536
536
|
del_controller_self: IDL.Func([], [], []),
|
|
537
537
|
del_controllers: IDL.Func(
|
|
538
538
|
[DeleteControllersArgs],
|
|
539
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
539
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
540
540
|
[]
|
|
541
541
|
),
|
|
542
542
|
del_custom_domain: IDL.Func([IDL.Text], [], []),
|
|
@@ -584,7 +584,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
584
584
|
[]
|
|
585
585
|
),
|
|
586
586
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], ['query']),
|
|
587
|
-
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
587
|
+
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))], ['query']),
|
|
588
588
|
list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
|
|
589
589
|
list_docs: IDL.Func([IDL.Text, ListParams], [ListResults_1], ['query']),
|
|
590
590
|
list_proposals: IDL.Func([ListProposalsParams], [ListProposalResults], ['query']),
|
|
@@ -596,7 +596,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
596
596
|
set_automation_config: IDL.Func([SetAutomationConfig], [AutomationConfig], []),
|
|
597
597
|
set_controllers: IDL.Func(
|
|
598
598
|
[SetControllersArgs],
|
|
599
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
599
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
600
600
|
[]
|
|
601
601
|
),
|
|
602
602
|
set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@junobuild/ic-client",
|
|
3
|
-
"version": "8.0.1",
|
|
3
|
+
"version": "8.0.2-next-2026-03-20.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",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
],
|
|
78
78
|
"homepage": "https://juno.build",
|
|
79
79
|
"peerDependencies": {
|
|
80
|
-
"@dfinity/utils": "
|
|
81
|
-
"@icp-sdk/core": "
|
|
82
|
-
"idb-keyval": "
|
|
80
|
+
"@dfinity/utils": "*",
|
|
81
|
+
"@icp-sdk/core": "*",
|
|
82
|
+
"idb-keyval": "*"
|
|
83
83
|
}
|
|
84
|
-
}
|
|
84
|
+
}
|