web-manager 4.1.19 → 4.1.21

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/CHANGELOG.md CHANGED
@@ -15,7 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
15
15
  - `Security` in case of vulnerabilities.
16
16
 
17
17
  ---
18
- ## [4.1.18] - 2026-03-11
18
+ ## [4.1.19] - 2026-03-11
19
19
  ### Added
20
20
  - Added new chatsy import.
21
21
 
package/dist/index.js CHANGED
@@ -438,6 +438,12 @@ class Manager {
438
438
 
439
439
  // Let auth module handle everything including DOM updates
440
440
  this._auth._handleAuthStateChange(user);
441
+
442
+ // Update Chatsy with current user
443
+ if (this._chatsy) {
444
+ const resolved = this._auth.getUser();
445
+ this._chatsy.setUser(resolved ? { id: resolved.uid, email: resolved.email, firstName: resolved.displayName, photoURL: resolved.photoURL } : null);
446
+ }
441
447
  });
442
448
  }
443
449
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "4.1.19",
3
+ "version": "4.1.21",
4
4
  "description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
5
5
  "main": "dist/index.js",
6
6
  "module": "src/index.js",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@sentry/browser": "^10.43.0",
46
- "chatsy": "^2.0.2",
46
+ "chatsy": "^2.0.4",
47
47
  "firebase": "^12.10.0",
48
48
  "itwcw-package-analytics": "^1.0.8",
49
49
  "lodash": "^4.17.23"