@pi-r/aws 0.5.2 → 0.5.3
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 +1 -1
- package/README.md +1 -1
- package/download/index.js +1 -6
- package/package.json +5 -5
- package/upload/index.js +1 -6
package/LICENSE
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright 2023
|
|
1
|
+
Copyright 2023 Haruhi Suzumiya
|
|
2
2
|
|
|
3
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
|
|
package/README.md
CHANGED
package/download/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
2
|
const types_1 = require("@e-mc/types");
|
|
4
3
|
const Module = require("@e-mc/module");
|
|
5
4
|
const Cloud = require("@e-mc/cloud");
|
|
@@ -36,9 +35,5 @@ function download(credential, service = 'aws', sdk = 'aws-sdk/clients/s3') {
|
|
|
36
35
|
});
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
|
-
exports.default = download;
|
|
40
38
|
|
|
41
|
-
|
|
42
|
-
module.exports = exports.default;
|
|
43
|
-
module.exports.default = exports.default;
|
|
44
|
-
}
|
|
39
|
+
module.exports = download;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/aws",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "AWS V2 cloud functions for E-mc.",
|
|
5
5
|
"main": "client/index.js",
|
|
6
6
|
"types": "client/index.d.ts",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"homepage": "https://github.com/anpham6/pi-r#readme",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@e-mc/cloud": "^0.7.
|
|
25
|
-
"@e-mc/module": "^0.7.
|
|
26
|
-
"@e-mc/types": "^0.7.
|
|
27
|
-
"aws-sdk": "^2.
|
|
24
|
+
"@e-mc/cloud": "^0.7.3",
|
|
25
|
+
"@e-mc/module": "^0.7.3",
|
|
26
|
+
"@e-mc/types": "^0.7.3",
|
|
27
|
+
"aws-sdk": "^2.1591.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/upload/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
2
|
const path = require("path");
|
|
4
3
|
const fs = require("fs");
|
|
5
4
|
const util_1 = require("@e-mc/cloud/util");
|
|
@@ -169,9 +168,5 @@ function upload(credential, service = 'aws', sdk = 'aws-sdk/clients/s3') {
|
|
|
169
168
|
}
|
|
170
169
|
};
|
|
171
170
|
}
|
|
172
|
-
exports.default = upload;
|
|
173
171
|
|
|
174
|
-
|
|
175
|
-
module.exports = exports.default;
|
|
176
|
-
module.exports.default = exports.default;
|
|
177
|
-
}
|
|
172
|
+
module.exports = upload;
|