@hot-updater/aws 0.36.7 → 1.0.0-rc.0
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 +2670 -824
- package/dist/iac/index.d.cts +15 -1
- package/dist/iac/index.d.mts +15 -1
- package/dist/iac/index.mjs +2669 -825
- package/dist/index.cjs +1916 -1853
- package/dist/index.d.cts +37 -46
- package/dist/index.d.mts +39 -47
- package/dist/index.mjs +1916 -1828
- package/dist/init/index.cjs +13 -13
- package/dist/init/index.d.cts +13 -13
- package/dist/init/index.d.mts +13 -13
- package/dist/init/index.mjs +13 -13
- package/dist/lambda/index.cjs +6468 -4308
- package/dist/lambda/index.d.cts +4 -4
- package/package.json +9 -9
package/dist/lambda/index.d.cts
CHANGED
|
@@ -4,14 +4,14 @@ import { CloudFrontRequestHandler } from "aws-lambda";
|
|
|
4
4
|
declare global {
|
|
5
5
|
var HotUpdater: {
|
|
6
6
|
CLOUDFRONT_KEY_PAIR_ID: string;
|
|
7
|
+
DYNAMODB_REGION: string;
|
|
8
|
+
DYNAMODB_TABLE_NAME: string;
|
|
7
9
|
SSM_PARAMETER_NAME: string;
|
|
8
10
|
SSM_REGION: string;
|
|
9
11
|
S3_BUCKET_NAME: string;
|
|
10
12
|
};
|
|
11
13
|
}
|
|
12
|
-
declare const
|
|
13
|
-
declare const SHARED_EDGE_CACHE_CONTROL = "public, max-age=0, s-maxage=31536000, must-revalidate";
|
|
14
|
-
declare const HOT_UPDATER_BASE_PATH = "/api/check-update";
|
|
14
|
+
declare const HOT_UPDATER_BASE_PATH = "/";
|
|
15
15
|
declare const handler: CloudFrontRequestHandler;
|
|
16
16
|
//#endregion
|
|
17
|
-
export { HOT_UPDATER_BASE_PATH,
|
|
17
|
+
export { HOT_UPDATER_BASE_PATH, handler };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/aws",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.0-rc.0",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -50,27 +50,27 @@
|
|
|
50
50
|
"es-toolkit": "^1.32.0",
|
|
51
51
|
"execa": "9.5.2",
|
|
52
52
|
"mime": "^4.0.4",
|
|
53
|
-
"@hot-updater/
|
|
54
|
-
"@hot-updater/
|
|
55
|
-
"@hot-updater/
|
|
56
|
-
"@hot-updater/test-utils": "0.36.7"
|
|
53
|
+
"@hot-updater/mock": "1.0.0-rc.0",
|
|
54
|
+
"@hot-updater/core": "1.0.0-rc.0",
|
|
55
|
+
"@hot-updater/test-utils": "1.0.0-rc.0"
|
|
57
56
|
},
|
|
58
57
|
"dependencies": {
|
|
59
58
|
"@aws-sdk/client-cloudfront": "3.1066.0",
|
|
59
|
+
"@aws-sdk/client-dynamodb": "3.1066.0",
|
|
60
60
|
"@aws-sdk/client-iam": "3.1066.0",
|
|
61
61
|
"@aws-sdk/client-lambda": "3.1066.0",
|
|
62
62
|
"@aws-sdk/client-s3": "3.1066.0",
|
|
63
63
|
"@aws-sdk/cloudfront-signer": "3.1064.0",
|
|
64
|
-
"@aws-sdk/s3-request-presigner": "3.1066.0",
|
|
65
64
|
"@aws-sdk/client-ssm": "3.1066.0",
|
|
66
65
|
"@aws-sdk/client-sts": "3.1066.0",
|
|
67
66
|
"@aws-sdk/credential-providers": "3.1066.0",
|
|
68
67
|
"@aws-sdk/lib-storage": "3.1066.0",
|
|
68
|
+
"@aws-sdk/lib-dynamodb": "3.1066.0",
|
|
69
69
|
"hono": "4.12.34",
|
|
70
70
|
"aws-lambda": "1.0.7",
|
|
71
|
-
"@hot-updater/cli-tools": "0.
|
|
72
|
-
"@hot-updater/server": "0.
|
|
73
|
-
"@hot-updater/plugin-core": "0.
|
|
71
|
+
"@hot-updater/cli-tools": "1.0.0-rc.0",
|
|
72
|
+
"@hot-updater/server": "1.0.0-rc.0",
|
|
73
|
+
"@hot-updater/plugin-core": "1.0.0-rc.0"
|
|
74
74
|
},
|
|
75
75
|
"scripts": {
|
|
76
76
|
"build": "tsdown",
|