@absolutejs/absolute 0.20.0-beta.19 → 0.20.0-beta.20
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-3TvpbO/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-3TvpbO/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
48
48
|
getWarningController()?.maybeWarn(primitiveName);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
// .angular-partial-tmp-
|
|
51
|
+
// .angular-partial-tmp-3TvpbO/src/core/streamingSlotRegistry.ts
|
|
52
52
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
53
53
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
54
54
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
|
@@ -436,6 +436,10 @@ var installAbsoluteMobileStaticDocument = async (manifest, page, localUrl) => {
|
|
|
436
436
|
// src/mobile/shellBootstrap.ts
|
|
437
437
|
var MANIFEST_PATH = "./absolute-mobile-manifest.json";
|
|
438
438
|
var STATUS_ID = "absolute-mobile-status";
|
|
439
|
+
var initialNavigationPath = (entry) => {
|
|
440
|
+
const current = `${location.pathname}${location.search}${location.hash}`;
|
|
441
|
+
return current === "/" || current === "/index.html" ? entry : current;
|
|
442
|
+
};
|
|
439
443
|
var navigationGeneration = 0;
|
|
440
444
|
var readManifest = async () => {
|
|
441
445
|
const response = await fetch(MANIFEST_PATH, { cache: "no-store" });
|
|
@@ -573,7 +577,7 @@ var startAbsoluteMobileShell = async (options = {}) => {
|
|
|
573
577
|
const onNavigate = (path) => {
|
|
574
578
|
navigateWithFailureState(manifest, path, true, reinstallBrowserNavigation, auth?.fetch);
|
|
575
579
|
};
|
|
576
|
-
await navigateWithFailureState(manifest, manifest.entry, false, reinstallBrowserNavigation, auth?.fetch);
|
|
580
|
+
await navigateWithFailureState(manifest, initialNavigationPath(manifest.entry), false, reinstallBrowserNavigation, auth?.fetch);
|
|
577
581
|
await installDeepLinks(manifest, onNavigate, auth?.redirectUri);
|
|
578
582
|
};
|
|
579
583
|
export {
|
package/package.json
CHANGED
|
@@ -279,12 +279,12 @@
|
|
|
279
279
|
"main": "./dist/index.js",
|
|
280
280
|
"name": "@absolutejs/absolute",
|
|
281
281
|
"optionalDependencies": {
|
|
282
|
-
"@absolutejs/native-darwin-arm64": "0.20.0-beta.
|
|
283
|
-
"@absolutejs/native-darwin-x64": "0.20.0-beta.
|
|
284
|
-
"@absolutejs/native-linux-arm64": "0.20.0-beta.
|
|
285
|
-
"@absolutejs/native-linux-x64": "0.20.0-beta.
|
|
286
|
-
"@absolutejs/native-windows-arm64": "0.20.0-beta.
|
|
287
|
-
"@absolutejs/native-windows-x64": "0.20.0-beta.
|
|
282
|
+
"@absolutejs/native-darwin-arm64": "0.20.0-beta.20",
|
|
283
|
+
"@absolutejs/native-darwin-x64": "0.20.0-beta.20",
|
|
284
|
+
"@absolutejs/native-linux-arm64": "0.20.0-beta.20",
|
|
285
|
+
"@absolutejs/native-linux-x64": "0.20.0-beta.20",
|
|
286
|
+
"@absolutejs/native-windows-arm64": "0.20.0-beta.20",
|
|
287
|
+
"@absolutejs/native-windows-x64": "0.20.0-beta.20"
|
|
288
288
|
},
|
|
289
289
|
"overrides": {
|
|
290
290
|
"@sinclair/typebox": "0.34.52",
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
]
|
|
496
496
|
}
|
|
497
497
|
},
|
|
498
|
-
"version": "0.20.0-beta.
|
|
498
|
+
"version": "0.20.0-beta.20",
|
|
499
499
|
"workspaces": [
|
|
500
500
|
"tests/fixtures/*",
|
|
501
501
|
"tests/fixtures/_packages/*"
|