@e-mc/core 0.10.2 → 0.10.4

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/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- * [View Source](https://www.unpkg.com/@e-mc/types@0.10.2/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.10.4/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { DataSource, LogStatus } from "./squared";
@@ -230,13 +230,13 @@ NOTE: **@e-mc/core** is mostly a collection of abstract base classes which canno
230
230
 
231
231
  ## References
232
232
 
233
- - https://www.unpkg.com/@e-mc/types@0.10.2/lib/squared.d.ts
234
- - https://www.unpkg.com/@e-mc/types@0.10.2/lib/core.d.ts
235
- - https://www.unpkg.com/@e-mc/types@0.10.2/lib/db.d.ts
236
- - https://www.unpkg.com/@e-mc/types@0.10.2/lib/dom.d.ts
237
- - https://www.unpkg.com/@e-mc/types@0.10.2/lib/logger.d.ts
238
- - https://www.unpkg.com/@e-mc/types@0.10.2/lib/node.d.ts
239
- - https://www.unpkg.com/@e-mc/types@0.10.2/lib/settings.d.ts
233
+ - https://www.unpkg.com/@e-mc/types@0.10.4/lib/squared.d.ts
234
+ - https://www.unpkg.com/@e-mc/types@0.10.4/lib/core.d.ts
235
+ - https://www.unpkg.com/@e-mc/types@0.10.4/lib/db.d.ts
236
+ - https://www.unpkg.com/@e-mc/types@0.10.4/lib/dom.d.ts
237
+ - https://www.unpkg.com/@e-mc/types@0.10.4/lib/logger.d.ts
238
+ - https://www.unpkg.com/@e-mc/types@0.10.4/lib/node.d.ts
239
+ - https://www.unpkg.com/@e-mc/types@0.10.4/lib/settings.d.ts
240
240
 
241
241
  ## LICENSE
242
242
 
package/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import type { HostConstructor, ModuleConstructor } from '../types/lib';
2
- import type { AbortComponentConstructor, ClientConstructor, ClientDbConstructor, PermissionConstructor } from '../types/lib/core';
3
-
4
- declare namespace core {
5
- const Module: ModuleConstructor;
6
- const Host: HostConstructor;
7
- const Client: ClientConstructor;
8
- const ClientDb: ClientDbConstructor;
9
- const AbortComponent: AbortComponentConstructor;
10
- const Permission: PermissionConstructor;
11
- }
12
-
1
+ import type { HostConstructor, ModuleConstructor } from '@e-mc/types/lib';
2
+ import type { AbortComponentConstructor, ClientConstructor, ClientDbConstructor, PermissionConstructor } from '@e-mc/types/lib/core';
3
+
4
+ declare namespace core {
5
+ const Module: ModuleConstructor;
6
+ const Host: HostConstructor;
7
+ const Client: ClientConstructor;
8
+ const ClientDb: ClientDbConstructor;
9
+ const AbortComponent: AbortComponentConstructor;
10
+ const Permission: PermissionConstructor;
11
+ }
12
+
13
13
  export = core;
package/index.js CHANGED
@@ -4,9 +4,9 @@ exports.Module = exports.Permission = exports.AbortComponent = exports.ClientDb
4
4
  const path = require("path");
5
5
  const fs = require("fs");
6
6
  const pm = require("picomatch");
7
+ const types_1 = require("@e-mc/types");
7
8
  const module_1 = require("@e-mc/module");
8
9
  exports.Module = module_1;
9
- const types_1 = require("@e-mc/types");
10
10
  const kConfig = Symbol('config');
11
11
  const kQueued = Symbol('queued');
12
12
  const kAbortHandler = Symbol('abortHandler');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/core",
3
- "version": "0.10.2",
3
+ "version": "0.10.4",
4
4
  "description": "Core modules for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -17,11 +17,11 @@
17
17
  "squared-functions"
18
18
  ],
19
19
  "author": "An Pham <anpham6@gmail.com>",
20
- "license": "BSD 3-Clause",
20
+ "license": "BSD-3-Clause",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/module": "0.10.2",
24
- "@e-mc/types": "0.10.2",
23
+ "@e-mc/module": "0.10.4",
24
+ "@e-mc/types": "0.10.4",
25
25
  "picomatch": "^4.0.2"
26
26
  }
27
27
  }