@certik/skynet 0.18.6 → 0.18.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.18.7
4
+
5
+ - Update type definition for app.js and selector.js
6
+
3
7
  ## 0.18.6
4
8
 
5
9
  - Update type definition for app.js and selector.js
package/app.d.ts CHANGED
@@ -69,15 +69,15 @@ export type Validate = {
69
69
  mem: number;
70
70
  };
71
71
 
72
- type BuildWithRestart = Build & { restart: Restart | undefined };
72
+ type BuildWithRestart = Build & { restart?: Restart };
73
73
 
74
- type BuildWithConcurrency = Build & { concurrency: number | undefined };
74
+ type BuildWithConcurrency = Build & { concurrency?: number };
75
75
 
76
- type ValidateWithConcurrency = Validate & { concurrency: number | undefined };
76
+ type ValidateWithConcurrency = Validate & { concurrency?: number };
77
77
 
78
78
  export const SENSITIVE_VALUE: null;
79
79
 
80
- export function every(n: number | undefined): {
80
+ export function every(n?: number): {
81
81
  second: string;
82
82
  seconds: string;
83
83
  minute: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@certik/skynet",
3
- "version": "0.18.6",
3
+ "version": "0.18.7",
4
4
  "description": "Skynet Shared JS library",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/selector.d.ts CHANGED
@@ -7,7 +7,7 @@ export type Selector = {
7
7
  type?: "string" | "number" | "boolean" | string;
8
8
  description?: string;
9
9
  desc?: string;
10
- aliases?: string;
10
+ aliases?: string[];
11
11
  isRequired?: boolean;
12
12
  default?: any;
13
13
  };