@junobuild/admin 3.3.0 → 4.0.0

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.
@@ -1,2 +1,2 @@
1
1
  import type { UpgradeCodeParams } from '../types/upgrade';
2
- export declare const upgradeChunkedCode: ({ actor, canisterId, missionControlId, wasmModule, preClearChunks: userPreClearChunks, ...rest }: UpgradeCodeParams) => Promise<void>;
2
+ export declare const upgradeChunkedCode: ({ actor, canisterId, wasmModule, preClearChunks: userPreClearChunks, ...rest }: UpgradeCodeParams) => Promise<void>;
@@ -4,7 +4,6 @@ import type { UpgradeCodeParams } from '../types/upgrade';
4
4
  * Upgrades the Orbiter with the provided WASM module.
5
5
  * @param {Object} params - The parameters for upgrading the Orbiter.
6
6
  * @param {OrbiterParameters} params.orbiter - The Orbiter parameters, including the actor and orbiter ID.
7
- * @param {Principal} [params.missionControlId] - Optional. The Mission Control ID to potentially store WASM chunks, enabling reuse across installations.
8
7
  * @param {Uint8Array} params.wasmModule - The WASM module to be installed during the upgrade.
9
8
  * @param {boolean} [params.reset=false] - Optional. Indicates whether to reset the Orbiter (reinstall) instead of performing an upgrade. Defaults to `false`.
10
9
  * @param {boolean} [params.preClearChunks] - Optional. Forces clearing existing chunks before uploading a chunked WASM module. Recommended if the WASM exceeds 2MB.
@@ -16,4 +15,4 @@ import type { UpgradeCodeParams } from '../types/upgrade';
16
15
  export declare const upgradeOrbiter: ({ orbiter, reset, ...rest }: {
17
16
  orbiter: OrbiterParameters;
18
17
  reset?: boolean;
19
- } & Pick<UpgradeCodeParams, "wasmModule" | "missionControlId" | "preClearChunks" | "takeSnapshot" | "onProgress">) => Promise<void>;
18
+ } & Pick<UpgradeCodeParams, "wasmModule" | "preClearChunks" | "takeSnapshot" | "onProgress">) => Promise<void>;
@@ -4,7 +4,6 @@ import type { UpgradeCodeParams } from '../types/upgrade';
4
4
  * Upgrades a satellite with the provided WASM module.
5
5
  * @param {Object} params - The parameters for upgrading the satellite.
6
6
  * @param {SatelliteParameters} params.satellite - The satellite parameters, including the actor and satellite ID.
7
- * @param {Principal} [params.missionControlId] - Optional. The Mission Control ID to potentially store WASM chunks, enabling reuse across installations.
8
7
  * @param {Uint8Array} params.wasmModule - The WASM module to be installed during the upgrade.
9
8
  * @param {boolean} params.deprecated - Indicates whether the upgrade is deprecated.
10
9
  * @param {boolean} params.deprecatedNoScope - Indicates whether the upgrade is deprecated and has no scope.
@@ -20,4 +19,4 @@ export declare const upgradeSatellite: ({ satellite, deprecated, deprecatedNoSco
20
19
  deprecated: boolean;
21
20
  deprecatedNoScope: boolean;
22
21
  reset?: boolean;
23
- } & Pick<UpgradeCodeParams, "wasmModule" | "missionControlId" | "preClearChunks" | "takeSnapshot" | "onProgress">) => Promise<void>;
22
+ } & Pick<UpgradeCodeParams, "wasmModule" | "preClearChunks" | "takeSnapshot" | "onProgress">) => Promise<void>;
@@ -16,7 +16,6 @@ export interface UpgradeCodeProgress {
16
16
  export interface UpgradeCodeParams {
17
17
  actor: ActorParameters;
18
18
  canisterId: Principal;
19
- missionControlId?: Principal;
20
19
  wasmModule: Uint8Array;
21
20
  arg: Uint8Array;
22
21
  mode: IcManagementDid.canister_install_mode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/admin",
3
- "version": "3.3.0",
3
+ "version": "4.0.0",
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",