@hot-updater/aws 0.20.0-rc.0 → 0.20.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 +58 -59
- package/dist/iac/index.js +58 -59
- package/dist/index.cjs +3 -2
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -3
- package/dist/lambda/index.cjs +103 -104
- package/package.json +4 -4
package/dist/lambda/index.cjs
CHANGED
|
@@ -121,7 +121,7 @@ var getPattern = (label) => {
|
|
|
121
121
|
if (!patternCache[label]) if (match[2]) patternCache[label] = [
|
|
122
122
|
label,
|
|
123
123
|
match[1],
|
|
124
|
-
new RegExp("^" + match[2] + "$")
|
|
124
|
+
/* @__PURE__ */ new RegExp("^" + match[2] + "$")
|
|
125
125
|
];
|
|
126
126
|
else patternCache[label] = [
|
|
127
127
|
label,
|
|
@@ -829,7 +829,7 @@ var LABEL_REG_EXP_STR = "[^/]+";
|
|
|
829
829
|
var ONLY_WILDCARD_REG_EXP_STR = ".*";
|
|
830
830
|
var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
|
|
831
831
|
var PATH_ERROR = Symbol();
|
|
832
|
-
var regExpMetaChars = new Set(".\\+*[^]$()");
|
|
832
|
+
var regExpMetaChars = /* @__PURE__ */ new Set(".\\+*[^]$()");
|
|
833
833
|
function compareKey(a, b) {
|
|
834
834
|
if (a.length === 1) return b.length === 1 ? a < b ? -1 : 1 : -1;
|
|
835
835
|
if (b.length === 1) return 1;
|
|
@@ -955,7 +955,7 @@ var Trie = class {
|
|
|
955
955
|
return "";
|
|
956
956
|
});
|
|
957
957
|
return [
|
|
958
|
-
new RegExp(`^${regexp}`),
|
|
958
|
+
/* @__PURE__ */ new RegExp(`^${regexp}`),
|
|
959
959
|
indexReplacementMap,
|
|
960
960
|
paramReplacementMap
|
|
961
961
|
];
|
|
@@ -972,7 +972,7 @@ var nullMatcher = [
|
|
|
972
972
|
];
|
|
973
973
|
var wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
|
|
974
974
|
function buildWildcardRegExp(path) {
|
|
975
|
-
return wildcardRegExpCache[path] ??= new RegExp(path === "*" ? "" : `^${path.replace(/\/\*$|([.\\+*[^\]$()])/g, (_, metaChar) => metaChar ? `\\${metaChar}` : "(?:|/.*)")}$`);
|
|
975
|
+
return wildcardRegExpCache[path] ??= /* @__PURE__ */ new RegExp(path === "*" ? "" : `^${path.replace(/\/\*$|([.\\+*[^\]$()])/g, (_, metaChar) => metaChar ? `\\${metaChar}` : "(?:|/.*)")}$`);
|
|
976
976
|
}
|
|
977
977
|
function clearWildcardRegExpCache() {
|
|
978
978
|
wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
|
|
@@ -1412,7 +1412,7 @@ var isContentTypeBinary = (contentType) => {
|
|
|
1412
1412
|
|
|
1413
1413
|
//#endregion
|
|
1414
1414
|
//#region ../../node_modules/.pnpm/@aws-sdk+cloudfront-signer@3.772.0/node_modules/@aws-sdk/cloudfront-signer/dist-cjs/index.js
|
|
1415
|
-
var require_dist_cjs = __commonJS$1({ "../../node_modules/.pnpm/@aws-sdk+cloudfront-signer@3.772.0/node_modules/@aws-sdk/cloudfront-signer/dist-cjs/index.js"(exports, module) {
|
|
1415
|
+
var require_dist_cjs = /* @__PURE__ */ __commonJS$1({ "../../node_modules/.pnpm/@aws-sdk+cloudfront-signer@3.772.0/node_modules/@aws-sdk/cloudfront-signer/dist-cjs/index.js": ((exports, module) => {
|
|
1416
1416
|
var __defProp$1 = Object.defineProperty;
|
|
1417
1417
|
var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
|
|
1418
1418
|
var __getOwnPropNames$1 = Object.getOwnPropertyNames;
|
|
@@ -1636,10 +1636,11 @@ var require_dist_cjs = __commonJS$1({ "../../node_modules/.pnpm/@aws-sdk+cloudfr
|
|
|
1636
1636
|
};
|
|
1637
1637
|
}
|
|
1638
1638
|
};
|
|
1639
|
-
} });
|
|
1639
|
+
}) });
|
|
1640
1640
|
|
|
1641
1641
|
//#endregion
|
|
1642
1642
|
//#region ../js/dist/index.js
|
|
1643
|
+
var import_dist_cjs$1 = /* @__PURE__ */ __toESM$1(require_dist_cjs(), 1);
|
|
1643
1644
|
var __create = Object.create;
|
|
1644
1645
|
var __defProp = Object.defineProperty;
|
|
1645
1646
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1663,7 +1664,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
1663
1664
|
value: mod,
|
|
1664
1665
|
enumerable: true
|
|
1665
1666
|
}) : target, mod));
|
|
1666
|
-
var require_constants = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js"(exports$1, module$1) {
|
|
1667
|
+
var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js": ((exports$1, module$1) => {
|
|
1667
1668
|
const SEMVER_SPEC_VERSION = "2.0.0";
|
|
1668
1669
|
const MAX_LENGTH$2 = 256;
|
|
1669
1670
|
const MAX_SAFE_INTEGER$1 = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
@@ -1688,12 +1689,12 @@ var require_constants = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node
|
|
|
1688
1689
|
FLAG_INCLUDE_PRERELEASE: 1,
|
|
1689
1690
|
FLAG_LOOSE: 2
|
|
1690
1691
|
};
|
|
1691
|
-
} });
|
|
1692
|
-
var require_debug = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js"(exports$1, module$1) {
|
|
1692
|
+
}) });
|
|
1693
|
+
var require_debug = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js": ((exports$1, module$1) => {
|
|
1693
1694
|
const debug$4 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
1694
1695
|
module$1.exports = debug$4;
|
|
1695
|
-
} });
|
|
1696
|
-
var require_re = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js"(exports$1, module$1) {
|
|
1696
|
+
}) });
|
|
1697
|
+
var require_re = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js": ((exports$1, module$1) => {
|
|
1697
1698
|
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH: MAX_LENGTH$1 } = require_constants();
|
|
1698
1699
|
const debug$3 = require_debug();
|
|
1699
1700
|
exports$1 = module$1.exports = {};
|
|
@@ -1769,8 +1770,8 @@ var require_re = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_module
|
|
|
1769
1770
|
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
1770
1771
|
createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
1771
1772
|
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
1772
|
-
} });
|
|
1773
|
-
var require_parse_options = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js"(exports$1, module$1) {
|
|
1773
|
+
}) });
|
|
1774
|
+
var require_parse_options = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js": ((exports$1, module$1) => {
|
|
1774
1775
|
const looseOption = Object.freeze({ loose: true });
|
|
1775
1776
|
const emptyOpts = Object.freeze({});
|
|
1776
1777
|
const parseOptions$3 = (options) => {
|
|
@@ -1779,8 +1780,8 @@ var require_parse_options = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/
|
|
|
1779
1780
|
return options;
|
|
1780
1781
|
};
|
|
1781
1782
|
module$1.exports = parseOptions$3;
|
|
1782
|
-
} });
|
|
1783
|
-
var require_identifiers = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js"(exports$1, module$1) {
|
|
1783
|
+
}) });
|
|
1784
|
+
var require_identifiers = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js": ((exports$1, module$1) => {
|
|
1784
1785
|
const numeric = /^[0-9]+$/;
|
|
1785
1786
|
const compareIdentifiers$1 = (a, b) => {
|
|
1786
1787
|
const anum = numeric.test(a);
|
|
@@ -1796,8 +1797,8 @@ var require_identifiers = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/no
|
|
|
1796
1797
|
compareIdentifiers: compareIdentifiers$1,
|
|
1797
1798
|
rcompareIdentifiers
|
|
1798
1799
|
};
|
|
1799
|
-
} });
|
|
1800
|
-
var require_semver$1 = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js"(exports$1, module$1) {
|
|
1800
|
+
}) });
|
|
1801
|
+
var require_semver$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js": ((exports$1, module$1) => {
|
|
1801
1802
|
const debug$2 = require_debug();
|
|
1802
1803
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
1803
1804
|
const { safeRe: re$3, t: t$3 } = require_re();
|
|
@@ -1967,8 +1968,8 @@ var require_semver$1 = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_
|
|
|
1967
1968
|
}
|
|
1968
1969
|
};
|
|
1969
1970
|
module$1.exports = SemVer$15;
|
|
1970
|
-
} });
|
|
1971
|
-
var require_parse = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js"(exports$1, module$1) {
|
|
1971
|
+
}) });
|
|
1972
|
+
var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js": ((exports$1, module$1) => {
|
|
1972
1973
|
const SemVer$14 = require_semver$1();
|
|
1973
1974
|
const parse$6 = (version, options, throwErrors = false) => {
|
|
1974
1975
|
if (version instanceof SemVer$14) return version;
|
|
@@ -1980,24 +1981,24 @@ var require_parse = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mod
|
|
|
1980
1981
|
}
|
|
1981
1982
|
};
|
|
1982
1983
|
module$1.exports = parse$6;
|
|
1983
|
-
} });
|
|
1984
|
-
var require_valid$1 = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js"(exports$1, module$1) {
|
|
1984
|
+
}) });
|
|
1985
|
+
var require_valid$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js": ((exports$1, module$1) => {
|
|
1985
1986
|
const parse$5 = require_parse();
|
|
1986
1987
|
const valid$1 = (version, options) => {
|
|
1987
1988
|
const v = parse$5(version, options);
|
|
1988
1989
|
return v ? v.version : null;
|
|
1989
1990
|
};
|
|
1990
1991
|
module$1.exports = valid$1;
|
|
1991
|
-
} });
|
|
1992
|
-
var require_clean = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js"(exports$1, module$1) {
|
|
1992
|
+
}) });
|
|
1993
|
+
var require_clean = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js": ((exports$1, module$1) => {
|
|
1993
1994
|
const parse$4 = require_parse();
|
|
1994
1995
|
const clean$1 = (version, options) => {
|
|
1995
1996
|
const s = parse$4(version.trim().replace(/^[=v]+/, ""), options);
|
|
1996
1997
|
return s ? s.version : null;
|
|
1997
1998
|
};
|
|
1998
1999
|
module$1.exports = clean$1;
|
|
1999
|
-
} });
|
|
2000
|
-
var require_inc = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js"(exports$1, module$1) {
|
|
2000
|
+
}) });
|
|
2001
|
+
var require_inc = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js": ((exports$1, module$1) => {
|
|
2001
2002
|
const SemVer$13 = require_semver$1();
|
|
2002
2003
|
const inc$1 = (version, release, options, identifier, identifierBase) => {
|
|
2003
2004
|
if (typeof options === "string") {
|
|
@@ -2012,8 +2013,8 @@ var require_inc = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modul
|
|
|
2012
2013
|
}
|
|
2013
2014
|
};
|
|
2014
2015
|
module$1.exports = inc$1;
|
|
2015
|
-
} });
|
|
2016
|
-
var require_diff = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js"(exports$1, module$1) {
|
|
2016
|
+
}) });
|
|
2017
|
+
var require_diff = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js": ((exports$1, module$1) => {
|
|
2017
2018
|
const parse$3 = require_parse();
|
|
2018
2019
|
const diff$1 = (version1, version2) => {
|
|
2019
2020
|
const v1 = parse$3(version1, null, true);
|
|
@@ -2039,46 +2040,46 @@ var require_diff = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modu
|
|
|
2039
2040
|
return "prerelease";
|
|
2040
2041
|
};
|
|
2041
2042
|
module$1.exports = diff$1;
|
|
2042
|
-
} });
|
|
2043
|
-
var require_major = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js"(exports$1, module$1) {
|
|
2043
|
+
}) });
|
|
2044
|
+
var require_major = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js": ((exports$1, module$1) => {
|
|
2044
2045
|
const SemVer$12 = require_semver$1();
|
|
2045
2046
|
const major$1 = (a, loose) => new SemVer$12(a, loose).major;
|
|
2046
2047
|
module$1.exports = major$1;
|
|
2047
|
-
} });
|
|
2048
|
-
var require_minor = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js"(exports$1, module$1) {
|
|
2048
|
+
}) });
|
|
2049
|
+
var require_minor = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js": ((exports$1, module$1) => {
|
|
2049
2050
|
const SemVer$11 = require_semver$1();
|
|
2050
2051
|
const minor$1 = (a, loose) => new SemVer$11(a, loose).minor;
|
|
2051
2052
|
module$1.exports = minor$1;
|
|
2052
|
-
} });
|
|
2053
|
-
var require_patch = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js"(exports$1, module$1) {
|
|
2053
|
+
}) });
|
|
2054
|
+
var require_patch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js": ((exports$1, module$1) => {
|
|
2054
2055
|
const SemVer$10 = require_semver$1();
|
|
2055
2056
|
const patch$1 = (a, loose) => new SemVer$10(a, loose).patch;
|
|
2056
2057
|
module$1.exports = patch$1;
|
|
2057
|
-
} });
|
|
2058
|
-
var require_prerelease = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js"(exports$1, module$1) {
|
|
2058
|
+
}) });
|
|
2059
|
+
var require_prerelease = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js": ((exports$1, module$1) => {
|
|
2059
2060
|
const parse$2 = require_parse();
|
|
2060
2061
|
const prerelease$1 = (version, options) => {
|
|
2061
2062
|
const parsed = parse$2(version, options);
|
|
2062
2063
|
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
2063
2064
|
};
|
|
2064
2065
|
module$1.exports = prerelease$1;
|
|
2065
|
-
} });
|
|
2066
|
-
var require_compare = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js"(exports$1, module$1) {
|
|
2066
|
+
}) });
|
|
2067
|
+
var require_compare = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js": ((exports$1, module$1) => {
|
|
2067
2068
|
const SemVer$9 = require_semver$1();
|
|
2068
2069
|
const compare$11 = (a, b, loose) => new SemVer$9(a, loose).compare(new SemVer$9(b, loose));
|
|
2069
2070
|
module$1.exports = compare$11;
|
|
2070
|
-
} });
|
|
2071
|
-
var require_rcompare = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js"(exports$1, module$1) {
|
|
2071
|
+
}) });
|
|
2072
|
+
var require_rcompare = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js": ((exports$1, module$1) => {
|
|
2072
2073
|
const compare$10 = require_compare();
|
|
2073
2074
|
const rcompare$1 = (a, b, loose) => compare$10(b, a, loose);
|
|
2074
2075
|
module$1.exports = rcompare$1;
|
|
2075
|
-
} });
|
|
2076
|
-
var require_compare_loose = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js"(exports$1, module$1) {
|
|
2076
|
+
}) });
|
|
2077
|
+
var require_compare_loose = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js": ((exports$1, module$1) => {
|
|
2077
2078
|
const compare$9 = require_compare();
|
|
2078
2079
|
const compareLoose$1 = (a, b) => compare$9(a, b, true);
|
|
2079
2080
|
module$1.exports = compareLoose$1;
|
|
2080
|
-
} });
|
|
2081
|
-
var require_compare_build = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js"(exports$1, module$1) {
|
|
2081
|
+
}) });
|
|
2082
|
+
var require_compare_build = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js": ((exports$1, module$1) => {
|
|
2082
2083
|
const SemVer$8 = require_semver$1();
|
|
2083
2084
|
const compareBuild$3 = (a, b, loose) => {
|
|
2084
2085
|
const versionA = new SemVer$8(a, loose);
|
|
@@ -2086,48 +2087,48 @@ var require_compare_build = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/
|
|
|
2086
2087
|
return versionA.compare(versionB) || versionA.compareBuild(versionB);
|
|
2087
2088
|
};
|
|
2088
2089
|
module$1.exports = compareBuild$3;
|
|
2089
|
-
} });
|
|
2090
|
-
var require_sort = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js"(exports$1, module$1) {
|
|
2090
|
+
}) });
|
|
2091
|
+
var require_sort = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js": ((exports$1, module$1) => {
|
|
2091
2092
|
const compareBuild$2 = require_compare_build();
|
|
2092
2093
|
const sort$1 = (list, loose) => list.sort((a, b) => compareBuild$2(a, b, loose));
|
|
2093
2094
|
module$1.exports = sort$1;
|
|
2094
|
-
} });
|
|
2095
|
-
var require_rsort = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js"(exports$1, module$1) {
|
|
2095
|
+
}) });
|
|
2096
|
+
var require_rsort = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js": ((exports$1, module$1) => {
|
|
2096
2097
|
const compareBuild$1 = require_compare_build();
|
|
2097
2098
|
const rsort$1 = (list, loose) => list.sort((a, b) => compareBuild$1(b, a, loose));
|
|
2098
2099
|
module$1.exports = rsort$1;
|
|
2099
|
-
} });
|
|
2100
|
-
var require_gt = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js"(exports$1, module$1) {
|
|
2100
|
+
}) });
|
|
2101
|
+
var require_gt = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js": ((exports$1, module$1) => {
|
|
2101
2102
|
const compare$8 = require_compare();
|
|
2102
2103
|
const gt$4 = (a, b, loose) => compare$8(a, b, loose) > 0;
|
|
2103
2104
|
module$1.exports = gt$4;
|
|
2104
|
-
} });
|
|
2105
|
-
var require_lt = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js"(exports$1, module$1) {
|
|
2105
|
+
}) });
|
|
2106
|
+
var require_lt = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js": ((exports$1, module$1) => {
|
|
2106
2107
|
const compare$7 = require_compare();
|
|
2107
2108
|
const lt$3 = (a, b, loose) => compare$7(a, b, loose) < 0;
|
|
2108
2109
|
module$1.exports = lt$3;
|
|
2109
|
-
} });
|
|
2110
|
-
var require_eq = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js"(exports$1, module$1) {
|
|
2110
|
+
}) });
|
|
2111
|
+
var require_eq = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js": ((exports$1, module$1) => {
|
|
2111
2112
|
const compare$6 = require_compare();
|
|
2112
2113
|
const eq$2 = (a, b, loose) => compare$6(a, b, loose) === 0;
|
|
2113
2114
|
module$1.exports = eq$2;
|
|
2114
|
-
} });
|
|
2115
|
-
var require_neq = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js"(exports$1, module$1) {
|
|
2115
|
+
}) });
|
|
2116
|
+
var require_neq = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js": ((exports$1, module$1) => {
|
|
2116
2117
|
const compare$5 = require_compare();
|
|
2117
2118
|
const neq$2 = (a, b, loose) => compare$5(a, b, loose) !== 0;
|
|
2118
2119
|
module$1.exports = neq$2;
|
|
2119
|
-
} });
|
|
2120
|
-
var require_gte = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js"(exports$1, module$1) {
|
|
2120
|
+
}) });
|
|
2121
|
+
var require_gte = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js": ((exports$1, module$1) => {
|
|
2121
2122
|
const compare$4 = require_compare();
|
|
2122
2123
|
const gte$3 = (a, b, loose) => compare$4(a, b, loose) >= 0;
|
|
2123
2124
|
module$1.exports = gte$3;
|
|
2124
|
-
} });
|
|
2125
|
-
var require_lte = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js"(exports$1, module$1) {
|
|
2125
|
+
}) });
|
|
2126
|
+
var require_lte = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js": ((exports$1, module$1) => {
|
|
2126
2127
|
const compare$3 = require_compare();
|
|
2127
2128
|
const lte$3 = (a, b, loose) => compare$3(a, b, loose) <= 0;
|
|
2128
2129
|
module$1.exports = lte$3;
|
|
2129
|
-
} });
|
|
2130
|
-
var require_cmp = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js"(exports$1, module$1) {
|
|
2130
|
+
}) });
|
|
2131
|
+
var require_cmp = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js": ((exports$1, module$1) => {
|
|
2131
2132
|
const eq$1 = require_eq();
|
|
2132
2133
|
const neq$1 = require_neq();
|
|
2133
2134
|
const gt$3 = require_gt();
|
|
@@ -2156,8 +2157,8 @@ var require_cmp = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modul
|
|
|
2156
2157
|
}
|
|
2157
2158
|
};
|
|
2158
2159
|
module$1.exports = cmp$2;
|
|
2159
|
-
} });
|
|
2160
|
-
var require_coerce = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js"(exports$1, module$1) {
|
|
2160
|
+
}) });
|
|
2161
|
+
var require_coerce = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js": ((exports$1, module$1) => {
|
|
2161
2162
|
const SemVer$7 = require_semver$1();
|
|
2162
2163
|
const parse$1 = require_parse();
|
|
2163
2164
|
const { safeRe: re$2, t: t$2 } = require_re();
|
|
@@ -2186,8 +2187,8 @@ var require_coerce = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mo
|
|
|
2186
2187
|
return parse$1(`${major$2}.${minor$2}.${patch$2}${prerelease$2}${build}`, options);
|
|
2187
2188
|
};
|
|
2188
2189
|
module$1.exports = coerce$1;
|
|
2189
|
-
} });
|
|
2190
|
-
var require_lrucache = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js"(exports$1, module$1) {
|
|
2190
|
+
}) });
|
|
2191
|
+
var require_lrucache = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js": ((exports$1, module$1) => {
|
|
2191
2192
|
var LRUCache = class {
|
|
2192
2193
|
constructor() {
|
|
2193
2194
|
this.max = 1e3;
|
|
@@ -2218,8 +2219,8 @@ var require_lrucache = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_
|
|
|
2218
2219
|
}
|
|
2219
2220
|
};
|
|
2220
2221
|
module$1.exports = LRUCache;
|
|
2221
|
-
} });
|
|
2222
|
-
var require_range = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js"(exports$1, module$1) {
|
|
2222
|
+
}) });
|
|
2223
|
+
var require_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js": ((exports$1, module$1) => {
|
|
2223
2224
|
const SPACE_CHARACTERS = /\s+/g;
|
|
2224
2225
|
var Range$11 = class Range$11$1 {
|
|
2225
2226
|
constructor(range, options) {
|
|
@@ -2490,8 +2491,8 @@ var require_range = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mod
|
|
|
2490
2491
|
}
|
|
2491
2492
|
return true;
|
|
2492
2493
|
};
|
|
2493
|
-
} });
|
|
2494
|
-
var require_comparator = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js"(exports$1, module$1) {
|
|
2494
|
+
}) });
|
|
2495
|
+
var require_comparator = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js": ((exports$1, module$1) => {
|
|
2495
2496
|
const ANY$2 = Symbol("SemVer ANY");
|
|
2496
2497
|
var Comparator$3 = class Comparator$3$1 {
|
|
2497
2498
|
static get ANY() {
|
|
@@ -2559,8 +2560,8 @@ var require_comparator = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/nod
|
|
|
2559
2560
|
const debug = require_debug();
|
|
2560
2561
|
const SemVer$5 = require_semver$1();
|
|
2561
2562
|
const Range$10 = require_range();
|
|
2562
|
-
} });
|
|
2563
|
-
var require_satisfies = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js"(exports$1, module$1) {
|
|
2563
|
+
}) });
|
|
2564
|
+
var require_satisfies = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js": ((exports$1, module$1) => {
|
|
2564
2565
|
const Range$9 = require_range();
|
|
2565
2566
|
const satisfies$4 = (version, range, options) => {
|
|
2566
2567
|
try {
|
|
@@ -2571,13 +2572,13 @@ var require_satisfies = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node
|
|
|
2571
2572
|
return range.test(version);
|
|
2572
2573
|
};
|
|
2573
2574
|
module$1.exports = satisfies$4;
|
|
2574
|
-
} });
|
|
2575
|
-
var require_to_comparators = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js"(exports$1, module$1) {
|
|
2575
|
+
}) });
|
|
2576
|
+
var require_to_comparators = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js": ((exports$1, module$1) => {
|
|
2576
2577
|
const Range$8 = require_range();
|
|
2577
2578
|
const toComparators$1 = (range, options) => new Range$8(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
2578
2579
|
module$1.exports = toComparators$1;
|
|
2579
|
-
} });
|
|
2580
|
-
var require_max_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js"(exports$1, module$1) {
|
|
2580
|
+
}) });
|
|
2581
|
+
var require_max_satisfying = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js": ((exports$1, module$1) => {
|
|
2581
2582
|
const SemVer$4 = require_semver$1();
|
|
2582
2583
|
const Range$7 = require_range();
|
|
2583
2584
|
const maxSatisfying$1 = (versions, range, options) => {
|
|
@@ -2600,8 +2601,8 @@ var require_max_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2
|
|
|
2600
2601
|
return max;
|
|
2601
2602
|
};
|
|
2602
2603
|
module$1.exports = maxSatisfying$1;
|
|
2603
|
-
} });
|
|
2604
|
-
var require_min_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js"(exports$1, module$1) {
|
|
2604
|
+
}) });
|
|
2605
|
+
var require_min_satisfying = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js": ((exports$1, module$1) => {
|
|
2605
2606
|
const SemVer$3 = require_semver$1();
|
|
2606
2607
|
const Range$6 = require_range();
|
|
2607
2608
|
const minSatisfying$1 = (versions, range, options) => {
|
|
@@ -2624,8 +2625,8 @@ var require_min_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2
|
|
|
2624
2625
|
return min;
|
|
2625
2626
|
};
|
|
2626
2627
|
module$1.exports = minSatisfying$1;
|
|
2627
|
-
} });
|
|
2628
|
-
var require_min_version = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js"(exports$1, module$1) {
|
|
2628
|
+
}) });
|
|
2629
|
+
var require_min_version = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js": ((exports$1, module$1) => {
|
|
2629
2630
|
const SemVer$2 = require_semver$1();
|
|
2630
2631
|
const Range$5 = require_range();
|
|
2631
2632
|
const gt$2 = require_gt();
|
|
@@ -2661,8 +2662,8 @@ var require_min_version = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/no
|
|
|
2661
2662
|
return null;
|
|
2662
2663
|
};
|
|
2663
2664
|
module$1.exports = minVersion$1;
|
|
2664
|
-
} });
|
|
2665
|
-
var require_valid = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js"(exports$1, module$1) {
|
|
2665
|
+
}) });
|
|
2666
|
+
var require_valid = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js": ((exports$1, module$1) => {
|
|
2666
2667
|
const Range$4 = require_range();
|
|
2667
2668
|
const validRange$1 = (range, options) => {
|
|
2668
2669
|
try {
|
|
@@ -2672,8 +2673,8 @@ var require_valid = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mod
|
|
|
2672
2673
|
}
|
|
2673
2674
|
};
|
|
2674
2675
|
module$1.exports = validRange$1;
|
|
2675
|
-
} });
|
|
2676
|
-
var require_outside = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js"(exports$1, module$1) {
|
|
2676
|
+
}) });
|
|
2677
|
+
var require_outside = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js": ((exports$1, module$1) => {
|
|
2677
2678
|
const SemVer$1 = require_semver$1();
|
|
2678
2679
|
const Comparator$2 = require_comparator();
|
|
2679
2680
|
const { ANY: ANY$1 } = Comparator$2;
|
|
@@ -2723,18 +2724,18 @@ var require_outside = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_m
|
|
|
2723
2724
|
return true;
|
|
2724
2725
|
};
|
|
2725
2726
|
module$1.exports = outside$3;
|
|
2726
|
-
} });
|
|
2727
|
-
var require_gtr = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js"(exports$1, module$1) {
|
|
2727
|
+
}) });
|
|
2728
|
+
var require_gtr = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js": ((exports$1, module$1) => {
|
|
2728
2729
|
const outside$2 = require_outside();
|
|
2729
2730
|
const gtr$1 = (version, range, options) => outside$2(version, range, ">", options);
|
|
2730
2731
|
module$1.exports = gtr$1;
|
|
2731
|
-
} });
|
|
2732
|
-
var require_ltr = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js"(exports$1, module$1) {
|
|
2732
|
+
}) });
|
|
2733
|
+
var require_ltr = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js": ((exports$1, module$1) => {
|
|
2733
2734
|
const outside$1 = require_outside();
|
|
2734
2735
|
const ltr$1 = (version, range, options) => outside$1(version, range, "<", options);
|
|
2735
2736
|
module$1.exports = ltr$1;
|
|
2736
|
-
} });
|
|
2737
|
-
var require_intersects = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js"(exports$1, module$1) {
|
|
2737
|
+
}) });
|
|
2738
|
+
var require_intersects = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js": ((exports$1, module$1) => {
|
|
2738
2739
|
const Range$2 = require_range();
|
|
2739
2740
|
const intersects$1 = (r1, r2, options) => {
|
|
2740
2741
|
r1 = new Range$2(r1, options);
|
|
@@ -2742,8 +2743,8 @@ var require_intersects = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/nod
|
|
|
2742
2743
|
return r1.intersects(r2, options);
|
|
2743
2744
|
};
|
|
2744
2745
|
module$1.exports = intersects$1;
|
|
2745
|
-
} });
|
|
2746
|
-
var require_simplify = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js"(exports$1, module$1) {
|
|
2746
|
+
}) });
|
|
2747
|
+
var require_simplify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js": ((exports$1, module$1) => {
|
|
2747
2748
|
const satisfies$2 = require_satisfies();
|
|
2748
2749
|
const compare$2 = require_compare();
|
|
2749
2750
|
module$1.exports = (versions, range, options) => {
|
|
@@ -2773,8 +2774,8 @@ var require_simplify = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_
|
|
|
2773
2774
|
const original = typeof range.raw === "string" ? range.raw : String(range);
|
|
2774
2775
|
return simplified.length < original.length ? simplified : range;
|
|
2775
2776
|
};
|
|
2776
|
-
} });
|
|
2777
|
-
var require_subset = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js"(exports$1, module$1) {
|
|
2777
|
+
}) });
|
|
2778
|
+
var require_subset = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js": ((exports$1, module$1) => {
|
|
2778
2779
|
const Range$1 = require_range();
|
|
2779
2780
|
const Comparator$1 = require_comparator();
|
|
2780
2781
|
const { ANY } = Comparator$1;
|
|
@@ -2866,8 +2867,8 @@ var require_subset = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mo
|
|
|
2866
2867
|
return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
|
|
2867
2868
|
};
|
|
2868
2869
|
module$1.exports = subset$1;
|
|
2869
|
-
} });
|
|
2870
|
-
var require_semver = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js"(exports$1, module$1) {
|
|
2870
|
+
}) });
|
|
2871
|
+
var require_semver = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js": ((exports$1, module$1) => {
|
|
2871
2872
|
const internalRe = require_re();
|
|
2872
2873
|
const constants = require_constants();
|
|
2873
2874
|
const SemVer = require_semver$1();
|
|
@@ -2956,8 +2957,8 @@ var require_semver = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mo
|
|
|
2956
2957
|
compareIdentifiers: identifiers.compareIdentifiers,
|
|
2957
2958
|
rcompareIdentifiers: identifiers.rcompareIdentifiers
|
|
2958
2959
|
};
|
|
2959
|
-
} });
|
|
2960
|
-
var import_semver = __toESM(require_semver());
|
|
2960
|
+
}) });
|
|
2961
|
+
var import_semver = /* @__PURE__ */ __toESM(require_semver(), 1);
|
|
2961
2962
|
const semverSatisfies = (targetAppVersion, currentVersion) => {
|
|
2962
2963
|
const currentCoerce = import_semver.default.coerce(currentVersion);
|
|
2963
2964
|
if (!currentCoerce) return false;
|
|
@@ -3074,7 +3075,6 @@ const filterCompatibleAppVersions = (targetAppVersionList, currentVersion) => {
|
|
|
3074
3075
|
};
|
|
3075
3076
|
const encoder = new TextEncoder();
|
|
3076
3077
|
const decoder = new TextDecoder();
|
|
3077
|
-
const MAX_INT32 = 2 ** 32;
|
|
3078
3078
|
var JOSEError = class extends Error {
|
|
3079
3079
|
static code = "ERR_JOSE_GENERIC";
|
|
3080
3080
|
code = "ERR_JOSE_GENERIC";
|
|
@@ -3084,14 +3084,14 @@ var JOSEError = class extends Error {
|
|
|
3084
3084
|
Error.captureStackTrace?.(this, this.constructor);
|
|
3085
3085
|
}
|
|
3086
3086
|
};
|
|
3087
|
-
|
|
3087
|
+
(class extends JOSEError {
|
|
3088
3088
|
[Symbol.asyncIterator];
|
|
3089
3089
|
static code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
|
|
3090
3090
|
code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
|
|
3091
3091
|
constructor(message$1 = "multiple matching keys found in the JSON Web Key Set", options) {
|
|
3092
3092
|
super(message$1, options);
|
|
3093
3093
|
}
|
|
3094
|
-
};
|
|
3094
|
+
});
|
|
3095
3095
|
const minute = 60;
|
|
3096
3096
|
const hour = minute * 60;
|
|
3097
3097
|
const day = hour * 24;
|
|
@@ -3100,7 +3100,6 @@ const year = day * 365.25;
|
|
|
3100
3100
|
|
|
3101
3101
|
//#endregion
|
|
3102
3102
|
//#region lambda/getUpdateInfo.ts
|
|
3103
|
-
var import_dist_cjs$1 = __toESM$1(require_dist_cjs());
|
|
3104
3103
|
const getCdnJson = async ({ baseUrl, key, keyPairId, privateKey }) => {
|
|
3105
3104
|
try {
|
|
3106
3105
|
const url = new URL(baseUrl);
|
|
@@ -3177,7 +3176,7 @@ const fingerprintStrategy = async ({ baseUrl, keyPairId, privateKey }, { platfor
|
|
|
3177
3176
|
|
|
3178
3177
|
//#endregion
|
|
3179
3178
|
//#region lambda/withSignedUrl.ts
|
|
3180
|
-
var import_dist_cjs = __toESM$1(require_dist_cjs());
|
|
3179
|
+
var import_dist_cjs = /* @__PURE__ */ __toESM$1(require_dist_cjs(), 1);
|
|
3181
3180
|
/**
|
|
3182
3181
|
* Creates a CloudFront signed URL based on the provided update information.
|
|
3183
3182
|
*
|
|
@@ -3315,7 +3314,7 @@ app.get("/api/check-update/app-version/:platform/:appVersion/:channel/:minBundle
|
|
|
3315
3314
|
minBundleId: actualMinBundleId,
|
|
3316
3315
|
appVersion
|
|
3317
3316
|
};
|
|
3318
|
-
const expiresSeconds =
|
|
3317
|
+
const expiresSeconds = 3600 * 24 * 365;
|
|
3319
3318
|
return handleUpdateRequest(c, params, "appVersion", expiresSeconds);
|
|
3320
3319
|
});
|
|
3321
3320
|
app.get("/api/check-update/fingerprint/:platform/:fingerprintHash/:channel/:minBundleId/:bundleId", async (c) => {
|
|
@@ -3339,7 +3338,7 @@ app.get("/api/check-update/fingerprint/:platform/:fingerprintHash/:channel/:minB
|
|
|
3339
3338
|
minBundleId: actualMinBundleId,
|
|
3340
3339
|
fingerprintHash
|
|
3341
3340
|
};
|
|
3342
|
-
const expiresSeconds =
|
|
3341
|
+
const expiresSeconds = 3600 * 24 * 365;
|
|
3343
3342
|
return handleUpdateRequest(c, params, "fingerprint", expiresSeconds);
|
|
3344
3343
|
});
|
|
3345
3344
|
app.get("*", async (c) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/aws",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.20.0
|
|
4
|
+
"version": "0.20.0",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"mime": "^4.0.4",
|
|
46
46
|
"picocolors": "^1.0.0",
|
|
47
47
|
"@clack/prompts": "0.10.0",
|
|
48
|
-
"@hot-updater/core": "0.20.0
|
|
49
|
-
"@hot-updater/js": "0.20.0
|
|
48
|
+
"@hot-updater/core": "0.20.0",
|
|
49
|
+
"@hot-updater/js": "0.20.0"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@aws-sdk/client-cloudfront": "3.772.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@aws-sdk/credential-providers": "3.772.0",
|
|
58
58
|
"@aws-sdk/lib-storage": "3.772.0",
|
|
59
59
|
"aws-lambda": "1.0.7",
|
|
60
|
-
"@hot-updater/plugin-core": "0.20.0
|
|
60
|
+
"@hot-updater/plugin-core": "0.20.0"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "tsdown",
|