@hot-updater/aws 0.13.3 → 0.13.4
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 +2 -2
- package/dist/iac/index.js +2 -2
- package/package.json +4 -4
package/dist/iac/index.cjs
CHANGED
|
@@ -9345,7 +9345,7 @@ const commonOptions = {
|
|
|
9345
9345
|
credentials: {
|
|
9346
9346
|
accessKeyId: process.env.HOT_UPDATER_S3_ACCESS_KEY_ID!,
|
|
9347
9347
|
secretAccessKey: process.env.HOT_UPDATER_S3_SECRET_ACCESS_KEY!,
|
|
9348
|
-
// This token may expire. For permanent use, it\u2019s recommended to use a key with S3FullAccess permission and remove this field.
|
|
9348
|
+
// This token may expire. For permanent use, it\u2019s recommended to use a key with S3FullAccess and CloudFrontFullAccess permission and remove this field.
|
|
9349
9349
|
sessionToken: process.env.HOT_UPDATER_S3_SESSION_TOKEN!,
|
|
9350
9350
|
},
|
|
9351
9351
|
};
|
|
@@ -9568,7 +9568,7 @@ var runInit = async () => {
|
|
|
9568
9568
|
} else {
|
|
9569
9569
|
await import_fs.default.promises.writeFile("hot-updater.config.ts", CONFIG_TEMPLATE);
|
|
9570
9570
|
}
|
|
9571
|
-
const comment = mode === "account" ? "The current key may have excessive permissions. Update it with an S3FullAccess
|
|
9571
|
+
const comment = mode === "account" ? "The current key may have excessive permissions. Update it with an S3FullAccess and CloudFrontFullAccess key." : "This key was generated via SSO login and may expire. Update it with an S3FullAccess and CloudFrontFullAccess key.";
|
|
9572
9572
|
await (0, import_plugin_core2.makeEnv)({
|
|
9573
9573
|
HOT_UPDATER_S3_BUCKET_NAME: bucketName,
|
|
9574
9574
|
HOT_UPDATER_S3_REGION: bucketRegion,
|
package/dist/iac/index.js
CHANGED
|
@@ -9357,7 +9357,7 @@ const commonOptions = {
|
|
|
9357
9357
|
credentials: {
|
|
9358
9358
|
accessKeyId: process.env.HOT_UPDATER_S3_ACCESS_KEY_ID!,
|
|
9359
9359
|
secretAccessKey: process.env.HOT_UPDATER_S3_SECRET_ACCESS_KEY!,
|
|
9360
|
-
// This token may expire. For permanent use, it\u2019s recommended to use a key with S3FullAccess permission and remove this field.
|
|
9360
|
+
// This token may expire. For permanent use, it\u2019s recommended to use a key with S3FullAccess and CloudFrontFullAccess permission and remove this field.
|
|
9361
9361
|
sessionToken: process.env.HOT_UPDATER_S3_SESSION_TOKEN!,
|
|
9362
9362
|
},
|
|
9363
9363
|
};
|
|
@@ -9580,7 +9580,7 @@ var runInit = async () => {
|
|
|
9580
9580
|
} else {
|
|
9581
9581
|
await fs2.promises.writeFile("hot-updater.config.ts", CONFIG_TEMPLATE);
|
|
9582
9582
|
}
|
|
9583
|
-
const comment = mode === "account" ? "The current key may have excessive permissions. Update it with an S3FullAccess
|
|
9583
|
+
const comment = mode === "account" ? "The current key may have excessive permissions. Update it with an S3FullAccess and CloudFrontFullAccess key." : "This key was generated via SSO login and may expire. Update it with an S3FullAccess and CloudFrontFullAccess key.";
|
|
9584
9584
|
await makeEnv({
|
|
9585
9585
|
HOT_UPDATER_S3_BUCKET_NAME: bucketName,
|
|
9586
9586
|
HOT_UPDATER_S3_REGION: bucketRegion,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/aws",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.4",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
],
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@aws-sdk/cloudfront-signer": "3.772.0",
|
|
39
|
-
"@hot-updater/core": "0.13.
|
|
40
|
-
"@hot-updater/js": "0.13.
|
|
39
|
+
"@hot-updater/core": "0.13.4",
|
|
40
|
+
"@hot-updater/js": "0.13.4",
|
|
41
41
|
"@types/aws-lambda": "^8.10.147",
|
|
42
42
|
"@types/node": "^22.13.1",
|
|
43
43
|
"aws-sdk-client-mock": "^4.1.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@aws-sdk/client-ssm": "3.772.0",
|
|
57
57
|
"@aws-sdk/credential-providers": "3.772.0",
|
|
58
58
|
"@aws-sdk/lib-storage": "3.772.0",
|
|
59
|
-
"@hot-updater/plugin-core": "0.13.
|
|
59
|
+
"@hot-updater/plugin-core": "0.13.4",
|
|
60
60
|
"aws-lambda": "1.0.7"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|