@trunkjs/browser-utils 1.0.54 → 1.0.55

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 1.0.55 (2026-09-09)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **browser-utils:** notify loader before disconnect cleanup via window ([1440729](https://github.com/trunkjs/trunkjs-monorepo/commit/1440729))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Matthias Leuffen
10
+
1
11
  ## 1.0.54 (2026-09-07)
2
12
 
3
13
  This was a version bump only for browser-utils to align it with other projects, there were no code changes.
package/index.js CHANGED
@@ -633,7 +633,7 @@ function bt(n) {
633
633
  );
634
634
  }
635
635
  disconnectedCallback() {
636
- super.disconnectedCallback(), this.dispatchEvent(
636
+ window.dispatchEvent(
637
637
  new CustomEvent("init:child-ready", {
638
638
  detail: {
639
639
  element: this,
@@ -642,7 +642,7 @@ function bt(n) {
642
642
  bubbles: !0,
643
643
  composed: !0
644
644
  })
645
- );
645
+ ), super.disconnectedCallback();
646
646
  }
647
647
  }
648
648
  return t;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trunkjs/browser-utils",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "main": "./index.js",
5
5
  "repository": {
6
6
  "directory": "packages/browser-utils",