@junobuild/admin 2.0.0 → 2.1.0-next-2025-08-25.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/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +2 -2
- package/dist/node/index.mjs +1 -1
- package/dist/node/index.mjs.map +2 -2
- package/dist/types/api/ic.api.d.ts +1 -1
- package/dist/types/api/mission-control.api.d.ts +1 -1
- package/dist/types/api/orbiter.api.d.ts +1 -1
- package/dist/types/api/satellite.api.d.ts +1 -1
- package/dist/types/constants/rules.constants.d.ts +1 -1
- package/dist/types/services/mission-control.controllers.services.d.ts +1 -1
- package/dist/types/services/mission-control.upgrade.services.d.ts +1 -1
- package/dist/types/services/mission-control.version.services.d.ts +1 -1
- package/dist/types/services/module.upgrade.services.d.ts +1 -1
- package/dist/types/services/orbiter.controllers.services.d.ts +1 -1
- package/dist/types/services/orbiter.memory.services.d.ts +1 -1
- package/dist/types/services/orbiter.upgrade.services.d.ts +1 -1
- package/dist/types/services/orbiter.version.services.d.ts +1 -1
- package/dist/types/services/package.services.d.ts +1 -1
- package/dist/types/services/satellite.assets.services.d.ts +1 -1
- package/dist/types/services/satellite.config.services.d.ts +1 -1
- package/dist/types/services/satellite.controllers.services.d.ts +1 -1
- package/dist/types/services/satellite.docs.services.d.ts +1 -1
- package/dist/types/services/satellite.domains.services.d.ts +1 -1
- package/dist/types/services/satellite.memory.services.d.ts +1 -1
- package/dist/types/services/satellite.rules.services.d.ts +1 -1
- package/dist/types/services/satellite.upgrade.services.d.ts +1 -1
- package/dist/types/services/satellite.version.services.d.ts +1 -1
- package/dist/types/types/upgrade.d.ts +1 -1
- package/dist/types/utils/config.utils.d.ts +1 -1
- package/dist/types/utils/controllers.utils.d.ts +1 -1
- package/dist/types/utils/idl.utils.d.ts +1 -1
- package/dist/types/utils/memory.utils.d.ts +1 -1
- package/dist/types/utils/rule.utils.d.ts +1 -1
- package/package.json +11 -11
|
@@ -3,7 +3,7 @@ import { type chunk_hash, type InstallChunkedCodeParams, type InstallCodeParams,
|
|
|
3
3
|
import type { take_canister_snapshot_result } from '@dfinity/ic-management/dist/candid/ic-management';
|
|
4
4
|
import type { CanisterStatusResponse } from '@dfinity/ic-management/dist/types/types/ic-management.responses';
|
|
5
5
|
import { Principal } from '@dfinity/principal';
|
|
6
|
-
import { type ActorParameters } from '@junobuild/ic-client';
|
|
6
|
+
import { type ActorParameters } from '@junobuild/ic-client/actor';
|
|
7
7
|
export declare const canisterStop: ({ canisterId, actor }: {
|
|
8
8
|
canisterId: Principal;
|
|
9
9
|
actor: ActorParameters;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Principal } from '@dfinity/principal';
|
|
2
|
-
import { type MissionControlDid, type MissionControlParameters } from '@junobuild/ic-client';
|
|
2
|
+
import { type MissionControlDid, type MissionControlParameters } from '@junobuild/ic-client/actor';
|
|
3
3
|
/**
|
|
4
4
|
* @deprecated - Replaced in Mission Control > v0.0.14 with public custom section juno:package
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Principal } from '@dfinity/principal';
|
|
2
|
-
import { type OrbiterDid, type OrbiterParameters } from '@junobuild/ic-client';
|
|
2
|
+
import { type OrbiterDid, type OrbiterParameters } from '@junobuild/ic-client/actor';
|
|
3
3
|
/**
|
|
4
4
|
* @deprecated - Replaced in Orbiter > v0.0.8 with public custom section juno:package
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Principal } from '@dfinity/principal';
|
|
2
|
-
import { type SatelliteDid, type SatelliteParameters } from '@junobuild/ic-client';
|
|
2
|
+
import { type SatelliteDid, type SatelliteParameters } from '@junobuild/ic-client/actor';
|
|
3
3
|
export declare const setStorageConfig: ({ config, satellite }: {
|
|
4
4
|
config: SatelliteDid.SetStorageConfig;
|
|
5
5
|
satellite: SatelliteParameters;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SatelliteDid } from '@junobuild/ic-client';
|
|
1
|
+
import type { SatelliteDid } from '@junobuild/ic-client/actor';
|
|
2
2
|
export declare const DbRulesType: SatelliteDid.CollectionType;
|
|
3
3
|
export declare const StorageRulesType: SatelliteDid.CollectionType;
|
|
4
4
|
export declare const PermissionPublic: SatelliteDid.Permission;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Principal } from '@dfinity/principal';
|
|
2
|
-
import type { MissionControlDid, MissionControlParameters } from '@junobuild/ic-client';
|
|
2
|
+
import type { MissionControlDid, MissionControlParameters } from '@junobuild/ic-client/actor';
|
|
3
3
|
import type { SetControllerParams } from '../types/controllers';
|
|
4
4
|
/**
|
|
5
5
|
* Sets the controller for the specified satellites.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { MissionControlParameters } from '@junobuild/ic-client/actor';
|
|
2
2
|
import type { UpgradeCodeParams } from '../types/upgrade';
|
|
3
3
|
/**
|
|
4
4
|
* Upgrades the Mission Control with the provided WASM module.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActorParameters } from '@junobuild/ic-client';
|
|
1
|
+
import type { ActorParameters } from '@junobuild/ic-client/actor';
|
|
2
2
|
import type { UpgradeCodeParams } from '../types/upgrade';
|
|
3
3
|
/**
|
|
4
4
|
* Upgrades a module with the provided WASM code and arguments. This generic is notably useful for Juno Docker.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Principal } from '@dfinity/principal';
|
|
2
|
-
import type { MissionControlDid, OrbiterParameters } from '@junobuild/ic-client';
|
|
2
|
+
import type { MissionControlDid, OrbiterParameters } from '@junobuild/ic-client/actor';
|
|
3
3
|
/**
|
|
4
4
|
* Lists the controllers of the Orbiter.
|
|
5
5
|
* @param {Object} params - The parameters for listing the controllers.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { OrbiterDid, OrbiterParameters } from '@junobuild/ic-client';
|
|
1
|
+
import type { OrbiterDid, OrbiterParameters } from '@junobuild/ic-client/actor';
|
|
2
2
|
/**
|
|
3
3
|
* Retrieves the stable and heap memory size of the Orbiter.
|
|
4
4
|
* @param {Object} params - The parameters for the Orbiter.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Principal } from '@dfinity/principal';
|
|
2
2
|
import { type JunoPackage } from '@junobuild/config';
|
|
3
|
-
import type { ActorParameters } from '@junobuild/ic-client';
|
|
3
|
+
import type { ActorParameters } from '@junobuild/ic-client/actor';
|
|
4
4
|
/**
|
|
5
5
|
* Parameters required to retrieve a `juno:package` metadata section.
|
|
6
6
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AuthenticationConfig, DatastoreConfig, StorageConfig } from '@junobuild/config';
|
|
2
|
-
import type { SatelliteParameters } from '@junobuild/ic-client';
|
|
2
|
+
import type { SatelliteParameters } from '@junobuild/ic-client/actor';
|
|
3
3
|
/**
|
|
4
4
|
* Sets the configuration for the Storage of a Satellite.
|
|
5
5
|
* @param {Object} params - The parameters for setting the configuration.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Principal } from '@dfinity/principal';
|
|
2
|
-
import type { SatelliteDid, SatelliteParameters } from '@junobuild/ic-client';
|
|
2
|
+
import type { SatelliteDid, SatelliteParameters } from '@junobuild/ic-client/actor';
|
|
3
3
|
/**
|
|
4
4
|
* Lists the controllers of a satellite.
|
|
5
5
|
* @param {Object} params - The parameters for listing the controllers.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SatelliteDid, SatelliteParameters } from '@junobuild/ic-client';
|
|
1
|
+
import type { SatelliteDid, SatelliteParameters } from '@junobuild/ic-client/actor';
|
|
2
2
|
/**
|
|
3
3
|
* Retrieves the stable and heap memory size of a satellite.
|
|
4
4
|
* @param {Object} params - The parameters for retrieving the memory size.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Rule, RulesType } from '@junobuild/config';
|
|
2
|
-
import type { SatelliteParameters } from '@junobuild/ic-client';
|
|
2
|
+
import type { SatelliteParameters } from '@junobuild/ic-client/actor';
|
|
3
3
|
import type { ListRulesMatcher, ListRulesResults } from '../types/list';
|
|
4
4
|
/**
|
|
5
5
|
* Lists the rules for a satellite.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { canister_install_mode } from '@dfinity/ic-management';
|
|
2
2
|
import type { Principal } from '@dfinity/principal';
|
|
3
|
-
import type { ActorParameters } from '@junobuild/ic-client';
|
|
3
|
+
import type { ActorParameters } from '@junobuild/ic-client/actor';
|
|
4
4
|
export declare enum UpgradeCodeProgressStep {
|
|
5
5
|
AssertingExistingCode = 0,
|
|
6
6
|
StoppingCanister = 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AuthenticationConfig, DatastoreConfig, StorageConfig } from '@junobuild/config';
|
|
2
|
-
import type { SatelliteDid } from '@junobuild/ic-client';
|
|
2
|
+
import type { SatelliteDid } from '@junobuild/ic-client/actor';
|
|
3
3
|
export declare const fromStorageConfig: ({ headers: configHeaders, rewrites: configRewrites, redirects: configRedirects, iframe: configIFrame, rawAccess: configRawAccess, maxMemorySize: configMaxMemorySize, version: configVersion }: StorageConfig) => SatelliteDid.SetStorageConfig;
|
|
4
4
|
export declare const toStorageConfig: ({ redirects: redirectsDid, iframe: iframeDid, version, raw_access: rawAccessDid, max_memory_size, headers: headersDid, rewrites: rewritesDid }: SatelliteDid.StorageConfig) => StorageConfig;
|
|
5
5
|
export declare const fromDatastoreConfig: ({ maxMemorySize, version }: DatastoreConfig) => SatelliteDid.SetDbConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Principal } from '@dfinity/principal';
|
|
2
|
-
import type { MissionControlDid } from '@junobuild/ic-client';
|
|
2
|
+
import type { MissionControlDid } from '@junobuild/ic-client/actor';
|
|
3
3
|
import type { SetControllerParams } from '../types/controllers';
|
|
4
4
|
export declare const mapSetControllerParams: ({ controllerId, profile }: SetControllerParams) => {
|
|
5
5
|
controllerIds: Principal[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Principal } from '@dfinity/principal';
|
|
2
|
-
import type { SatelliteDid } from '@junobuild/ic-client';
|
|
2
|
+
import type { SatelliteDid } from '@junobuild/ic-client/actor';
|
|
3
3
|
export declare const encoreIDLUser: (user: Principal) => ArrayBuffer;
|
|
4
4
|
export declare const encodeAdminAccessKeysToIDL: (controllers: [Principal, SatelliteDid.Controller][]) => ArrayBuffer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MaxMemorySizeConfig } from '@junobuild/config';
|
|
2
|
-
import type { SatelliteDid } from '@junobuild/ic-client';
|
|
2
|
+
import type { SatelliteDid } from '@junobuild/ic-client/actor';
|
|
3
3
|
export declare const toMaxMemorySize: (configMaxMemorySize?: MaxMemorySizeConfig) => [] | [SatelliteDid.ConfigMaxMemorySize];
|
|
4
4
|
export declare const fromMaxMemorySize: (configMaxMemorySize: [] | [SatelliteDid.ConfigMaxMemorySize]) => {
|
|
5
5
|
maxMemorySize?: MaxMemorySizeConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MemoryText, PermissionText, Rule, RulesType } from '@junobuild/config';
|
|
2
|
-
import type { SatelliteDid } from '@junobuild/ic-client';
|
|
2
|
+
import type { SatelliteDid } from '@junobuild/ic-client/actor';
|
|
3
3
|
import type { ListRulesMatcher } from '../types/list';
|
|
4
4
|
export declare const fromRuleType: (type: RulesType) => SatelliteDid.CollectionType;
|
|
5
5
|
export declare const fromRulesFilter: (filter?: ListRulesMatcher) => SatelliteDid.ListRulesParams;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@junobuild/admin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-next-2025-08-25.1",
|
|
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",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
],
|
|
51
51
|
"homepage": "https://juno.build",
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@dfinity/agent": "
|
|
54
|
-
"@dfinity/candid": "
|
|
55
|
-
"@dfinity/ic-management": "
|
|
56
|
-
"@dfinity/identity": "
|
|
57
|
-
"@dfinity/principal": "
|
|
58
|
-
"@dfinity/utils": "
|
|
53
|
+
"@dfinity/agent": "*",
|
|
54
|
+
"@dfinity/candid": "*",
|
|
55
|
+
"@dfinity/ic-management": "*",
|
|
56
|
+
"@dfinity/identity": "*",
|
|
57
|
+
"@dfinity/principal": "*",
|
|
58
|
+
"@dfinity/utils": "*",
|
|
59
59
|
"@junobuild/config": "*",
|
|
60
|
-
"@junobuild/ic-client": "
|
|
61
|
-
"semver": "
|
|
62
|
-
"zod": "
|
|
60
|
+
"@junobuild/ic-client": "*",
|
|
61
|
+
"semver": "*",
|
|
62
|
+
"zod": "*"
|
|
63
63
|
}
|
|
64
|
-
}
|
|
64
|
+
}
|