@hot-updater/aws 1.0.0-rc.44 → 1.0.0-rc.45
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/index.cjs +0 -13
- package/dist/index.d.cts +2 -1015
- package/dist/index.d.mts +2 -1015
- package/dist/index.mjs +1 -13
- package/dist/init/index.cjs +21 -16
- package/dist/init/index.mjs +21 -16
- package/dist/lambda/index.cjs +6140 -6147
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,6 @@ let _aws_sdk_client_ssm = require("@aws-sdk/client-ssm");
|
|
|
7
7
|
let _aws_sdk_cloudfront_signer = require("@aws-sdk/cloudfront-signer");
|
|
8
8
|
let _aws_sdk_client_s3 = require("@aws-sdk/client-s3");
|
|
9
9
|
let _aws_sdk_lib_storage = require("@aws-sdk/lib-storage");
|
|
10
|
-
let _hot_updater_server_plugins = require("@hot-updater/server/plugins");
|
|
11
10
|
//#region src/cloudFrontInvalidation.ts
|
|
12
11
|
const DEFAULT_POLL_INTERVAL_MS = 2e3;
|
|
13
12
|
const DEFAULT_TIMEOUT_MS = 3e5;
|
|
@@ -586,19 +585,7 @@ function s3Storage(config) {
|
|
|
586
585
|
});
|
|
587
586
|
}
|
|
588
587
|
//#endregion
|
|
589
|
-
//#region src/plugins.ts
|
|
590
|
-
/**
|
|
591
|
-
* The plugins the managed AWS server runs: Insights, API keys on every
|
|
592
|
-
* client route, and Remote Config. Its Lambda@Edge function imports this list.
|
|
593
|
-
*/
|
|
594
|
-
const plugins = [
|
|
595
|
-
(0, _hot_updater_server_plugins.insights)(),
|
|
596
|
-
(0, _hot_updater_server_plugins.apiKeys)(),
|
|
597
|
-
(0, _hot_updater_server_plugins.remoteConfig)()
|
|
598
|
-
];
|
|
599
|
-
//#endregion
|
|
600
588
|
exports.cloudFrontDownloadUrl = cloudFrontDownloadUrl;
|
|
601
589
|
exports.dynamoDB = dynamoDB;
|
|
602
590
|
exports.migrateDynamoDB = migrateDynamoDB;
|
|
603
|
-
exports.plugins = plugins;
|
|
604
591
|
exports.s3Storage = s3Storage;
|