@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.
- package/CHANGELOG.md +12 -0
- package/changelog.json +20 -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-bky8k5we.js → compile-30m09382.js} +4 -4
- 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
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
createElysiaOpenApiTypeboxPlugin,
|
|
16
16
|
createOptionalPeerPlugin,
|
|
17
17
|
resolveServerBundleExternals
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-j7m8pq48.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizeAbsoluteMobileConfig2
|
|
21
21
|
} from "./index-t7yf3vxs.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-s0r5q839.js";
|
|
23
23
|
import {
|
|
24
24
|
ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV2,
|
|
25
25
|
installAbsoluteMobileAuthEnvironment2
|
|
@@ -1096,7 +1096,7 @@ const server = Bun.serve({
|
|
|
1096
1096
|
let assetPath: string;
|
|
1097
1097
|
try { assetPath = decodeURIComponent(url.pathname); }
|
|
1098
1098
|
catch { return new Response("Malformed asset path", { status: 400 }); }
|
|
1099
|
-
const embedded = ASSETS[assetPath];
|
|
1099
|
+
const embedded = ASSETS[url.pathname] ?? ASSETS[assetPath];
|
|
1100
1100
|
if (embedded) {
|
|
1101
1101
|
return new Response(Bun.file(embedded), {
|
|
1102
1102
|
headers: {
|
|
@@ -1109,7 +1109,7 @@ const server = Bun.serve({
|
|
|
1109
1109
|
}
|
|
1110
1110
|
|
|
1111
1111
|
if (url.pathname.startsWith("/_absolute/assets/")) {
|
|
1112
|
-
const retained = await archivedAsset?.(assetPath);
|
|
1112
|
+
const retained = await archivedAsset?.(url.pathname) ?? await archivedAsset?.(assetPath);
|
|
1113
1113
|
if (retained) return new Response(retained, { headers: {
|
|
1114
1114
|
"content-type": getMime(url.pathname),
|
|
1115
1115
|
"cache-control": "public, max-age=31536000, immutable",
|
|
@@ -1338,7 +1338,7 @@ var loadAbsoluteMobileDevModules = async () => {
|
|
|
1338
1338
|
expoNativeWatcher
|
|
1339
1339
|
] = await Promise.all([
|
|
1340
1340
|
import("./config-hy5dkexz.js"),
|
|
1341
|
-
import("./expoProject-
|
|
1341
|
+
import("./expoProject-h404n2r8.js"),
|
|
1342
1342
|
import("./expoDevController-hen9sra5.js"),
|
|
1343
1343
|
import("./nativeAuth-ysv0x5dy.js"),
|
|
1344
1344
|
import("./androidEmulatorController-3zn6a4j3.js"),
|
|
@@ -29,6 +29,7 @@ import { readFile } from "fs/promises";
|
|
|
29
29
|
import { dirname, join, resolve } from "path";
|
|
30
30
|
var ABSOLUTE_CAPACITOR_DEVICES_VERSION = "0.8.1";
|
|
31
31
|
var ABSOLUTE_CAPACITOR_SYNC_VERSION = "0.9.5";
|
|
32
|
+
var ABSOLUTE_DEPLOY_VERSION = "0.33.0";
|
|
32
33
|
var ABSOLUTE_DEVICES_VERSION = "0.7.1";
|
|
33
34
|
var ABSOLUTE_EXPO_DEVICES_VERSION = "0.0.12";
|
|
34
35
|
var ABSOLUTE_NATIVE_EXACT_PACKAGES = new Set([
|
|
@@ -4305,4 +4306,4 @@ var syncAbsoluteExpoWebAssets2 = async (config) => {
|
|
|
4305
4306
|
return { appBuild, assets: assets.length, bundleId, path: destination };
|
|
4306
4307
|
};
|
|
4307
4308
|
|
|
4308
|
-
export { ABSOLUTE_NATIVE_EXACT_PACKAGES, CAPACITOR_PACKAGE_SPECS, CAPACITOR_SYNC_PACKAGE_SPECS, EXPO_APP_EXACT_PACKAGES, EXPO_APP_PACKAGE_SPECS, EXPO_CODE_SIGNING_PACKAGE_SPEC, assertNativePackageVersions, packageNameFromSpec, packagesNeedingExactInstall, discoverAbsoluteSyncSchema, absoluteDeviceNativeRequirements, assertAbsoluteDeviceCapabilityPackages, resolveAbsoluteDeviceCapabilityPlan, ABSOLUTE_MOBILE_UPDATE_FORMAT, absoluteMobileUpdateSigningPayload, canonicalizeAbsoluteMobileUpdate, parseAbsoluteMobileUpdateManifest, unsignedAbsoluteMobileUpdate, resolveAbsoluteMobileUpdateRuntime, ABSOLUTE_CAPACITOR_ASSETS_SPEC, generateAbsoluteCapacitorBranding, inspectAbsoluteMobileBranding, renderAbsoluteMobileBrandingPreview, writeAbsoluteExpoProject2, syncAbsoluteExpoWebAssets2 };
|
|
4309
|
+
export { ABSOLUTE_DEPLOY_VERSION, ABSOLUTE_NATIVE_EXACT_PACKAGES, CAPACITOR_PACKAGE_SPECS, CAPACITOR_SYNC_PACKAGE_SPECS, EXPO_APP_EXACT_PACKAGES, EXPO_APP_PACKAGE_SPECS, EXPO_CODE_SIGNING_PACKAGE_SPEC, assertNativePackageVersions, packageNameFromSpec, packagesNeedingExactInstall, discoverAbsoluteSyncSchema, absoluteDeviceNativeRequirements, assertAbsoluteDeviceCapabilityPackages, resolveAbsoluteDeviceCapabilityPlan, ABSOLUTE_MOBILE_UPDATE_FORMAT, absoluteMobileUpdateSigningPayload, canonicalizeAbsoluteMobileUpdate, parseAbsoluteMobileUpdateManifest, unsignedAbsoluteMobileUpdate, resolveAbsoluteMobileUpdateRuntime, ABSOLUTE_CAPACITOR_ASSETS_SPEC, generateAbsoluteCapacitorBranding, inspectAbsoluteMobileBranding, renderAbsoluteMobileBrandingPreview, writeAbsoluteExpoProject2, syncAbsoluteExpoWebAssets2 };
|
package/dist/cli/index.js
CHANGED
|
@@ -54,7 +54,7 @@ if (command === "dev") {
|
|
|
54
54
|
}
|
|
55
55
|
const positionalArgs = stripNamedArgs("--config", "--android-device", "--ios-device").filter((arg) => arg !== "--no-mobile" && arg !== "--eager");
|
|
56
56
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
57
|
-
const { dev } = await import("./dev-
|
|
57
|
+
const { dev } = await import("./dev-488hbm61.js");
|
|
58
58
|
await dev(serverEntry, configPath, {
|
|
59
59
|
androidDevice,
|
|
60
60
|
eager: args.includes("--eager"),
|
|
@@ -70,7 +70,7 @@ if (command === "dev") {
|
|
|
70
70
|
const configPath = parseNamedArg("--config");
|
|
71
71
|
const positionalArgs = stripNamedArgs("--outdir", "--config").filter((arg) => arg !== "--prebuilt");
|
|
72
72
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
73
|
-
const { start } = await import("./start-
|
|
73
|
+
const { start } = await import("./start-4rpdy8hg.js");
|
|
74
74
|
await start(serverEntry, outdir, configPath, {
|
|
75
75
|
prebuilt: args.includes("--prebuilt")
|
|
76
76
|
});
|
|
@@ -80,7 +80,7 @@ if (command === "dev") {
|
|
|
80
80
|
const configPath = parseNamedArg("--config");
|
|
81
81
|
const positionalArgs = stripNamedArgs("--outdir", "--config");
|
|
82
82
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
83
|
-
const { start } = await import("./start-
|
|
83
|
+
const { start } = await import("./start-4rpdy8hg.js");
|
|
84
84
|
await start(serverEntry, outdir, configPath, { prepareOnly: true });
|
|
85
85
|
} else if (command === "build") {
|
|
86
86
|
sendTelemetryEvent("cli:command", { command });
|
|
@@ -205,13 +205,13 @@ if (command === "dev") {
|
|
|
205
205
|
const configPath = parseNamedArg("--config");
|
|
206
206
|
const positionalArgs = stripNamedArgs("--outdir", "--outfile", "--config");
|
|
207
207
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
208
|
-
const { compile } = await import("./compile-
|
|
208
|
+
const { compile } = await import("./compile-30m09382.js");
|
|
209
209
|
await compile(serverEntry, outdir, outfile, configPath);
|
|
210
210
|
} else if (command === "mobile") {
|
|
211
211
|
sendTelemetryEvent("cli:command", {
|
|
212
212
|
command: `mobile:${workspaceCommand ?? "unknown"}`
|
|
213
213
|
});
|
|
214
|
-
const { runMobile } = await import("./mobile-
|
|
214
|
+
const { runMobile } = await import("./mobile-gpxjf5e2.js");
|
|
215
215
|
try {
|
|
216
216
|
await runMobile(args);
|
|
217
217
|
} catch (error) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
+
ABSOLUTE_DEPLOY_VERSION,
|
|
3
4
|
ABSOLUTE_NATIVE_EXACT_PACKAGES,
|
|
4
5
|
CAPACITOR_PACKAGE_SPECS,
|
|
5
6
|
CAPACITOR_SYNC_PACKAGE_SPECS,
|
|
@@ -25,7 +26,7 @@ import {
|
|
|
25
26
|
renderAbsoluteMobileBrandingPreview,
|
|
26
27
|
writeAbsoluteExpoProject2,
|
|
27
28
|
syncAbsoluteExpoWebAssets2
|
|
28
|
-
} from "./index-
|
|
29
|
+
} from "./index-s0r5q839.js";
|
|
29
30
|
import {
|
|
30
31
|
projectUsesAbsoluteAuth2,
|
|
31
32
|
projectUsesAbsoluteSync2
|
|
@@ -61,7 +62,7 @@ import {
|
|
|
61
62
|
resolveAbsoluteMobileRoute,
|
|
62
63
|
ABSOLUTE_MOBILE_PAGE_PROTOCOL_VERSION,
|
|
63
64
|
ABSOLUTE_MOBILE_CLIENT_MANIFEST_FORMAT
|
|
64
|
-
} from "./index-
|
|
65
|
+
} from "./index-j7m8pq48.js";
|
|
65
66
|
import {
|
|
66
67
|
buildAbsoluteExpoAndroidWslBundle2
|
|
67
68
|
} from "./index-px7fqsfk.js";
|
|
@@ -78,7 +79,7 @@ import {
|
|
|
78
79
|
import"./index-e6ysp900.js";
|
|
79
80
|
import {
|
|
80
81
|
start2
|
|
81
|
-
} from "./index-
|
|
82
|
+
} from "./index-55k7vn84.js";
|
|
82
83
|
import {
|
|
83
84
|
captureAbsoluteRemoteMacCommand2,
|
|
84
85
|
getAbsoluteRemoteMacProfile2,
|
|
@@ -9487,7 +9488,7 @@ var provisionMobileUpdate = async (args) => {
|
|
|
9487
9488
|
throw new TypeError("--storage must be local or s3.");
|
|
9488
9489
|
const modulePath = valueAfter(args, "--registry") ?? mobile.updateServer.registryModule;
|
|
9489
9490
|
const packages = [
|
|
9490
|
-
|
|
9491
|
+
`@absolutejs/deploy@${ABSOLUTE_DEPLOY_VERSION}`,
|
|
9491
9492
|
"@absolutejs/blob@0.5.2",
|
|
9492
9493
|
...requestedStorage === "s3" ? [
|
|
9493
9494
|
"@aws-sdk/client-s3@3.1095.0",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
start2
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-55k7vn84.js";
|
|
5
|
+
import"./index-j7m8pq48.js";
|
|
6
6
|
import"./index-e6ysp900.js";
|
|
7
7
|
import"./index-71gchbzt.js";
|
|
8
8
|
import"./index-h7qhz02e.js";
|
|
9
9
|
import"./index-qyxd5n9a.js";
|
|
10
10
|
import"./index-43a1vvb7.js";
|
|
11
11
|
import"./index-t7yf3vxs.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-s0r5q839.js";
|
|
13
13
|
import"./index-pch0v1z6.js";
|
|
14
14
|
import"./index-v4cg4dvm.js";
|
|
15
15
|
import"./index-74m7kh8c.js";
|
package/dist/index.js
CHANGED
|
@@ -12925,17 +12925,17 @@ var MAX_FILE_BYTES, MAX_TOTAL_BYTES, DAY_MS, DEFAULT_MIN_AGE_MS, DEFAULT_GRACE_P
|
|
|
12925
12925
|
const platformUpdate = descriptor.platforms[platform];
|
|
12926
12926
|
if (!platformUpdate || descriptor.runtimeVersion !== runtimeFingerprint)
|
|
12927
12927
|
return new Response(null, { status: 204 });
|
|
12928
|
-
const
|
|
12929
|
-
const releaseRoute = `${
|
|
12928
|
+
const origin = new URL(request.url).origin;
|
|
12929
|
+
const releaseRoute = `${origin}/${route}/${selected.manifest.releaseId}/files`;
|
|
12930
12930
|
const protocolAsset = (asset, launch = false) => {
|
|
12931
|
-
const
|
|
12932
|
-
if (!
|
|
12931
|
+
const file = selected.manifest.files.find((candidate) => candidate.path === asset.path);
|
|
12932
|
+
if (!file)
|
|
12933
12933
|
throw new MobileUpdateRegistryError(`Expo update references missing signed asset ${asset.path}`);
|
|
12934
12934
|
return {
|
|
12935
12935
|
contentType: expoContentType(asset.extension, launch),
|
|
12936
12936
|
...asset.extension ? { fileExtension: `.${asset.extension}` } : {},
|
|
12937
|
-
key:
|
|
12938
|
-
hash: Buffer.from(
|
|
12937
|
+
key: file.sha256,
|
|
12938
|
+
hash: Buffer.from(file.sha256, "hex").toString("base64url"),
|
|
12939
12939
|
url: `${releaseRoute}/${encodeUpdatePath(asset.path)}`
|
|
12940
12940
|
};
|
|
12941
12941
|
};
|
|
@@ -44160,5 +44160,5 @@ export {
|
|
|
44160
44160
|
wrapPageHandlerWithStreamingSlots
|
|
44161
44161
|
};
|
|
44162
44162
|
|
|
44163
|
-
//# debugId=
|
|
44163
|
+
//# debugId=DE254EFC9F37D1F164756E2164756E21
|
|
44164
44164
|
//# sourceMappingURL=index.js.map
|