@absolutejs/absolute 0.20.0-beta.80 → 0.20.0-beta.82
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/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +1200 -222
- package/dist/build.js.map +7 -5
- package/dist/cli/{compile-x4hfth3p.js → compile-t73ac1zb.js} +2 -2
- package/dist/cli/{config-z8wwxatc.js → config-naw5fer4.js} +1 -1
- package/dist/cli/{dev-8vv459ty.js → dev-skb8dz33.js} +1 -1
- package/dist/cli/{index-w5y7wxn9.js → index-8gksmws3.js} +1 -1
- package/dist/cli/{index-6fb7k6dg.js → index-czw3jd8f.js} +47 -1
- package/dist/cli/{index-d4ar3mwd.js → index-q78x1k9q.js} +2 -2
- package/dist/cli/index.js +5 -5
- package/dist/cli/{mobile-mfp26v2d.js → mobile-hkxh2ab5.js} +390 -136
- package/dist/cli/{start-dtrp1pry.js → start-jbgfw27x.js} +3 -3
- package/dist/index.js +2073 -1095
- package/dist/index.js.map +7 -5
- package/dist/mobile/index.js +976 -4
- package/dist/mobile/index.js.map +7 -5
- package/dist/mobile/remoteMacAgentEntry.js +222 -222
- package/dist/src/mobile/config.d.ts +8 -0
- package/dist/src/mobile/index.d.ts +1 -0
- package/dist/src/mobile/updateServer.d.ts +34 -0
- package/dist/types/build.d.ts +16 -0
- package/package.json +7 -2
|
@@ -34,5 +34,13 @@ export type NormalizedAbsoluteMobileConfig = {
|
|
|
34
34
|
keyId: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
+
updateServer?: {
|
|
38
|
+
autoMount: boolean;
|
|
39
|
+
expoCodeSigningKeys: Record<string, {
|
|
40
|
+
certificatePem: string;
|
|
41
|
+
privateKeyEnv: string;
|
|
42
|
+
}>;
|
|
43
|
+
registryModule: string;
|
|
44
|
+
};
|
|
37
45
|
};
|
|
38
46
|
export declare const normalizeAbsoluteMobileConfig: (config: MobileConfig, projectRoot: string) => NormalizedAbsoluteMobileConfig;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Elysia } from 'elysia';
|
|
2
|
+
import type { MobileUpdateRegistry } from '@absolutejs/deploy/mobile-update';
|
|
3
|
+
import type { NormalizedAbsoluteMobileConfig } from './config';
|
|
4
|
+
export declare const ABSOLUTE_MOBILE_UPDATE_SERVER_FORMAT: 1;
|
|
5
|
+
export declare const DEFAULT_MOBILE_UPDATE_REGISTRY_MODULE = "mobile.update.ts";
|
|
6
|
+
export type AbsoluteMobileUpdateServerMetadata = {
|
|
7
|
+
format: typeof ABSOLUTE_MOBILE_UPDATE_SERVER_FORMAT;
|
|
8
|
+
provider: string;
|
|
9
|
+
storage: 'durable' | 'local';
|
|
10
|
+
};
|
|
11
|
+
export type AbsoluteMobileUpdateServerModule = {
|
|
12
|
+
metadata: AbsoluteMobileUpdateServerMetadata;
|
|
13
|
+
registry: MobileUpdateRegistry;
|
|
14
|
+
verifyDurability?: () => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export declare const loadAbsoluteMobileUpdateServerModule: (projectRoot: string, requestedModulePath?: string) => Promise<AbsoluteMobileUpdateServerModule>;
|
|
17
|
+
export declare const createAbsoluteMobileUpdateServerPlugin: (config: NormalizedAbsoluteMobileConfig, projectRoot: string, options?: {
|
|
18
|
+
production?: boolean;
|
|
19
|
+
}) => Promise<Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
20
|
+
typebox: {};
|
|
21
|
+
error: [];
|
|
22
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral>>;
|
|
23
|
+
export declare const inspectAbsoluteMobileUpdateServer: (config: NormalizedAbsoluteMobileConfig, projectRoot: string) => Promise<AbsoluteMobileUpdateServerMetadata | undefined>;
|
|
24
|
+
export declare const renderAbsoluteMobileUpdateRegistry: (options: {
|
|
25
|
+
publicKeys: Readonly<Record<string, string>>;
|
|
26
|
+
storage: "local" | "s3";
|
|
27
|
+
}) => string;
|
|
28
|
+
export declare const writeAbsoluteMobileUpdateRegistry: (options: {
|
|
29
|
+
force?: boolean;
|
|
30
|
+
modulePath?: string;
|
|
31
|
+
projectRoot: string;
|
|
32
|
+
publicKeys: Readonly<Record<string, string>>;
|
|
33
|
+
storage: "local" | "s3";
|
|
34
|
+
}) => Promise<string>;
|
package/dist/types/build.d.ts
CHANGED
|
@@ -106,6 +106,22 @@ type MobileSharedConfig = {
|
|
|
106
106
|
/** Rotation identity. Defaults to `main`. */
|
|
107
107
|
keyId?: string;
|
|
108
108
|
};
|
|
109
|
+
/** Trusted-server update endpoint provisioning. Native clients receive only
|
|
110
|
+
* the manifest URL and public verification material. */
|
|
111
|
+
server?: {
|
|
112
|
+
/** Mount the update endpoint in the AbsoluteJS runtime. Defaults to true. */
|
|
113
|
+
autoMount?: boolean;
|
|
114
|
+
/** Project-relative registry module. Defaults to `mobile.update.ts`. */
|
|
115
|
+
registry?: string;
|
|
116
|
+
/** Environment variable containing the Expo RSA private key PEM. */
|
|
117
|
+
expoPrivateKeyEnv?: string;
|
|
118
|
+
/** Older Expo certificate/private-key references retained while binaries
|
|
119
|
+
* signed with those certificates are still supported. */
|
|
120
|
+
expoCodeSigningKeys?: Readonly<Record<string, {
|
|
121
|
+
certificatePath: string;
|
|
122
|
+
privateKeyEnv: string;
|
|
123
|
+
}>>;
|
|
124
|
+
};
|
|
109
125
|
};
|
|
110
126
|
/** Capacitor webDir output. Defaults to `.absolutejs/mobile/web`. */
|
|
111
127
|
bundleDirectory?: string;
|
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@absolutejs/auth": ">=0.75.0 <0.77.0",
|
|
11
11
|
"@absolutejs/beacon": ">=0.7.0-beta.4 <0.8.0",
|
|
12
|
+
"@absolutejs/deploy": "0.25.6",
|
|
12
13
|
"@absolutejs/devices": "0.7.0",
|
|
13
14
|
"@absolutejs/devices-capacitor": "0.8.0",
|
|
14
15
|
"@absolutejs/devices-expo": "0.0.2",
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
},
|
|
32
33
|
"description": "A fullstack meta-framework for building web applications with TypeScript",
|
|
33
34
|
"devDependencies": {
|
|
34
|
-
"@absolutejs/
|
|
35
|
+
"@absolutejs/blob": "0.5.2",
|
|
35
36
|
"@absolutejs/dispatch": "0.9.0",
|
|
36
37
|
"@absolutejs/manifest": "0.9.0",
|
|
37
38
|
"@absolutejs/scoped-state": "0.2.2",
|
|
@@ -50,6 +51,9 @@
|
|
|
50
51
|
"@angular/platform-server": "21.2.6",
|
|
51
52
|
"@angular/router": "21.2.6",
|
|
52
53
|
"@angular/ssr": "21.2.5",
|
|
54
|
+
"@aws-sdk/client-s3": "3.1095.0",
|
|
55
|
+
"@aws-sdk/lib-storage": "3.1095.0",
|
|
56
|
+
"@aws-sdk/s3-request-presigner": "3.1095.0",
|
|
53
57
|
"@babel/preset-typescript": "^7.28.5",
|
|
54
58
|
"@capacitor-community/sqlite": "8.1.1",
|
|
55
59
|
"@capacitor/android": "8.5.0",
|
|
@@ -455,6 +459,7 @@
|
|
|
455
459
|
"test": "bun run test:unit && bun run test:integration",
|
|
456
460
|
"test:hmr": "bun run scripts/shardedTests.ts tests/integration/hmr",
|
|
457
461
|
"test:integration": "bun run scripts/shardedTests.ts tests/integration",
|
|
462
|
+
"test:mobile:update:durable": "ABSOLUTE_TEST_MOBILE_UPDATE_DURABLE=1 bun test tests/integration/mobile-update-durable-conformance.test.ts",
|
|
458
463
|
"test:native:android": "bun run test:native:android:lifecycle && bun run test:native:android:hmr && bun run test:native:android:bundle",
|
|
459
464
|
"test:native:android:bundle": "ABSOLUTE_TEST_NATIVE_ANDROID=1 bun test tests/native/android-embedded-bundle-conformance.test.ts",
|
|
460
465
|
"test:native:android:hmr": "ABSOLUTE_TEST_NATIVE_ANDROID=1 bun test tests/native/android-hmr-conformance.test.ts",
|
|
@@ -518,7 +523,7 @@
|
|
|
518
523
|
]
|
|
519
524
|
}
|
|
520
525
|
},
|
|
521
|
-
"version": "0.20.0-beta.
|
|
526
|
+
"version": "0.20.0-beta.82",
|
|
522
527
|
"workspaces": [
|
|
523
528
|
"tests/fixtures/*",
|
|
524
529
|
"tests/fixtures/_packages/*"
|