@absolutejs/absolute 0.20.0-beta.157 → 0.20.0-beta.158
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/CHANGELOG.md +6 -0
- package/changelog.json +10 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +7 -7
- package/dist/build.js.map +3 -3
- package/dist/cli/{compile-myhwnrrn.js → compile-30m09382.js} +2 -2
- package/dist/cli/{dev-dpb0bksv.js → dev-488hbm61.js} +1 -1
- package/dist/cli/{expoProject-z1gxrw3s.js → expoProject-h404n2r8.js} +1 -1
- package/dist/cli/{index-cnchgvtx.js → index-55k7vn84.js} +1 -1
- package/dist/cli/{index-3n1vqn3y.js → index-j7m8pq48.js} +1 -1
- package/dist/cli/{index-x3a66ym4.js → index-s0r5q839.js} +2 -1
- package/dist/cli/index.js +5 -5
- package/dist/cli/{mobile-gtnrcfsf.js → mobile-gpxjf5e2.js} +5 -4
- package/dist/cli/{start-3bbpy0md.js → start-4rpdy8hg.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/index.js.map +3 -3
- package/dist/mobile/index.js +7 -7
- package/dist/mobile/index.js.map +4 -4
- package/dist/mobile/remoteMacAgentEntry.js +1 -1
- package/dist/src/mobile/nativePackages.d.ts +1 -0
- package/package.json +2 -2
package/dist/mobile/index.js
CHANGED
|
@@ -3817,17 +3817,17 @@ var MAX_FILE_BYTES, MAX_TOTAL_BYTES, DAY_MS, DEFAULT_MIN_AGE_MS, DEFAULT_GRACE_P
|
|
|
3817
3817
|
const platformUpdate = descriptor.platforms[platform];
|
|
3818
3818
|
if (!platformUpdate || descriptor.runtimeVersion !== runtimeFingerprint)
|
|
3819
3819
|
return new Response(null, { status: 204 });
|
|
3820
|
-
const
|
|
3821
|
-
const releaseRoute = `${
|
|
3820
|
+
const origin = new URL(request.url).origin;
|
|
3821
|
+
const releaseRoute = `${origin}/${route}/${selected.manifest.releaseId}/files`;
|
|
3822
3822
|
const protocolAsset = (asset, launch = false) => {
|
|
3823
|
-
const
|
|
3824
|
-
if (!
|
|
3823
|
+
const file = selected.manifest.files.find((candidate) => candidate.path === asset.path);
|
|
3824
|
+
if (!file)
|
|
3825
3825
|
throw new MobileUpdateRegistryError(`Expo update references missing signed asset ${asset.path}`);
|
|
3826
3826
|
return {
|
|
3827
3827
|
contentType: expoContentType(asset.extension, launch),
|
|
3828
3828
|
...asset.extension ? { fileExtension: `.${asset.extension}` } : {},
|
|
3829
|
-
key:
|
|
3830
|
-
hash: Buffer.from(
|
|
3829
|
+
key: file.sha256,
|
|
3830
|
+
hash: Buffer.from(file.sha256, "hex").toString("base64url"),
|
|
3831
3831
|
url: `${releaseRoute}/${encodeUpdatePath(asset.path)}`
|
|
3832
3832
|
};
|
|
3833
3833
|
};
|
|
@@ -27617,5 +27617,5 @@ export {
|
|
|
27617
27617
|
writeAbsoluteMobileUpdateRegistry
|
|
27618
27618
|
};
|
|
27619
27619
|
|
|
27620
|
-
//# debugId=
|
|
27620
|
+
//# debugId=5848DFFEC6AA014664756E2164756E21
|
|
27621
27621
|
//# sourceMappingURL=index.js.map
|