@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
package/dist/cli/index.js
CHANGED
|
@@ -7093,8 +7093,8 @@ var isElysiaApp = (value) => typeof value === "object" && value !== null && type
|
|
|
7093
7093
|
const usesPush = deviceCapabilities.capabilities.includes("pushNotifications");
|
|
7094
7094
|
if (usesPush && !auth)
|
|
7095
7095
|
throw new TypeError("Portable push notifications require @absolutejs/auth so provider tokens can be registered without exposing identity controls to page code.");
|
|
7096
|
-
if (usesPush && !loaded.app.routes.some((route) => route.path === "/auth/mobile/push"))
|
|
7097
|
-
throw new TypeError("@absolutejs/devices pushNotifications is used, but Auth
|
|
7096
|
+
if (usesPush && !loaded.app.routes.some((route) => route.path === "/auth/push" || route.path === "/auth/mobile/push"))
|
|
7097
|
+
throw new TypeError("@absolutejs/devices pushNotifications is used, but Auth push is not configured. Pass a trusted server-side registrar to auth({ push: ... }).");
|
|
7098
7098
|
assertAbsoluteDeviceCapabilityPackages(options.projectRoot, deviceCapabilities);
|
|
7099
7099
|
if (auth && !loaded.app.routes.some((route) => route.path === "/.well-known/openid-configuration")) {
|
|
7100
7100
|
throw new TypeError("@absolutejs/auth is installed, but its OIDC provider is not mounted. Native authentication requires the auth oidc configuration so AbsoluteJS can provision a public PKCE client.");
|