@junobuild/admin 0.0.19 → 0.0.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/admin",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
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",
@@ -41,6 +41,7 @@
41
41
  "dependencies": {
42
42
  "@dfinity/agent": "^0.15.6",
43
43
  "@dfinity/identity": "^0.15.6",
44
- "@dfinity/principal": "^0.15.6"
44
+ "@dfinity/principal": "^0.15.6",
45
+ "@junobuild/utils": "*"
45
46
  }
46
47
  }
@@ -1,4 +0,0 @@
1
- export declare const toNullable: <T>(value?: T | undefined) => [] | [T];
2
- export declare const fromNullable: <T>(value: [] | [T]) => T | undefined;
3
- export declare const toArray: <T>(data: T) => Promise<Uint8Array>;
4
- export declare const fromArray: <T>(data: Uint8Array | number[]) => Promise<T>;
@@ -1,7 +0,0 @@
1
- /** Is null or undefined */
2
- export declare const isNullish: <T>(argument: T | null | undefined) => argument is null | undefined;
3
- /** Not null and not undefined */
4
- export declare const nonNullish: <T>(argument: T | null | undefined) => argument is NonNullable<T>;
5
- export declare class NullishError extends Error {
6
- }
7
- export declare const assertNonNullish: <T>(value: T, message?: string) => asserts value is NonNullable<T>;