@e-mc/cloud 0.8.12 → 0.8.14

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.
Files changed (3) hide show
  1. package/README.md +7 -7
  2. package/index.js +1 -1
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- - https://www.unpkg.com/@e-mc/types@0.8.12/lib/index.d.ts
12
+ - https://www.unpkg.com/@e-mc/types@0.8.14/lib/index.d.ts
13
13
 
14
14
  ```typescript
15
15
  import type { IHost, IScopeOrigin } from "./index";
@@ -67,12 +67,12 @@ interface CloudConstructor extends ClientDbConstructor<IHost> {
67
67
 
68
68
  ## References
69
69
 
70
- - https://www.unpkg.com/@e-mc/types@0.8.12/lib/asset.d.ts
71
- - https://www.unpkg.com/@e-mc/types@0.8.12/lib/cloud.d.ts
72
- - https://www.unpkg.com/@e-mc/types@0.8.12/lib/core.d.ts
73
- - https://www.unpkg.com/@e-mc/types@0.8.12/lib/db.d.ts
74
- - https://www.unpkg.com/@e-mc/types@0.8.12/lib/logger.d.ts
75
- - https://www.unpkg.com/@e-mc/types@0.8.12/lib/settings.d.ts
70
+ - https://www.unpkg.com/@e-mc/types@0.8.14/lib/asset.d.ts
71
+ - https://www.unpkg.com/@e-mc/types@0.8.14/lib/cloud.d.ts
72
+ - https://www.unpkg.com/@e-mc/types@0.8.14/lib/core.d.ts
73
+ - https://www.unpkg.com/@e-mc/types@0.8.14/lib/db.d.ts
74
+ - https://www.unpkg.com/@e-mc/types@0.8.14/lib/logger.d.ts
75
+ - https://www.unpkg.com/@e-mc/types@0.8.14/lib/settings.d.ts
76
76
 
77
77
  ## LICENSE
78
78
 
package/index.js CHANGED
@@ -798,7 +798,7 @@ class Cloud extends core_1.ClientDb {
798
798
  }
799
799
  catch {
800
800
  }
801
- throw (0, types_1.errorMessage)(service, "Cloud provider not found");
801
+ throw service ? (0, types_1.errorMessage)(service, "Cloud provider not found") : (0, types_1.errorValue)("Cloud provider not found");
802
802
  }
803
803
  }
804
804
  Cloud.STORE_RESULT_PARTITION_SIZE = 16;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/cloud",
3
- "version": "0.8.12",
3
+ "version": "0.8.14",
4
4
  "description": "Cloud constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,9 +20,9 @@
20
20
  "license": "MIT",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/core": "0.8.12",
24
- "@e-mc/db": "0.8.12",
25
- "@e-mc/types": "0.8.12",
23
+ "@e-mc/core": "0.8.14",
24
+ "@e-mc/db": "0.8.14",
25
+ "@e-mc/types": "0.8.14",
26
26
  "mime-types": "^2.1.35"
27
27
  }
28
28
  }