@junobuild/admin 0.0.48-next-2024-05-17.4 → 0.0.49

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.
@@ -2,20 +2,55 @@ import { Principal } from '@dfinity/principal';
2
2
  import type { Controller } from '../../declarations/mission_control/mission_control.did';
3
3
  import type { MissionControlParameters } from '../types/actor.types';
4
4
  import type { SetControllerParams } from '../types/controllers.types';
5
+ /**
6
+ * Retrieves the version of Mission Control.
7
+ * @param {Object} params - The parameters for Mission Control.
8
+ * @param {MissionControlParameters} params.missionControl - The Mission Control parameters.
9
+ * @returns {Promise<string>} A promise that resolves to the version of Mission Control.
10
+ */
5
11
  export declare const missionControlVersion: (params: {
6
12
  missionControl: MissionControlParameters;
7
13
  }) => Promise<string>;
14
+ /**
15
+ * Upgrades the Mission Control with the provided WASM module.
16
+ * @param {Object} params - The parameters for upgrading Mission Control.
17
+ * @param {MissionControlParameters} params.missionControl - The Mission Control parameters.
18
+ * @param {Uint8Array} params.wasm_module - The WASM module for the upgrade.
19
+ * @throws Will throw an error if no mission control principal is defined.
20
+ * @returns {Promise<void>} A promise that resolves when the upgrade is complete.
21
+ */
8
22
  export declare const upgradeMissionControl: ({ missionControl, wasm_module }: {
9
23
  missionControl: MissionControlParameters;
10
24
  wasm_module: Uint8Array;
11
25
  }) => Promise<void>;
26
+ /**
27
+ * Sets the controller for the specified satellites.
28
+ * @param {Object} params - The parameters for setting the satellites controller.
29
+ * @param {MissionControlParameters} params.missionControl - The Mission Control parameters.
30
+ * @param {Principal[]} params.satelliteIds - The IDs of the satellites.
31
+ * @param {SetControllerParams} params - Additional parameters for setting the controller.
32
+ * @returns {Promise<void>} A promise that resolves when the controller is set.
33
+ */
12
34
  export declare const setSatellitesController: ({ controllerId, profile, ...rest }: {
13
35
  missionControl: MissionControlParameters;
14
36
  satelliteIds: Principal[];
15
- } & SetControllerParams) => Promise<undefined>;
37
+ } & SetControllerParams) => Promise<void>;
38
+ /**
39
+ * Sets the controller for Mission Control.
40
+ * @param {Object} params - The parameters for setting the Mission Control controller.
41
+ * @param {MissionControlParameters} params.missionControl - The Mission Control parameters.
42
+ * @param {SetControllerParams} params - Additional parameters for setting the controller.
43
+ * @returns {Promise<void>} A promise that resolves when the controller is set.
44
+ */
16
45
  export declare const setMissionControlController: ({ controllerId, profile, ...rest }: {
17
46
  missionControl: MissionControlParameters;
18
- } & SetControllerParams) => Promise<undefined>;
47
+ } & SetControllerParams) => Promise<void>;
48
+ /**
49
+ * Lists the controllers of Mission Control.
50
+ * @param {Object} params - The parameters for listing the controllers.
51
+ * @param {MissionControlParameters} params.missionControl - The Mission Control parameters.
52
+ * @returns {Promise<[Principal, Controller][]>} A promise that resolves to a list of controllers.
53
+ */
19
54
  export declare const listMissionControlControllers: (params: {
20
55
  missionControl: MissionControlParameters;
21
56
  }) => Promise<[Principal, Controller][]>;
@@ -2,17 +2,44 @@ import { Principal } from '@dfinity/principal';
2
2
  import type { Controller } from '../../declarations/mission_control/mission_control.did';
3
3
  import type { MemorySize } from '../../declarations/orbiter/orbiter.did';
4
4
  import type { OrbiterParameters } from '../types/actor.types';
