@junobuild/admin 4.0.2-next-2026-02-12 → 4.0.2-next-2026-02-13

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.
@@ -95,3 +95,10 @@ export declare const setControllers: ({ args, satellite }: {
95
95
  args: SatelliteDid.SetControllersArgs;
96
96
  satellite: SatelliteParameters;
97
97
  }) => Promise<[Principal, SatelliteDid.Controller][]>;
98
+ export declare const deleteControllers: ({ args, satellite }: {
99
+ args: SatelliteDid.DeleteControllersArgs;
100
+ satellite: SatelliteParameters;
101
+ }) => Promise<[Principal, SatelliteDid.Controller][]>;
102
+ export declare const deleteControllerSelf: ({ satellite }: {
103
+ satellite: SatelliteParameters;
104
+ }) => Promise<void>;
@@ -2,6 +2,7 @@ import type { Principal } from '@icp-sdk/core/principal';
2
2
  import type { SatelliteDid, SatelliteParameters } from '@junobuild/ic-client/actor';
3
3
  /**
4
4
  * Lists the controllers of a satellite.
5
+ *
5
6
  * @param {Object} params - The parameters for listing the controllers.
6
7
  * @param {SatelliteParameters} params.satellite - The satellite parameters.
7
8
  * @param {boolean} [params.deprecatedNoScope] - Whether to list deprecated no-scope controllers.
@@ -13,6 +14,10 @@ export declare const listSatelliteControllers: ({ deprecatedNoScope, ...params }
13
14
  }) => Promise<[Principal, SatelliteDid.Controller][]>;
14
15
  /**
15
16
  * Sets the controllers of a satellite.
17
+ *
18
+ * Note: This only add controllers for the satellite's in-memory list, which is used for
19
+ * guards and access control within the satellite's features.
20
+ *
16
21
  * @param {Object} params - The parameters for setting the controllers.
17
22
  * @param {SatelliteParameters} params.satellite - The satellite parameters.
18
23
  * @param {SetControllersArgs} params.args - The arguments for setting the controllers.
@@ -22,3 +27,31 @@ export declare const setSatelliteControllers: (params: {
22
27
  satellite: SatelliteParameters;
23
28
  args: SatelliteDid.SetControllersArgs;
24
29
  }) => Promise<[Principal, SatelliteDid.Controller][]>;
30
+ /**
31
+ * Delete selected controllers from a satellite.
32
+ *
33
+ * Note: This only removes controllers from the satellite's in-memory list, which is used for
34
+ * guards and access control within the satellite's features.
35
+ *
36
+ * @param {Object} params - The parameters for setting the controllers.
37
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
38
+ * @param {SetControllersArgs} params.args - The arguments for setting the controllers.
39
+ * @returns {Promise<[Principal, Controller][]>} A promise that resolves to a list of controllers.
40
+ */
41
+ export declare const deleteSatelliteControllers: (params: {
42
+ satellite: SatelliteParameters;
43
+ args: SatelliteDid.DeleteControllersArgs;
44
+ }) => Promise<[Principal, SatelliteDid.Controller][]>;
45
+ /**
46
+ * Delete the calling controller from the satellite.
47
+ *
48
+ * Note: This only removes the controller from the satellite's in-memory list, which is used for
49
+ * guards and access control within the satellite's features.
50
+ *
51
+ * @param {Object} params - The parameters for deleting the controller.
52
+ * @param {SatelliteParameters} params.satellite - The satellite parameters.
53
+ * @returns {Promise<void>} A promise that resolves when the controller is deleted.
54
+ */
55
+ export declare const deleteSatelliteControllerSelf: (params: {
56
+ satellite: SatelliteParameters;
57
+ }) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/admin",
3
- "version": "4.0.2-next-2026-02-12",
3
+ "version": "4.0.2-next-2026-02-13",
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",