@hot-updater/aws 0.29.1 → 0.29.2
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/lambda/index.cjs +1 -3
- package/package.json +8 -8
package/dist/lambda/index.cjs
CHANGED
|
@@ -36,7 +36,7 @@ let path = require("path");
|
|
|
36
36
|
path = __toESM(path);
|
|
37
37
|
let _aws_sdk_client_ssm = require("@aws-sdk/client-ssm");
|
|
38
38
|
let _aws_sdk_cloudfront_signer = require("@aws-sdk/cloudfront-signer");
|
|
39
|
-
//#region ../../packages/core/dist/
|
|
39
|
+
//#region ../../packages/core/dist/index.mjs
|
|
40
40
|
const NUMERIC_COHORT_SIZE = 1e3;
|
|
41
41
|
const DEFAULT_ROLLOUT_COHORT_COUNT = NUMERIC_COHORT_SIZE;
|
|
42
42
|
function parseNumericCohortValue(cohort) {
|
|
@@ -126,8 +126,6 @@ function isCohortEligibleForUpdate(bundleId, cohort, rolloutCohortCount, targetC
|
|
|
126
126
|
if (normalizedRolloutCount >= 1e3) return true;
|
|
127
127
|
return getNumericCohortRolloutPosition(bundleId, numericCohort) < normalizedRolloutCount;
|
|
128
128
|
}
|
|
129
|
-
//#endregion
|
|
130
|
-
//#region ../../packages/core/dist/uuid.mjs
|
|
131
129
|
const NIL_UUID = "00000000-0000-0000-0000-000000000000";
|
|
132
130
|
//#endregion
|
|
133
131
|
//#region ../plugin-core/dist/calculatePagination.mjs
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/aws",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.29.
|
|
4
|
+
"version": "0.29.2",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"es-toolkit": "^1.32.0",
|
|
43
43
|
"execa": "9.5.2",
|
|
44
44
|
"mime": "^4.0.4",
|
|
45
|
-
"@hot-updater/core": "0.29.
|
|
46
|
-
"@hot-updater/js": "0.29.
|
|
47
|
-
"@hot-updater/mock": "0.29.
|
|
48
|
-
"@hot-updater/test-utils": "0.29.
|
|
45
|
+
"@hot-updater/core": "0.29.2",
|
|
46
|
+
"@hot-updater/js": "0.29.2",
|
|
47
|
+
"@hot-updater/mock": "0.29.2",
|
|
48
|
+
"@hot-updater/test-utils": "0.29.2"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@aws-sdk/client-cloudfront": "3.1008.0",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"@aws-sdk/lib-storage": "3.1008.0",
|
|
61
61
|
"hono": "4.12.9",
|
|
62
62
|
"aws-lambda": "1.0.7",
|
|
63
|
-
"@hot-updater/
|
|
64
|
-
"@hot-updater/
|
|
65
|
-
"@hot-updater/
|
|
63
|
+
"@hot-updater/cli-tools": "0.29.2",
|
|
64
|
+
"@hot-updater/plugin-core": "0.29.2",
|
|
65
|
+
"@hot-updater/server": "0.29.2"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "tsdown",
|