web-manager 4.0.23 → 4.0.24
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/dist/index.js +1 -0
- package/dist/modules/sentry.js +9 -5
- package/firebase-debug.log +28 -0
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import Firestore from './modules/firestore.js';
|
|
|
7
7
|
import Notifications from './modules/notifications.js';
|
|
8
8
|
import ServiceWorker from './modules/service-worker.js';
|
|
9
9
|
import Sentry from './modules/sentry.js';
|
|
10
|
+
|
|
10
11
|
class Manager {
|
|
11
12
|
constructor() {
|
|
12
13
|
// Configuration from init()
|
package/dist/modules/sentry.js
CHANGED
|
@@ -15,7 +15,7 @@ function isAutomatedBrowser() {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
class
|
|
18
|
+
class mod {
|
|
19
19
|
constructor(manager) {
|
|
20
20
|
this.manager = manager;
|
|
21
21
|
this.initialized = false;
|
|
@@ -32,10 +32,14 @@ class SentryModule {
|
|
|
32
32
|
return new Promise((resolve, reject) => {
|
|
33
33
|
// Dynamically import Sentry to reduce initial bundle size
|
|
34
34
|
import('@sentry/browser')
|
|
35
|
-
.then((
|
|
35
|
+
.then((mod) => {
|
|
36
36
|
// Store reference and expose globally
|
|
37
|
-
this.Sentry =
|
|
38
|
-
|
|
37
|
+
this.Sentry = mod;
|
|
38
|
+
|
|
39
|
+
// Add to window if window is defined
|
|
40
|
+
if (typeof window !== 'undefined') {
|
|
41
|
+
window.Sentry = mod;
|
|
42
|
+
}
|
|
39
43
|
|
|
40
44
|
// Build configuration with our defaults
|
|
41
45
|
this.config = this._buildConfig(config);
|
|
@@ -192,4 +196,4 @@ class SentryModule {
|
|
|
192
196
|
// }
|
|
193
197
|
}
|
|
194
198
|
|
|
195
|
-
export default
|
|
199
|
+
export default mod;
|
package/firebase-debug.log
CHANGED
|
@@ -14,3 +14,31 @@
|
|
|
14
14
|
[debug] [2025-10-20T11:33:46.239Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
15
15
|
[debug] [2025-10-20T11:33:46.240Z] > 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"]
|
|
16
16
|
[debug] [2025-10-20T11:33:46.240Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
17
|
+
[debug] [2025-11-17T02:29:17.386Z] > 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"]
|
|
18
|
+
[debug] [2025-11-17T02:29:17.389Z] > 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"]
|
|
19
|
+
[debug] [2025-11-17T02:29:17.389Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
20
|
+
[debug] [2025-11-17T02:29:17.389Z] > 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"]
|
|
21
|
+
[debug] [2025-11-17T02:29:17.389Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
22
|
+
[debug] [2025-11-17T02:29:17.398Z] > 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"]
|
|
23
|
+
[debug] [2025-11-17T02:29:17.398Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
24
|
+
[debug] [2025-11-17T02:29:17.390Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
25
|
+
[debug] [2025-11-17T02:29:17.391Z] > 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"]
|
|
26
|
+
[debug] [2025-11-17T02:29:17.391Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
27
|
+
[debug] [2025-11-17T02:29:17.403Z] > 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"]
|
|
28
|
+
[debug] [2025-11-17T02:29:17.403Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
29
|
+
[debug] [2025-11-17T02:29:17.415Z] > 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"]
|
|
30
|
+
[debug] [2025-11-17T02:29:17.415Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
31
|
+
[debug] [2025-11-17T02:29:17.415Z] > 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"]
|
|
32
|
+
[debug] [2025-11-17T02:29:17.416Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
33
|
+
[debug] [2025-11-17T02:29:17.417Z] > 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"]
|
|
34
|
+
[debug] [2025-11-17T02:29:17.417Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
35
|
+
[debug] [2025-11-17T02:29:17.418Z] > 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"]
|
|
36
|
+
[debug] [2025-11-17T02:29:17.418Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
37
|
+
[debug] [2025-11-17T02:29:17.418Z] > 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"]
|
|
38
|
+
[debug] [2025-11-17T02:29:17.419Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
39
|
+
[debug] [2025-11-17T02:29:17.419Z] > 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"]
|
|
40
|
+
[debug] [2025-11-17T02:29:17.420Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
41
|
+
[debug] [2025-11-17T02:29:17.421Z] > 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"]
|
|
42
|
+
[debug] [2025-11-17T02:29:17.421Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
43
|
+
[debug] [2025-11-17T02:29:17.422Z] > 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"]
|
|
44
|
+
[debug] [2025-11-17T02:29:17.422Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-manager",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.24",
|
|
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",
|
|
7
7
|
"scripts": {
|
|
8
|
+
"start": "npm run prepare:watch",
|
|
8
9
|
"test": "./node_modules/mocha/bin/mocha test/ --recursive --timeout=10000",
|
|
9
10
|
"test_": "npm run prepare && ./node_modules/mocha/bin/mocha test/ --recursive --timeout=10000",
|
|
10
11
|
"prepare_": "node -e 'require(`prepare-package`)()'",
|