@e-mc/cloud 0.9.4 → 0.9.6

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
- * [View Source](https://www.unpkg.com/@e-mc/types@0.9.4/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.9.6/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { IHost, IScopeOrigin } from "./index";
@@ -174,12 +174,12 @@ const rows = await instance.getDatabaseRows({ service: "aws-v3", credential: "ma
174
174
 
175
175
  ## References
176
176
 
177
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/asset.d.ts
178
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/cloud.d.ts
179
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/core.d.ts
180
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/db.d.ts
181
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/logger.d.ts
182
- - https://www.unpkg.com/@e-mc/types@0.9.4/lib/settings.d.ts
177
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/asset.d.ts
178
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/cloud.d.ts
179
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/core.d.ts
180
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/db.d.ts
181
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/logger.d.ts
182
+ - https://www.unpkg.com/@e-mc/types@0.9.6/lib/settings.d.ts
183
183
 
184
184
  ## LICENSE
185
185
 
package/index.js CHANGED
@@ -848,7 +848,7 @@ class Cloud extends core_1.ClientDb {
848
848
  }
849
849
  catch {
850
850
  }
851
- throw (0, types_1.errorMessage)(service, "Cloud provider not found");
851
+ throw service ? (0, types_1.errorMessage)(service, "Cloud provider not found") : (0, types_1.errorValue)("Cloud provider not found");
852
852
  }
853
853
  }
854
854
  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.9.4",
3
+ "version": "0.9.6",
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": "BSD 3-Clause",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/core": "0.9.4",
24
- "@e-mc/db": "0.9.4",
25
- "@e-mc/types": "0.9.4",
23
+ "@e-mc/core": "0.9.6",
24
+ "@e-mc/db": "0.9.6",
25
+ "@e-mc/types": "0.9.6",
26
26
  "mime-types": "^2.1.35"
27
27
  }
28
28
  }