@junobuild/admin 0.0.15 → 0.0.17

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,11 +2,13 @@ import type { IDL } from '@dfinity/candid';
2
2
  import type { _SERVICE as ConsoleActor } from '../../declarations/console/console.did';
3
3
  import type { _SERVICE as ICActor } from '../../declarations/ic/ic.did';
4
4
  import type { _SERVICE as MissionControlActor } from '../../declarations/mission_control/mission_control.did';
5
+ import type { _SERVICE as DeprecatedSatelliteNoScopeActor } from '../../declarations/satellite/satellite-deprecated-no-scope.did';
5
6
  import type { _SERVICE as DeprecatedSatelliteActor } from '../../declarations/satellite/satellite-deprecated.did';
6
7
  import type { _SERVICE as SatelliteActor } from '../../declarations/satellite/satellite.did';
7
8
  import type { ActorParameters, ConsoleParameters, MissionControlParameters, SatelliteParameters } from '../types/actor.types';
8
9
  export declare const getDeprecatedSatelliteActor: ({ satelliteId, ...rest }: SatelliteParameters) => Promise<DeprecatedSatelliteActor>;
9
10
  export declare const getSatelliteActor: ({ satelliteId, ...rest }: SatelliteParameters) => Promise<SatelliteActor>;
11
+ export declare const getDeprecatedSatelliteNoScopeActor: ({ satelliteId, ...rest }: SatelliteParameters) => Promise<DeprecatedSatelliteNoScopeActor>;
10
12
  export declare const getMissionControlActor: ({ missionControlId, ...rest }: MissionControlParameters) => Promise<MissionControlActor>;
11
13
  export declare const getConsoleActor: ({ consoleId, ...rest }: ConsoleParameters) => Promise<ConsoleActor>;
12
14
  export declare const getActor: <T>({ canisterId, idlFactory, ...rest }: ActorParameters & {
@@ -1,5 +1,5 @@
1
1
  import type { Principal } from '@dfinity/principal';
2
- import type { Config, Controller, Rule, RulesType, SetRule } from '../../declarations/satellite/satellite.did';
2
+ import type { Config, Controller, CustomDomain, Rule, RulesType, SetRule } from '../../declarations/satellite/satellite.did';
3
3
  import type { SatelliteParameters } from '../types/actor.types';
4
4
  export declare const setConfig: ({ config, satellite }: {
5
5
  config: Config;
@@ -21,6 +21,12 @@ export declare const version: ({ satellite }: {
21
21
  export declare const listDeprecatedControllers: ({ satellite }: {
22
22
  satellite: SatelliteParameters;
23
23
  }) => Promise<Principal[]>;
24
+ export declare const listDeprecatedNoScopeControllers: ({ satellite }: {
25
+ satellite: SatelliteParameters;
26
+ }) => Promise<[Principal, Controller][]>;
24
27
  export declare const listControllers: ({ satellite }: {
25
28
  satellite: SatelliteParameters;
26
29
  }) => Promise<[Principal, Controller][]>;
30
+ export declare const listCustomDomains: ({ satellite }: {
31
+ satellite: SatelliteParameters;
32
+ }) => Promise<[string, CustomDomain][]>;
@@ -3,5 +3,6 @@ export * from './services/satellite.services';
3
3
  export * from './types/actor.types';
4
4
  export * from './types/config.types';
5
5
  export * from './types/controllers.types';
6
+ export * from './types/customdomain.types';
6
7
  export * from './types/ic.types';
7
8
  export * from './types/rules.types';
@@ -1,5 +1,6 @@
1
1
  import type { SatelliteParameters } from '../types/actor.types';
2
2
  import type { Config } from '../types/config.types';
3
+ import type { CustomDomain } from '../types/customdomain.types';
3
4
  import type { Rule, RulesType } from '../types/rules.types';
4
5
  export declare const setConfig: ({ config: { storage: { headers: configHeaders } }, satellite }: {
5
6
  config: Config;
@@ -17,8 +18,12 @@ export declare const setRule: ({ rule: { collection, ...rest }, type, satellite
17
18
  export declare const satelliteVersion: (params: {
18
19
  satellite: SatelliteParameters;
19
20
  }) => Promise<string>;
20
- export declare const upgradeSatellite: ({ satellite, wasm_module, deprecated }: {
21
+ export declare const upgradeSatellite: ({ satellite, wasm_module, deprecated, deprecatedNoScope }: {
21
22
  satellite: SatelliteParameters;
22
23
  wasm_module: Array<number>;
23
24
  deprecated: boolean;
25
+ deprecatedNoScope: boolean;
24
26
  }) => Promise<void>;
27
+ export declare const listCustomDomains: ({ satellite }: {
28
+ satellite: SatelliteParameters;
29
+ }) => Promise<CustomDomain[]>;
@@ -0,0 +1,6 @@
1
+ export interface CustomDomain {
2
+ domain: string;
3
+ bn_id?: string;
4
+ updated_at: bigint;
5
+ created_at: bigint;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/admin",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
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",
@@ -1,2 +0,0 @@
1
- import{p as a,q as b}from"./chunk-CAKYEEJ6.js";export{b as encodePath,a as request};
2
- //# sourceMappingURL=canisterStatus-D52DQGXX.js.map