5
+ /**
6
+ * Retrieves the version of the Orbiter.
7
+ * @param {Object} params - The parameters for the Orbiter.
8
+ * @param {OrbiterParameters} params.orbiter - The Orbiter parameters.
9
+ * @returns {Promise<string>} A promise that resolves to the version of the Orbiter.
10
+ */
5
11
  export declare const orbiterVersion: (params: {
6
12
  orbiter: OrbiterParameters;
7
13
  }) => Promise<string>;
14
+ /**
15
+ * Upgrades the Orbiter with the provided WASM module.
16
+ * @param {Object} params - The parameters for upgrading the Orbiter.
17
+ * @param {OrbiterParameters} params.orbiter - The Orbiter parameters.
18
+ * @param {Uint8Array} params.wasm_module - The WASM module for the upgrade.
19
+ * @param {boolean} [params.reset=false] - Whether to reset the Orbiter (reinstall) instead of upgrading.
20
+ * @throws Will throw an error if no orbiter principal is defined.
21
+ * @returns {Promise<void>} A promise that resolves when the upgrade is complete.
22
+ */
8
23
  export declare const upgradeOrbiter: ({ orbiter, wasm_module, reset }: {
9
24
  orbiter: OrbiterParameters;
10
25
  wasm_module: Uint8Array;
11
26
  reset?: boolean;
12
27
  }) => Promise<void>;
28
+ /**
29
+ * Retrieves the memory size of the Orbiter.
30
+ * @param {Object} params - The parameters for the Orbiter.
31
+ * @param {OrbiterParameters} params.orbiter - The Orbiter parameters.
32
+ * @returns {Promise<MemorySize>} A promise that resolves to the memory size of the Orbiter.
33
+ */
13
34
  export declare const orbiterMemorySize: (params: {
14
35
  orbiter: OrbiterParameters;
15
36
  }) => Promise<MemorySize>;
37
+ /**
38
+ * Lists the controllers of the Orbiter.
39
+ * @param {Object} params - The parameters for listing the controllers.
40
+ * @param {OrbiterParameters} params.orbiter - The Orbiter parameters.
41
+ * @returns {Promise<[Principal, Controller][]>} A promise that resolves to a list of controllers.
42
+ */
16
43
  export declare const listOrbiterControllers: (params: {
17
44
  orbiter: OrbiterParameters;
18
45
  }) => Promise<[Principal, Controller][]>;
