@e-mc/cloud 0.8.29 → 0.8.31

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 +2 -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.29/lib/index.d.ts
12
+ - https://www.unpkg.com/@e-mc/types@0.8.31/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.29/lib/asset.d.ts
71
- - https://www.unpkg.com/@e-mc/types@0.8.29/lib/cloud.d.ts
72
- - https://www.unpkg.com/@e-mc/types@0.8.29/lib/core.d.ts
73
- - https://www.unpkg.com/@e-mc/types@0.8.29/lib/db.d.ts
74
- - https://www.unpkg.com/@e-mc/types@0.8.29/lib/logger.d.ts
75
- - https://www.unpkg.com/@e-mc/types@0.8.29/lib/settings.d.ts
70
+ - https://www.unpkg.com/@e-mc/types@0.8.31/lib/asset.d.ts
71
+ - https://www.unpkg.com/@e-mc/types@0.8.31/lib/cloud.d.ts
72
+ - https://www.unpkg.com/@e-mc/types@0.8.31/lib/core.d.ts
73
+ - https://www.unpkg.com/@e-mc/types@0.8.31/lib/db.d.ts
74
+ - https://www.unpkg.com/@e-mc/types@0.8.31/lib/logger.d.ts
75
+ - https://www.unpkg.com/@e-mc/types@0.8.31/lib/settings.d.ts
76
76
 
77
77
  ## LICENSE
78
78
 
package/index.js CHANGED
@@ -797,7 +797,8 @@ class Cloud extends core_1.ClientDb {
797
797
  return client;
798
798
  }
799
799
  }
800
- catch {
800
+ catch (err) {
801
+ this.addLog(types_1.STATUS_TYPE.WARN, err, service);
801
802
  }
802
803
  throw service ? (0, types_1.errorMessage)(service, "Cloud provider not found") : (0, types_1.errorValue)("Cloud provider not found");
803
804
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/cloud",
3
- "version": "0.8.29",
3
+ "version": "0.8.31",
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.29",
24
- "@e-mc/db": "0.8.29",
25
- "@e-mc/types": "0.8.29",
23
+ "@e-mc/core": "0.8.31",
24
+ "@e-mc/db": "0.8.31",
25
+ "@e-mc/types": "0.8.31",
26
26
  "mime-types": "^2.1.35"
27
27
  }
28
28
  }