@e-mc/cloud 0.10.11 → 0.10.13

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/LICENSE CHANGED
@@ -1,11 +1,7 @@
1
1
  Copyright 2024 An Pham
2
2
 
3
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
5
- 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
6
 
7
- 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
-
9
- 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10
-
11
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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.11/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.10.13/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { IHost, IScopeOrigin } from "./index";
@@ -174,13 +174,13 @@ 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.10.11/lib/asset.d.ts
178
- - https://www.unpkg.com/@e-mc/types@0.10.11/lib/cloud.d.ts
179
- - https://www.unpkg.com/@e-mc/types@0.10.11/lib/core.d.ts
180
- - https://www.unpkg.com/@e-mc/types@0.10.11/lib/db.d.ts
181
- - https://www.unpkg.com/@e-mc/types@0.10.11/lib/logger.d.ts
182
- - https://www.unpkg.com/@e-mc/types@0.10.11/lib/settings.d.ts
177
+ - https://www.unpkg.com/@e-mc/types@0.10.13/lib/asset.d.ts
178
+ - https://www.unpkg.com/@e-mc/types@0.10.13/lib/cloud.d.ts
179
+ - https://www.unpkg.com/@e-mc/types@0.10.13/lib/core.d.ts
180
+ - https://www.unpkg.com/@e-mc/types@0.10.13/lib/db.d.ts
181
+ - https://www.unpkg.com/@e-mc/types@0.10.13/lib/logger.d.ts
182
+ - https://www.unpkg.com/@e-mc/types@0.10.13/lib/settings.d.ts
183
183
 
184
184
  ## LICENSE
185
185
 
186
- BSD 3-Clause
186
+ MIT
package/index.js CHANGED
@@ -636,6 +636,7 @@ class Cloud extends core_1.ClientDb {
636
636
  await beforeResolve(value);
637
637
  }
638
638
  this.addLog(types_1.STATUS_TYPE.INFO, 'uploadObject: ' + bucket, service, value);
639
+ this.uploaded.push(value);
639
640
  resolve(value);
640
641
  }
641
642
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/cloud",
3
- "version": "0.10.11",
3
+ "version": "0.10.13",
4
4
  "description": "Cloud constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -17,12 +17,12 @@
17
17
  "squared-functions"
18
18
  ],
19
19
  "author": "An Pham <anpham6@gmail.com>",
20
- "license": "BSD-3-Clause",
20
+ "license": "MIT",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/core": "0.10.11",
24
- "@e-mc/db": "0.10.11",
25
- "@e-mc/types": "0.10.11",
23
+ "@e-mc/core": "0.10.13",
24
+ "@e-mc/db": "0.10.13",
25
+ "@e-mc/types": "0.10.13",
26
26
  "mime-types": "^2.1.35"
27
27
  }
28
28
  }