@@ -1,3 +1,11 @@
1
+ /**
2
+ * Checks if the selected version can be upgraded from the current version.
3
+ * @param {Object} params - The parameters for the version check.
4
+ * @param {string} params.currentVersion - The current version.
5
+ * @param {string} params.selectedVersion - The selected version.
6
+ * @returns {Object} An object indicating whether the upgrade can proceed.
7
+ * @returns {boolean} returns.canUpgrade - Whether the selected version can be upgraded from the current version.
8
+ */
1
9
  export declare const checkUpgradeVersion: ({ currentVersion, selectedVersion }: {
2
10
  currentVersion: string;
3
11
  selectedVersion: string;
@@ -4,35 +4,104 @@ import type { Controller, MemorySize, SetControllersArgs } from '../../declarati
4
4
  import type { SatelliteParameters } from '../types/actor.types';
5
5
  import type { BuildType } from '../types/build.types';
6
6
  import type { CustomDomain } from '../types/customdomain.types';
7
+ /**
8
+ * Sets the configuration for a satellite.
9
+ * @param {Object} params - The parameters for setting the configuration.
10
+ * @param {Object} params.config - The satellite configuration.
11
+ * @param {Object} params.config.storage - The storage configuration.
12
+ * @param {Array<StorageConfigHeader>} params.config.storage.headers - The headers configuration.
13
+ * @param {Array<StorageConfigRewrite>} params.config.storage.rewrites - The rewrites configuration.
14
+ * @param {Array<StorageConfigRedirect>} params.config.storage.redirects - The redirects configuration.
15
+ * @param {string} params.config.storage.iframe - The iframe configuration.
16
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
17
+ * @returns {Promise<void>} A promise that resolves when the configuration is set.
18
+ */
7
19
  export declare const setConfig: ({ config: { storage: { headers: configHeaders, rewrites: configRewrites, redirects: configRedirects, iframe: configIFrame } }, satellite }: {
8
20
  config: Required<Pick<SatelliteConfig, 'storage'>>;
9
21
  satellite: SatelliteParameters;
10
22
  }) => Promise<void>;
23
+ /**
24
+ * Sets the authentication configuration for a satellite.
25
+ * @param {Object} params - The parameters for setting the authentication configuration.
26
+ * @param {Object} params.config - The satellite configuration.
27
+ * @param {Object} params.config.authentication - The authentication configuration.
28
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
29
+ * @returns {Promise<void>} A promise that resolves when the authentication configuration is set.
30
+ */
11
31
  export declare const setAuthConfig: ({ config: { authentication: { internetIdentity } }, ...rest }: {
12
32
  config: Required<Pick<SatelliteConfig, 'authentication'>>;
13
33
  satellite: SatelliteParameters;
14
34
  }) => Promise<void>;
35
+ /**
36
+ * Gets the authentication configuration for a satellite.
37
+ * @param {Object} params - The parameters for getting the authentication configuration.
38
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
39
+ * @returns {Promise<AuthenticationConfig | undefined>} A promise that resolves to the authentication configuration or undefined if not found.
40
+ */
15
41
  export declare const getAuthConfig: ({ satellite }: {
16
42
  satellite: SatelliteParameters;
17
43
  }) => Promise<AuthenticationConfig | undefined>;
44
+ /**
45
+ * Lists the rules for a satellite.
46
+ * @param {Object} params - The parameters for listing the rules.
47
+ * @param {RulesType} params.type - The type of rules to list.
48
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
49
+ * @returns {Promise<Rule[]>} A promise that resolves to an array of rules.
50
+ */
18
51
  export declare const listRules: ({ type, satellite }: {
19
52
  type: RulesType;
20
53
  satellite: SatelliteParameters;
21
54
  }) => Promise<Rule[]>;
55
+ /**
56
+ * Sets a rule for a satellite.
57
+ * @param {Object} params - The parameters for setting the rule.
58
+ * @param {Rule} params.rule - The rule to set.
59
+ * @param {RulesType} params.type - The type of rule.
60
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
61
+ * @returns {Promise<void>} A promise that resolves when the rule is set.
62
+ */
22
63
  export declare const setRule: ({ rule: { collection, ...rest }, type, satellite }: {
23
64
  rule: Rule;
24
65
  type: RulesType;
25
66
  satellite: SatelliteParameters;
26
67
  }) => Promise<void>;
68
+ /**
69
+ * Retrieves the version of the satellite.
70
+ * @param {Object} params - The parameters for retrieving the version.
71
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
72
+ * @returns {Promise<string>} A promise that resolves to the version of the satellite.
73
+ */
27
74
  export declare const satelliteVersion: (params: {
28
75
  satellite: SatelliteParameters;
29
76
  }) => Promise<string>;
77
+ /**
78
+ * Retrieves the build version of the satellite.
79
+ * @param {Object} params - The parameters for retrieving the build version.
80
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
81
+ * @returns {Promise<string>} A promise that resolves to the build version of the satellite.
82
+ */
30
83
  export declare const satelliteBuildVersion: (params: {
31
84
  satellite: SatelliteParameters;
32
85
  }) => Promise<string>;
86
+ /**
87
+ * Retrieves the build type of the satellite.
88
+ * @param {Object} params - The parameters for retrieving the build type.
89
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
90
+ * @returns {Promise<BuildType | undefined>} A promise that resolves to the build type of the satellite or undefined if not found.
91
+ */
33
92
  export declare const satelliteBuildType: ({ satellite: { satelliteId, ...rest } }: {
34
93
  satellite: SatelliteParameters;
35
94
  }) => Promise<BuildType | undefined>;
95
+ /**
96
+ * Upgrades the satellite with the provided WASM module.
97
+ * @param {Object} params - The parameters for upgrading the satellite.
98
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
99
+ * @param {Uint8Array} params.wasm_module - The WASM module for the upgrade.
100
+ * @param {boolean} params.deprecated - Whether the upgrade is deprecated.
101
+ * @param {boolean} params.deprecatedNoScope - Whether the upgrade is deprecated with no scope.
102
+ * @param {boolean} [params.reset=false] - Whether to reset the satellite (reinstall) instead of upgrading.
103
+ * @returns {Promise<void>} A promise that resolves when the upgrade is complete.
104
+ */
36
105
  export declare const upgradeSatellite: ({ satellite, wasm_module, deprecated, deprecatedNoScope, reset }: {
37
106
  satellite: SatelliteParameters;
38
107
  wasm_module: Uint8Array;
@@ -40,36 +109,97 @@ export declare const upgradeSatellite: ({ satellite, wasm_module, deprecated, de
40
109
  deprecatedNoScope: boolean;
41
110
  reset?: boolean;
42
111
  }) => Promise<void>;
112
+ /**
113
+ * Lists the custom domains for a satellite.
114
+ * @param {Object} params - The parameters for listing the custom domains.
115
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
116
+ * @returns {Promise<CustomDomain[]>} A promise that resolves to an array of custom domains.
117
+ */
43
118
  export declare const listCustomDomains: ({ satellite }: {
44
119
  satellite: SatelliteParameters;
45
120
  }) => Promise<CustomDomain[]>;
121
+ /**
122
+ * Sets the custom domains for a satellite.
123
+ * @param {Object} params - The parameters for setting the custom domains.
124
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
125
+ * @param {CustomDomain[]} params.domains - The custom domains to set.
126
+ * @returns {Promise<void[]>} A promise that resolves when the custom domains are set.
127
+ */
46
128
  export declare const setCustomDomains: ({ satellite, domains }: {
47
129
  satellite: SatelliteParameters;
48
130
  domains: CustomDomain[];
49
131
  }) => Promise<void[]>;
132
+ /**
133
+ * Retrieves the memory size of a satellite.
134
+ * @param {Object} params - The parameters for retrieving the memory size.
135
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
136
+ * @returns {Promise<MemorySize>} A promise that resolves to the memory size of the satellite.
137
+ */
50
138
  export declare const satelliteMemorySize: (params: {
51
139
  satellite: SatelliteParameters;
52
140
  }) => Promise<MemorySize>;
141
+ /**
142
+ * Counts the documents in a collection.
143
+ * @param {Object} params - The parameters for counting the documents.
144
+ * @param {string} params.collection - The name of the collection.
145
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
146
+ * @returns {Promise<bigint>} A promise that resolves to the number of documents in the collection.
147
+ */
53
148
  export declare const countDocs: (params: {
54
149
  collection: string;
55
150
  satellite: SatelliteParameters;
56
151
  }) => Promise<bigint>;
152
+ /**
153
+ * Deletes the documents in a collection.
154
+ * @param {Object} params - The parameters for deleting the documents.
155
+ * @param {string} params.collection - The name of the collection.
156
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
157
+ * @returns {Promise<void>} A promise that resolves when the documents are deleted.
158
+ */
57
159
  export declare const deleteDocs: (params: {
58
160
  collection: string;
59
161
  satellite: SatelliteParameters;
60
162
  }) => Promise<void>;
163
+ /**
164
+ * Counts the assets in a collection.
165
+ * @param {Object} params - The parameters for counting the assets.
166
+ * @param {string} params.collection - The name of the collection.
167
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
168
+ * @returns {Promise<bigint>} A promise that resolves to the number of assets in the collection.
169
+ */
61
170
  export declare const countAssets: (params: {
62
171
  collection: string;
63
172
  satellite: SatelliteParameters;
64
173
  }) => Promise<bigint>;
174
+ /**
175
+ * Deletes the assets in a collection.
176
+ * @param {Object} params - The parameters for deleting the assets.
177
+ * @param {string} params.collection - The name of the collection.
178
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
179
+ * @returns {Promise<void>} A promise that resolves when the assets are deleted.
180
+ */
65
181
  export declare const deleteAssets: (params: {
66
182
  collection: string;
67
183
  satellite: SatelliteParameters;
68
184
  }) => Promise<void>;
185
+ /**
186
+ * Lists the controllers of a satellite.
187
+ * @param {Object} params - The parameters for listing the controllers.
188
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
189
+ * @param {boolean} [params.deprecatedNoScope] - Whether to list deprecated no-scope controllers.
190
+ * @returns {Promise<[Principal, Controller][]>} A promise that resolves to a list of controllers.
191
+ */
69
192
  export declare const listSatelliteControllers: ({ deprecatedNoScope, ...params }: {
70
193
  satellite: SatelliteParameters;
71
194
  deprecatedNoScope?: boolean;
72
195
  }) => Promise<[Principal, Controller][]>;
196
+ /**
197
+ * Sets the controllers of a satellite.
198
+ * @param {Object} params - The parameters for setting the controllers.
199
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
200
+ * @param {SetControllersArgs} params.args - The arguments for setting the controllers.
201
+ * @returns {Promise<[Principal, Controller][]>} A promise that resolves to a list of controllers.
202
+ */
73
203
  export declare const setSatelliteControllers: (params: {
74
204
  satellite: SatelliteParameters;
75
205
  args: SetControllersArgs;
@@ -1,18 +1,76 @@
1
1
  import type { Identity } from '@dfinity/agent';
2
+ /**
3
+ * Represents the parameters for an actor.
4
+ * @interface
5
+ */
2
6
  export interface ActorParameters {
7
+ /**
8
+ * The identity associated with the actor.
9
+ * @type {Identity}
10
+ */
3
11
  identity: Identity;
12
+ /**
13
+ * A custom fetch function to use for network requests. Useful in NodeJS context.
14
+ * @type {typeof fetch}
15
+ * @optional
16
+ */
4
17
  fetch?: typeof fetch;
18
+ /**
19
+ * Specifies whether the actor is calling the local development Docker container or provides the container URL.
20
+ * @type {boolean | string}
21
+ * @optional
22
+ */
5
23
  container?: boolean | string;
6
24
  }
25
+ /**
26
+ * Represents the parameters for a satellite actor.
27
+ * @interface
28
+ * @extends {ActorParameters}
29
+ */
7
30
  export interface SatelliteParameters extends ActorParameters {
31
+ /**
32
+ * The unique identifier for the satellite.
33
+ * @type {string}
34
+ * @optional
35
+ */
8
36
  satelliteId?: string;
9
37
  }
38
+ /**
39
+ * Represents the parameters for a Mission Control actor.
40
+ * @interface
41
+ * @extends {ActorParameters}
42
+ */
10
43
  export interface MissionControlParameters extends ActorParameters {
44
+ /**
45
+ * The unique identifier for Mission Control.
46
+ * @type {string}
47
+ * @optional
48
+ */
11
49
  missionControlId?: string;
12
50
  }
51
+ /**
52
+ * Represents the parameters for a Console actor.
53
+ * @interface
54
+ * @extends {ActorParameters}
55
+ */
13
56
  export interface ConsoleParameters extends ActorParameters {
57
+ /**
58
+ * The unique identifier for the console.
59
+ * @type {string}
60
+ * @optional
61
+ */
14
62
  consoleId?: string;
15
63
  }
64
+ /**
65
+ * Represents the parameters for an Orbiter actor.
66
+ * @interface
67
+ * @extends {ActorParameters}
68
+ */
16
69
  export interface OrbiterParameters extends ActorParameters {
70
+ /**
71
+ * The unique identifier for the Orbiter.
72
+ * @type {string}
73
+ * @optional
74
+ */
17
75
  orbiterId?: string;
18
76
  }
@@ -1 +1,5 @@
1
+ /**
2
+ * Represents the type of build.
3
+ * @typedef {'stock' | 'extended'} BuildType
4
+ */
1
5
  export type BuildType = 'stock' | 'extended';
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Represents the parameters for setting a controller.
3
+ * @typedef {Object} SetControllerParams
4
+ * @property {string} controllerId - The ID of the controller.
5
+ * @property {string | null | undefined} profile - The profile of the controller.
6
+ */
1
7
  export type SetControllerParams = {
2
8
  controllerId: string;
3
9
  profile: string | null | undefined;
@@ -1,6 +1,27 @@
1
+ /**
2
+ * Represents a custom domain configuration.
3
+ * @interface
4
+ */
1
5
  export interface CustomDomain {
6
+ /**
7
+ * The custom domain name.
8
+ * @type {string}
9
+ */
2
10
  domain: string;
11
+ /**
12
+ * The boundary nodes ID associated with the custom domain.
13
+ * @type {string}
14
+ * @optional
15
+ */
3
16
  bn_id?: string;
17
+ /**
18
+ * The timestamp when the custom domain was last updated.
19
+ * @type {bigint}
20
+ */
4
21
  updated_at: bigint;
22
+ /**
23
+ * The timestamp when the custom domain was created.
24
+ * @type {bigint}
25
+ */
5
26
  created_at: bigint;
6
27
  }
@@ -1,4 +1,12 @@
1
1
  import type { canister_id, install_code_args, wasm_module } from '../../declarations/ic/ic.did';
2
+ /**
3
+ * Represents the parameters for installing code on a canister.
4
+ * @typedef {Object} InstallCodeParams
5
+ * @property {Uint8Array} arg - The argument to pass to the installation.
6
+ * @property {wasm_module} wasm_module - The WebAssembly module to install.
7
+ * @property {canister_id} canister_id - The ID of the canister.
8
+ * @property {install_code_args['mode']} mode - The mode of the installation.
9
+ */
2
10
  export type InstallCodeParams = {
3
11
  arg: Uint8Array;
4
12
  wasm_module: wasm_module;
@@ -1,14 +1,62 @@
1
+ /**
2
+ * Represents metadata for a release.
3
+ * @interface
4
+ */
1
5
  export interface ReleaseMetadata {
6
+ /**
7
+ * The tag of the release.
8
+ * @type {string}
9
+ */
2
10
  tag: string;
11
+ /**
12
+ * The version of the console included in the release.
13
+ * @type {string}
14
+ */
3
15
  console: string;
16
+ /**
17
+ * The version of the observatory included in the release.
18
+ * @type {string}
19
+ */
4
20
  observatory: string;
21
+ /**
22
+ * The version of the mission control included in the release.
23
+ * @type {string}
24
+ */
5
25
  mission_control: string;
26
+ /**
27
+ * The version of the satellite included in the release.
28
+ * @type {string}
29
+ */
6
30
  satellite: string;
31
+ /**
32
+ * The version of the orbiter included in the release.
33
+ * @type {string}
34
+ */
7
35
  orbiter: string;
8
36
  }
37
+ /**
38
+ * Represents metadata for multiple releases.
39
+ * @interface
40
+ */
9
41
  export interface ReleasesMetadata {
42
+ /**
43
+ * The list of mission control versions.
44
+ * @type {string[]}
45
+ */
10
46
  mission_controls: string[];
47
+ /**
48
+ * The list of satellite versions.
49
+ * @type {string[]}
50
+ */
11
51
  satellites: string[];
52
+ /**
53
+ * The list of orbiter versions.
54
+ * @type {string[]}
55
+ */
12
56
  orbiters: string[];
57
+ /**
58
+ * The list of release metadata.
59
+ * @type {ReleaseMetadata[]}
60
+ */
13
61
  releases: ReleaseMetadata[];
14
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/admin",
3
- "version": "0.0.48-next-2024-05-17.4",
3
+ "version": "0.0.49",
4
4
  "description": "A library for interfacing with admin features of Juno",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",
@@ -51,11 +51,11 @@
51
51
  ],
52
52
  "homepage": "https://juno.build",
53
53
  "peerDependencies": {
54
- "@dfinity/agent": "*",
55
- "@dfinity/identity": "*",
56
- "@dfinity/principal": "*",
54
+ "@dfinity/agent": "^1.3.0",
55
+ "@dfinity/identity": "^1.3.0",
56
+ "@dfinity/principal": "^1.3.0",
57
57
  "@junobuild/config": "*",
58
58
  "@junobuild/utils": "*",
59
- "semver": "*"
59
+ "semver": "7.*"
60
60
  }
61
- }
61
+ }