@absolutejs/absolute 0.20.0-beta.156 → 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.
@@ -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 origin2 = new URL(request.url).origin;
3821
- const releaseRoute = `${origin2}/${route}/${selected.manifest.releaseId}/files`;
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 file2 = selected.manifest.files.find((candidate) => candidate.path === asset.path);
3824
- if (!file2)
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: file2.sha256,
3830
- hash: Buffer.from(file2.sha256, "hex").toString("base64url"),
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=D72D97560520F54364756E2164756E21
27620
+ //# debugId=5848DFFEC6AA014664756E2164756E21
27621
27621
  //# sourceMappingURL=index.js.map