web-manager 4.0.29 → 4.0.30
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 +7 -0
- package/dist/index.js +10 -2
- package/firebase-debug.log +56 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,13 @@ 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.0.29] - 2025-12-02
|
|
19
|
+
### Fixed
|
|
20
|
+
- Fixed notification subscription storing to incorrect Firestore path (`users/{uid}/notifications/{token}` → `notifications/{token}`).
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- Refactored `_saveSubscription` to use internal Firestore wrapper instead of direct Firebase imports.
|
|
24
|
+
|
|
18
25
|
## [4.0.28] - 2025-12-01
|
|
19
26
|
### Added
|
|
20
27
|
- Added `exports` field to package.json for explicit module resolution support.
|
package/dist/index.js
CHANGED
|
@@ -486,6 +486,11 @@ class Manager {
|
|
|
486
486
|
|
|
487
487
|
async _checkVersion() {
|
|
488
488
|
if (this.isDevelopment()) {
|
|
489
|
+
/* @dev-only:start */
|
|
490
|
+
{
|
|
491
|
+
console.log('[Version] Skipping version check in development mode');
|
|
492
|
+
}
|
|
493
|
+
/* @dev-only:end */
|
|
489
494
|
return;
|
|
490
495
|
}
|
|
491
496
|
|
|
@@ -526,12 +531,15 @@ class Manager {
|
|
|
526
531
|
// Add 1 hour to current build time to account for npm build process
|
|
527
532
|
buildTimeCurrent.setHours(buildTimeCurrent.getHours() + 1);
|
|
528
533
|
|
|
534
|
+
// Log version info
|
|
535
|
+
console.log(`[Version] Current build time: ${buildTimeCurrent.toISOString()}, Live build time: ${buildTimeLive.toISOString()}`);
|
|
536
|
+
|
|
529
537
|
// If live version is newer, reload the page
|
|
530
538
|
if (buildTimeCurrent >= buildTimeLive) {
|
|
531
539
|
return; // No update needed
|
|
532
540
|
}
|
|
533
541
|
|
|
534
|
-
console.log('New version detected, reloading page...');
|
|
542
|
+
console.log('[Version] New version detected, reloading page...');
|
|
535
543
|
|
|
536
544
|
// Force page reload
|
|
537
545
|
window.onbeforeunload = function () {
|
|
@@ -540,7 +548,7 @@ class Manager {
|
|
|
540
548
|
|
|
541
549
|
window.location.reload(true);
|
|
542
550
|
} catch (error) {
|
|
543
|
-
console.warn('Version check
|
|
551
|
+
console.warn('[Version] Failed version check:', error);
|
|
544
552
|
}
|
|
545
553
|
}
|
|
546
554
|
}
|
package/firebase-debug.log
CHANGED
|
@@ -266,3 +266,59 @@
|
|
|
266
266
|
[debug] [2025-12-02T09:47:00.976Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
267
267
|
[debug] [2025-12-02T09:47:00.977Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
268
268
|
[debug] [2025-12-02T09:47:00.977Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
269
|
+
[debug] [2025-12-02T11:00:24.206Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
270
|
+
[debug] [2025-12-02T11:00:24.206Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
271
|
+
[debug] [2025-12-02T11:00:24.208Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
272
|
+
[debug] [2025-12-02T11:00:24.208Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
273
|
+
[debug] [2025-12-02T11:00:24.208Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
274
|
+
[debug] [2025-12-02T11:00:24.216Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
275
|
+
[debug] [2025-12-02T11:00:24.217Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
276
|
+
[debug] [2025-12-02T11:00:24.208Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
277
|
+
[debug] [2025-12-02T11:00:24.208Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
278
|
+
[debug] [2025-12-02T11:00:24.208Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
279
|
+
[debug] [2025-12-02T11:00:24.220Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
280
|
+
[debug] [2025-12-02T11:00:24.221Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
281
|
+
[debug] [2025-12-02T11:00:24.234Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
282
|
+
[debug] [2025-12-02T11:00:24.234Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
283
|
+
[debug] [2025-12-02T11:00:24.235Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
284
|
+
[debug] [2025-12-02T11:00:24.235Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
285
|
+
[debug] [2025-12-02T11:00:24.236Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
286
|
+
[debug] [2025-12-02T11:00:24.237Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
287
|
+
[debug] [2025-12-02T11:00:24.237Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
288
|
+
[debug] [2025-12-02T11:00:24.237Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
289
|
+
[debug] [2025-12-02T11:00:24.237Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
290
|
+
[debug] [2025-12-02T11:00:24.236Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
291
|
+
[debug] [2025-12-02T11:00:24.237Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
292
|
+
[debug] [2025-12-02T11:00:24.237Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
293
|
+
[debug] [2025-12-02T11:00:24.238Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
294
|
+
[debug] [2025-12-02T11:00:24.238Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
295
|
+
[debug] [2025-12-02T11:00:24.239Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
296
|
+
[debug] [2025-12-02T11:00:24.239Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
297
|
+
[debug] [2025-12-02T21:13:04.552Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
298
|
+
[debug] [2025-12-02T21:13:04.553Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
299
|
+
[debug] [2025-12-02T21:13:04.554Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
300
|
+
[debug] [2025-12-02T21:13:04.555Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
301
|
+
[debug] [2025-12-02T21:13:04.555Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
302
|
+
[debug] [2025-12-02T21:13:04.567Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
303
|
+
[debug] [2025-12-02T21:13:04.568Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
304
|
+
[debug] [2025-12-02T21:13:04.555Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
305
|
+
[debug] [2025-12-02T21:13:04.556Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
306
|
+
[debug] [2025-12-02T21:13:04.556Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
307
|
+
[debug] [2025-12-02T21:13:04.569Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
308
|
+
[debug] [2025-12-02T21:13:04.569Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
309
|
+
[debug] [2025-12-02T21:13:04.580Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
310
|
+
[debug] [2025-12-02T21:13:04.581Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
311
|
+
[debug] [2025-12-02T21:13:04.580Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
312
|
+
[debug] [2025-12-02T21:13:04.581Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
313
|
+
[debug] [2025-12-02T21:13:04.581Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
314
|
+
[debug] [2025-12-02T21:13:04.583Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
315
|
+
[debug] [2025-12-02T21:13:04.583Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
316
|
+
[debug] [2025-12-02T21:13:04.583Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
317
|
+
[debug] [2025-12-02T21:13:04.583Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
318
|
+
[debug] [2025-12-02T21:13:04.582Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
319
|
+
[debug] [2025-12-02T21:13:04.583Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
320
|
+
[debug] [2025-12-02T21:13:04.583Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
321
|
+
[debug] [2025-12-02T21:13:04.584Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
322
|
+
[debug] [2025-12-02T21:13:04.584Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
323
|
+
[debug] [2025-12-02T21:13:04.585Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
324
|
+
[debug] [2025-12-02T21:13:04.585Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-manager",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.30",
|
|
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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"replace": {}
|
|
40
40
|
},
|
|
41
41
|
"notes": {
|
|
42
|
-
"@sentry/browser": "
|
|
42
|
+
"@sentry/browser": "Resolved by using OVERRIDES in web-manager (lighthouse is the issue"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@sentry/browser": "^10.27.0",
|