gyosjs 0.1.0 → 0.1.1
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 +1 -1
- package/dist/core/router/router.d.ts.map +1 -1
- package/dist/gyos.auto.esm.js +9 -2
- package/dist/gyos.auto.esm.js.map +1 -1
- package/dist/gyos.auto.js +9 -2
- package/dist/gyos.auto.js.map +1 -1
- package/dist/gyos.auto.min.js +2 -2
- package/dist/gyos.esm.js +9 -2
- package/dist/gyos.esm.js.map +1 -1
- package/dist/gyos.js +9 -2
- package/dist/gyos.js.map +1 -1
- package/dist/gyos.min.js +2 -2
- package/package.json +6 -5
package/dist/gyos.auto.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* GyosJS v0.1.
|
|
2
|
+
* GyosJS v0.1.1
|
|
3
3
|
* (c) 2026
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -7218,6 +7218,11 @@
|
|
|
7218
7218
|
});
|
|
7219
7219
|
});
|
|
7220
7220
|
}
|
|
7221
|
+
function consumeViewTransitionRejection(promise) {
|
|
7222
|
+
// Chrome rejects these when a newer transition skips the current one. The
|
|
7223
|
+
// update callback remains the navigation source of truth and is awaited below.
|
|
7224
|
+
void promise?.catch(() => undefined);
|
|
7225
|
+
}
|
|
7221
7226
|
function runNavigationHooks(callbacks, url) {
|
|
7222
7227
|
callbacks.forEach(callback => {
|
|
7223
7228
|
try {
|
|
@@ -7610,6 +7615,8 @@
|
|
|
7610
7615
|
// Apply view transition if available
|
|
7611
7616
|
if (document.startViewTransition) {
|
|
7612
7617
|
const transition = document.startViewTransition(() => performUpdate());
|
|
7618
|
+
consumeViewTransitionRejection(transition?.ready);
|
|
7619
|
+
consumeViewTransitionRejection(transition?.finished);
|
|
7613
7620
|
if (transition?.updateCallbackDone) {
|
|
7614
7621
|
await transition.updateCallbackDone;
|
|
7615
7622
|
}
|
|
@@ -7871,7 +7878,7 @@
|
|
|
7871
7878
|
onAfterNavigate,
|
|
7872
7879
|
portalCreate,
|
|
7873
7880
|
portalDestroy,
|
|
7874
|
-
version: '0.1.
|
|
7881
|
+
version: '0.1.1'
|
|
7875
7882
|
};
|
|
7876
7883
|
|
|
7877
7884
|
var _a, _b, _c;
|