@absolutejs/absolute 0.19.0-beta.825 → 0.19.0-beta.826

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-GQ5fnl/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-mBKUt0/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-GQ5fnl/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-mBKUt0/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-GQ5fnl/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-mBKUt0/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";
@@ -25,7 +25,11 @@ export const withViewTransition = async (
25
25
  return;
26
26
  }
27
27
 
28
- const start = (document as { startViewTransition: StartViewTransition })
29
- .startViewTransition;
30
- await start(() => mutate()).finished;
28
+ // Call as a method on `document` (NOT as an extracted bare function)
29
+ // `document.startViewTransition` requires `this === document` or it
30
+ // throws "Illegal invocation".
31
+ const doc = document as Document & {
32
+ startViewTransition: StartViewTransition;
33
+ };
34
+ await doc.startViewTransition(() => mutate()).finished;
31
35
  };
package/package.json CHANGED
@@ -384,5 +384,5 @@
384
384
  ]
385
385
  }
386
386
  },
387
- "version": "0.19.0-beta.825"
387
+ "version": "0.19.0-beta.826"
388
388
  }