@hot-updater/aws 0.12.7 → 0.13.1
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/dist/iac/index.cjs +8872 -0
- package/dist/iac/index.d.cts +3 -0
- package/dist/iac/index.d.ts +3 -0
- package/dist/iac/index.js +8883 -0
- package/dist/{src/index.cjs → index.cjs} +309 -149
- package/dist/{src/index.d.cts → index.d.cts} +4 -2
- package/dist/{src/index.d.ts → index.d.ts} +4 -2
- package/dist/{src/index.js → index.js} +309 -146
- package/dist/lambda/index.cjs +363 -1637
- package/package.json +34 -22
- package/dist/sdk/index.cjs +0 -46
- package/dist/sdk/index.d.cts +0 -17
- package/dist/sdk/index.d.ts +0 -17
- package/dist/sdk/index.js +0 -12
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/aws",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.13.1",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
|
-
"main": "dist/
|
|
7
|
-
"module": "dist/
|
|
8
|
-
"types": "dist/
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
|
+
"module": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": "https://github.com/gronxb/hot-updater",
|
|
11
11
|
"author": "gronxb <gron1gh1@gmail.com> (https://github.com/gronxb)",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
},
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
|
-
"import": "./dist/
|
|
22
|
-
"require": "./dist/
|
|
21
|
+
"import": "./dist/index.js",
|
|
22
|
+
"require": "./dist/index.cjs"
|
|
23
23
|
},
|
|
24
|
-
"./
|
|
25
|
-
"types": "./dist/
|
|
26
|
-
"import": "./dist/
|
|
27
|
-
"require": "./dist/
|
|
24
|
+
"./iac": {
|
|
25
|
+
"types": "./dist/iac/index.d.ts",
|
|
26
|
+
"import": "./dist/iac/index.js",
|
|
27
|
+
"require": "./dist/iac/index.cjs"
|
|
28
28
|
},
|
|
29
29
|
"./lambda": {
|
|
30
30
|
"require": "./dist/lambda/index.cjs"
|
|
@@ -35,25 +35,37 @@
|
|
|
35
35
|
"package.json"
|
|
36
36
|
],
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@aws-sdk/
|
|
39
|
-
"@hot-updater/core": "0.
|
|
40
|
-
"@hot-updater/js": "0.
|
|
38
|
+
"@aws-sdk/cloudfront-signer": "3.772.0",
|
|
39
|
+
"@hot-updater/core": "0.13.1",
|
|
40
|
+
"@hot-updater/js": "0.13.1",
|
|
41
41
|
"@types/aws-lambda": "^8.10.147",
|
|
42
42
|
"@types/node": "^22.13.1",
|
|
43
43
|
"aws-sdk-client-mock": "^4.1.0",
|
|
44
44
|
"es-toolkit": "^1.32.0",
|
|
45
|
+
"execa": "^9.5.2",
|
|
45
46
|
"hono": "^4.6.3",
|
|
46
|
-
"mime": "^4.0.4"
|
|
47
|
+
"mime": "^4.0.4",
|
|
48
|
+
"picocolors": "^1.0.0",
|
|
49
|
+
"@clack/prompts": "^0.10.0"
|
|
47
50
|
},
|
|
48
51
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/client-cloudfront": "
|
|
50
|
-
"@aws-sdk/client-iam": "
|
|
51
|
-
"@aws-sdk/client-lambda": "
|
|
52
|
-
"@aws-sdk/client-s3": "
|
|
53
|
-
"@aws-sdk/
|
|
54
|
-
"@aws-sdk/
|
|
55
|
-
"@
|
|
56
|
-
"
|
|
52
|
+
"@aws-sdk/client-cloudfront": "3.772.0",
|
|
53
|
+
"@aws-sdk/client-iam": "3.772.0",
|
|
54
|
+
"@aws-sdk/client-lambda": "3.772.0",
|
|
55
|
+
"@aws-sdk/client-s3": "3.772.0",
|
|
56
|
+
"@aws-sdk/client-ssm": "3.772.0",
|
|
57
|
+
"@aws-sdk/credential-providers": "3.772.0",
|
|
58
|
+
"@aws-sdk/lib-storage": "3.772.0",
|
|
59
|
+
"@hot-updater/plugin-core": "0.13.1",
|
|
60
|
+
"aws-lambda": "1.0.7"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"@clack/prompts": "*"
|
|
64
|
+
},
|
|
65
|
+
"peerDependenciesMeta": {
|
|
66
|
+
"@clack/prompts": {
|
|
67
|
+
"optional": true
|
|
68
|
+
}
|
|
57
69
|
},
|
|
58
70
|
"scripts": {
|
|
59
71
|
"build": "tsup",
|
package/dist/sdk/index.cjs
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
-
"use strict";
|
|
3
|
-
var __create = Object.create;
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __export = (target, all) => {
|
|
10
|
-
for (var name in all)
|
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
-
};
|
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
-
for (let key of __getOwnPropNames(from))
|
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
-
}
|
|
19
|
-
return to;
|
|
20
|
-
};
|
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
-
mod
|
|
28
|
-
));
|
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
-
|
|
31
|
-
// sdk/index.ts
|
|
32
|
-
var sdk_exports = {};
|
|
33
|
-
__export(sdk_exports, {
|
|
34
|
-
SDK: () => SDK
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(sdk_exports);
|
|
37
|
-
var import_client_cloudfront = __toESM(require("@aws-sdk/client-cloudfront"), 1);
|
|
38
|
-
var import_client_iam = __toESM(require("@aws-sdk/client-iam"), 1);
|
|
39
|
-
var import_client_lambda = __toESM(require("@aws-sdk/client-lambda"), 1);
|
|
40
|
-
var import_client_s3 = __toESM(require("@aws-sdk/client-s3"), 1);
|
|
41
|
-
var import_credential_providers = __toESM(require("@aws-sdk/credential-providers"), 1);
|
|
42
|
-
var SDK = { Lambda: import_client_lambda.default, S3: import_client_s3.default, CloudFront: import_client_cloudfront.default, CredentialsProvider: import_credential_providers.default, IAM: import_client_iam.default };
|
|
43
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
-
0 && (module.exports = {
|
|
45
|
-
SDK
|
|
46
|
-
});
|
package/dist/sdk/index.d.cts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import CloudFront__default from '@aws-sdk/client-cloudfront';
|
|
2
|
-
export * from '@aws-sdk/client-cloudfront';
|
|
3
|
-
import IAM from '@aws-sdk/client-iam';
|
|
4
|
-
import Lambda from '@aws-sdk/client-lambda';
|
|
5
|
-
import S3 from '@aws-sdk/client-s3';
|
|
6
|
-
export { BucketLocationConstraint } from '@aws-sdk/client-s3';
|
|
7
|
-
import CredentialsProvider from '@aws-sdk/credential-providers';
|
|
8
|
-
|
|
9
|
-
declare const SDK: {
|
|
10
|
-
Lambda: typeof Lambda;
|
|
11
|
-
S3: typeof S3;
|
|
12
|
-
CloudFront: typeof CloudFront__default;
|
|
13
|
-
CredentialsProvider: typeof CredentialsProvider;
|
|
14
|
-
IAM: typeof IAM;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export { SDK };
|
package/dist/sdk/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import CloudFront__default from '@aws-sdk/client-cloudfront';
|
|
2
|
-
export * from '@aws-sdk/client-cloudfront';
|
|
3
|
-
import IAM from '@aws-sdk/client-iam';
|
|
4
|
-
import Lambda from '@aws-sdk/client-lambda';
|
|
5
|
-
import S3 from '@aws-sdk/client-s3';
|
|
6
|
-
export { BucketLocationConstraint } from '@aws-sdk/client-s3';
|
|
7
|
-
import CredentialsProvider from '@aws-sdk/credential-providers';
|
|
8
|
-
|
|
9
|
-
declare const SDK: {
|
|
10
|
-
Lambda: typeof Lambda;
|
|
11
|
-
S3: typeof S3;
|
|
12
|
-
CloudFront: typeof CloudFront__default;
|
|
13
|
-
CredentialsProvider: typeof CredentialsProvider;
|
|
14
|
-
IAM: typeof IAM;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export { SDK };
|
package/dist/sdk/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
-
|
|
3
|
-
// sdk/index.ts
|
|
4
|
-
import CloudFront from "@aws-sdk/client-cloudfront";
|
|
5
|
-
import IAM from "@aws-sdk/client-iam";
|
|
6
|
-
import Lambda from "@aws-sdk/client-lambda";
|
|
7
|
-
import S3 from "@aws-sdk/client-s3";
|
|
8
|
-
import CredentialsProvider from "@aws-sdk/credential-providers";
|
|
9
|
-
var SDK = { Lambda, S3, CloudFront, CredentialsProvider, IAM };
|
|
10
|
-
export {
|
|
11
|
-
SDK
|
|
12
|
-
};
|