web-manager 4.1.10 → 4.1.12

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
@@ -14,6 +14,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
14
14
  - `Fixed` for any bug fixes.
15
15
  - `Security` in case of vulnerabilities.
16
16
 
17
+ ---
18
+ ## [4.1.10] - 2026-02-17
19
+ ### Changed
20
+ - Refactored auth to use promise-based settler pattern (`_authReady`) for reliable auth state detection, eliminating race conditions with late-registered listeners.
21
+ - Split `listen()` into two clear paths: `once` (waits for settler, fires once) and persistent (subscribes to all changes, catches up if already settled).
22
+ - Renamed `onAuthStateChanged` to `_subscribe` (internal-only).
23
+ - Removed unused `_readyCallbacks`.
24
+
17
25
  ---
18
26
  ## [4.1.1] - 2025-12-17
19
27
  ### Added
@@ -8,6 +8,7 @@ const DEFAULT_ACCOUNT = {
8
8
  cancellation: { pending: false, date: { timestamp: null, timestampUNIX: null } },
9
9
  payment: {
10
10
  processor: null,
11
+ orderId: null,
11
12
  resourceId: null,
12
13
  frequency: null,
13
14
  startDate: { timestamp: null, timestampUNIX: null },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "4.1.10",
3
+ "version": "4.1.12",
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",
@@ -42,7 +42,7 @@
42
42
  "@sentry/browser": "Resolved by using OVERRIDES in web-manager (lighthouse is the issue"
43
43
  },
44
44
  "dependencies": {
45
- "@sentry/browser": "^10.38.0",
45
+ "@sentry/browser": "^10.39.0",
46
46
  "firebase": "^12.9.0",
47
47
  "itwcw-package-analytics": "^1.0.8",
48
48
  "lodash": "^4.17.23"