@junobuild/admin 0.0.38 → 0.0.39

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,5 +1,5 @@
1
1
  import type { Principal } from '@dfinity/principal';
2
- import type { Controller } from '../../declarations/orbiter/orbiter.did';
2
+ import type { Controller, MemorySize } from '../../declarations/orbiter/orbiter.did';
3
3
  import type { OrbiterParameters } from '../types/actor.types';
4
4
  export declare const version: ({ orbiter }: {
5
5
  orbiter: OrbiterParameters;
@@ -7,3 +7,6 @@ export declare const version: ({ orbiter }: {
7
7
  export declare const listControllers: ({ orbiter }: {
8
8
  orbiter: OrbiterParameters;
9
9
  }) => Promise<[Principal, Controller][]>;
10
+ export declare const memorySize: ({ orbiter }: {
11
+ orbiter: OrbiterParameters;
12
+ }) => Promise<MemorySize>;
@@ -1,5 +1,5 @@
1
1
  import type { Principal } from '@dfinity/principal';
2
- import type { Config, Controller, CustomDomain, Rule, RulesType, SetRule } from '../../declarations/satellite/satellite.did';
2
+ import type { Config, Controller, CustomDomain, MemorySize, 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;
@@ -30,3 +30,11 @@ export declare const listControllers: ({ satellite }: {
30
30
  export declare const listCustomDomains: ({ satellite }: {
31
31
  satellite: SatelliteParameters;
32
32
  }) => Promise<[string, CustomDomain][]>;
33
+ export declare const setCustomDomain: ({ satellite, domainName, boundaryNodesId }: {
34
+ satellite: SatelliteParameters;
35
+ domainName: string;
36
+ boundaryNodesId: string | undefined;
37
+ }) => Promise<void>;
38
+ export declare const memorySize: ({ satellite }: {
39
+ satellite: SatelliteParameters;
40
+ }) => Promise<MemorySize>;
@@ -1,3 +1,4 @@
1
+ import type { MemorySize } from '../../declarations/orbiter/orbiter.did';
1
2
  import type { OrbiterParameters } from '../types/actor.types';
2
3
  export declare const orbiterVersion: (params: {
3
4
  orbiter: OrbiterParameters;
@@ -7,3 +8,6 @@ export declare const upgradeOrbiter: ({ orbiter, wasm_module, reset }: {
7
8
  wasm_module: Uint8Array;
8
9
  reset?: boolean | undefined;
9
10
  }) => Promise<void>;
11
+ export declare const orbiterMemorySize: (params: {
12
+ orbiter: OrbiterParameters;
13
+ }) => Promise<MemorySize>;
@@ -1,3 +1,4 @@
1
+ import type { MemorySize } from '../../declarations/satellite/satellite.did';
1
2
  import type { SatelliteParameters } from '../types/actor.types';
2
3
  import type { Config } from '../types/config.types';
3
4
  import type { CustomDomain } from '../types/customdomain.types';
@@ -28,3 +29,10 @@ export declare const upgradeSatellite: ({ satellite, wasm_module, deprecated, de
28
29
  export declare const listCustomDomains: ({ satellite }: {
29
30
  satellite: SatelliteParameters;
30
31
  }) => Promise<CustomDomain[]>;
32
+ export declare const setCustomDomains: ({ satellite, domains }: {
33
+ satellite: SatelliteParameters;
34
+ domains: CustomDomain[];
35
+ }) => Promise<void[]>;
36
+ export declare const satelliteMemorySize: (params: {
37
+ satellite: SatelliteParameters;
38
+ }) => Promise<MemorySize>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/admin",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
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,9 +51,9 @@
51
51
  ],
52
52
  "homepage": "https://juno.build",
53
53
  "peerDependencies": {
54
- "@dfinity/agent": "^0.19.3",
55
- "@dfinity/identity": "^0.19.3",
56
- "@dfinity/principal": "^0.19.3",
54
+ "@dfinity/agent": "^0.20.2",
55
+ "@dfinity/identity": "^0.20.2",
56
+ "@dfinity/principal": "^0.20.2",
57
57
  "@junobuild/utils": "*",
58
58
  "semver": "7.*"
59
59
  }