@absolutejs/absolute 0.20.0-beta.25 → 0.20.0-beta.26
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/README.md +12 -1
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +1254 -977
- package/dist/build.js.map +5 -4
- package/dist/cli/index.js +2 -2
- package/dist/index.js +1314 -1037
- package/dist/index.js.map +5 -4
- package/dist/mobile/index.js +267 -266
- package/dist/mobile/index.js.map +5 -5
- package/dist/src/mobile/deviceCapabilities.d.ts +3 -0
- package/dist/src/mobile/shellPush.d.ts +1 -1
- package/dist/types/build.d.ts +9 -1
- package/package.json +4 -4
|
@@ -38,4 +38,7 @@ export declare const discoverAbsoluteDeviceCapabilities: (projectRoot: string, p
|
|
|
38
38
|
[k: string]: AbsoluteDeviceCapabilityProvider;
|
|
39
39
|
}) => string[];
|
|
40
40
|
export declare const missingAbsoluteDeviceCapabilityPackages: (plan: AbsoluteDeviceCapabilityPlan, directPackages: ReadonlySet<string>) => string[];
|
|
41
|
+
/** Framework-agnostic capability discovery used by web/PWA builds. This does
|
|
42
|
+
* not load a native provider manifest, so Web Push never requires Capacitor. */
|
|
43
|
+
export declare const projectImportsAbsoluteDeviceCapability: (projectRoot: string, capability: string) => boolean;
|
|
41
44
|
export declare const resolveAbsoluteDeviceCapabilityPlan: (projectRoot: string) => AbsoluteDeviceCapabilityPlan;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { secureStorage, type DevicePushNotificationsCapability } from '@absolutejs/devices';
|
|
2
2
|
import type { CapacitorPushNotificationsOptions } from '@absolutejs/devices-capacitor/push-notifications';
|
|
3
3
|
import type { AbsoluteMobileShellAuthRuntime } from './shellBootstrap';
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const ABSOLUTE_PUSH_ROUTE: "/auth/push";
|
|
5
5
|
export declare const createAbsoluteMobileShellPush: ({ storage }?: {
|
|
6
6
|
storage?: Pick<typeof secureStorage, "get" | "remove" | "set">;
|
|
7
7
|
}) => {
|
package/dist/types/build.d.ts
CHANGED
|
@@ -28,11 +28,19 @@ export type PwaConfig = {
|
|
|
28
28
|
path?: string;
|
|
29
29
|
};
|
|
30
30
|
/** Service-worker behavior. Sync is controlled by the sibling `sync` field. */
|
|
31
|
-
serviceWorker?: Omit<import('@absolutejs/pwa').ServiceWorkerOptions, 'sync'>;
|
|
31
|
+
serviceWorker?: Omit<import('@absolutejs/pwa').ServiceWorkerOptions, 'resubscribe' | 'sync'>;
|
|
32
32
|
/** Public worker URL. Defaults to `/sw.js`. */
|
|
33
33
|
serviceWorkerPath?: string;
|
|
34
34
|
/** Provision Auth-aware IndexedDB/background Sync without page-level code. */
|
|
35
35
|
sync?: boolean | Omit<import('@absolutejs/pwa/client').PwaSyncOptions, 'storageSchema'>;
|
|
36
|
+
/** Provision provider-neutral Web Push behind @absolutejs/devices. This is
|
|
37
|
+
* automatic when pushNotifications is imported; set false to opt out. The
|
|
38
|
+
* public VAPID key defaults to VAPID_PUBLIC_KEY at build time. */
|
|
39
|
+
push?: boolean | {
|
|
40
|
+
applicationServerKey?: string;
|
|
41
|
+
/** Root-relative trusted Auth route. Defaults to /auth/push. */
|
|
42
|
+
route?: string;
|
|
43
|
+
};
|
|
36
44
|
};
|
|
37
45
|
export type MobileConfig = {
|
|
38
46
|
/** Capacitor is the universal v1 engine. Expo remains a future React-only engine. */
|
package/package.json
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
"url": "https://github.com/absolutejs/absolutejs/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@absolutejs/auth": "0.
|
|
10
|
+
"@absolutejs/auth": "0.75.0",
|
|
11
11
|
"@absolutejs/devices": "0.6.0",
|
|
12
12
|
"@absolutejs/devices-capacitor": "0.7.1",
|
|
13
|
-
"@absolutejs/pwa": "0.
|
|
13
|
+
"@absolutejs/pwa": "0.14.0",
|
|
14
14
|
"@capacitor/browser": "8.0.4",
|
|
15
15
|
"@capacitor/network": "8.0.1",
|
|
16
16
|
"@capacitor/preferences": "8.0.1",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"description": "A fullstack meta-framework for building web applications with TypeScript",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@absolutejs/dispatch": "0.
|
|
27
|
+
"@absolutejs/dispatch": "0.9.0",
|
|
28
28
|
"@absolutejs/manifest": "0.9.0",
|
|
29
29
|
"@absolutejs/scoped-state": "0.2.2",
|
|
30
30
|
"@absolutejs/sync": "2.29.0",
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
]
|
|
502
502
|
}
|
|
503
503
|
},
|
|
504
|
-
"version": "0.20.0-beta.
|
|
504
|
+
"version": "0.20.0-beta.26",
|
|
505
505
|
"workspaces": [
|
|
506
506
|
"tests/fixtures/*",
|
|
507
507
|
"tests/fixtures/_packages/*"
|