@mapvx/web-js 3.0.0-dev.2 → 3.0.0-dev.4
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/cjs/domain/models/institution.js +1 -0
- package/dist/cjs/domain/models/institution.js.map +1 -1
- package/dist/cjs/domain/models/loggeable.js.map +1 -1
- package/dist/cjs/logger/logger.js.map +1 -1
- package/dist/cjs/logger/sentry.js +9 -4
- package/dist/cjs/logger/sentry.js.map +1 -1
- package/dist/es/domain/models/institution.d.ts +5 -0
- package/dist/es/domain/models/institution.d.ts.map +1 -1
- package/dist/es/domain/models/institution.js +1 -0
- package/dist/es/domain/models/institution.js.map +1 -1
- package/dist/es/domain/models/loggeable.d.ts +3 -4
- package/dist/es/domain/models/loggeable.d.ts.map +1 -1
- package/dist/es/domain/models/loggeable.js.map +1 -1
- package/dist/es/interfaces/institutionResponse.d.ts +1 -0
- package/dist/es/interfaces/institutionResponse.d.ts.map +1 -1
- package/dist/es/logger/logger.d.ts +3 -4
- package/dist/es/logger/logger.d.ts.map +1 -1
- package/dist/es/logger/logger.js.map +1 -1
- package/dist/es/logger/sentry.d.ts +0 -7
- package/dist/es/logger/sentry.d.ts.map +1 -1
- package/dist/es/logger/sentry.js +9 -4
- package/dist/es/logger/sentry.js.map +1 -1
- package/dist/umd/index.js +14 -11
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -32,6 +32,7 @@ class Institution {
|
|
|
32
32
|
var _a;
|
|
33
33
|
this.mapvxId = rawInstitution.id;
|
|
34
34
|
this.country = rawInstitution.country;
|
|
35
|
+
this.city = rawInstitution.city;
|
|
35
36
|
this.title = rawInstitution.title;
|
|
36
37
|
this.category = rawInstitution.category;
|
|
37
38
|
this.icon = rawInstitution.icon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"institution.js","sourceRoot":"","sources":["../../../../src/domain/models/institution.ts"],"names":[],"mappings":";;;AACA,yCAAyD;AAEzD;;;;;;;;;;;;GAYG;AACH,MAAa,WAAW;
|
|
1
|
+
{"version":3,"file":"institution.js","sourceRoot":"","sources":["../../../../src/domain/models/institution.ts"],"names":[],"mappings":";;;AACA,yCAAyD;AAEzD;;;;;;;;;;;;GAYG;AACH,MAAa,WAAW;IAgDtB;;;;;;;;;;;OAWG;IACH,YAAY,cAAmC;;QAC7C,IAAI,CAAC,OAAO,GAAG,cAAc,CAAC,EAAE,CAAA;QAChC,IAAI,CAAC,OAAO,GAAG,cAAc,CAAC,OAAO,CAAA;QACrC,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC,IAAI,CAAA;QAC/B,IAAI,CAAC,KAAK,GAAG,cAAc,CAAC,KAAK,CAAA;QACjC,IAAI,CAAC,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAA;QACvC,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC,IAAI,CAAA;QAC/B,IAAI,CAAC,WAAW,GAAG,cAAc,CAAC,WAAW,CAAA;QAC7C,IAAI,CAAC,SAAS,GAAG,cAAc,CAAC,SAAS,CAAA;QACzC,IAAI,CAAC,UAAU,GAAG,wBAAa,CAAC,eAAe,CAAC,MAAA,cAAc,CAAC,UAAU,mCAAI,EAAE,CAAC,CAAA;IAClF,CAAC;CACF;AAvED,kCAuEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loggeable.js","sourceRoot":"","sources":["../../../../src/domain/models/loggeable.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"loggeable.js","sourceRoot":"","sources":["../../../../src/domain/models/loggeable.ts"],"names":[],"mappings":";;;AAAA,gDAA4C;AAC5C,6CAAkD;AAElD;;;GAGG;AACH,MAAsB,SAAS;IAM7B;QACE,IAAI,CAAC,MAAM,GAAG,eAAM,CAAC,WAAW,EAAE,CAAA;IACpC,CAAC;IAWD;;;;OAIG;IACO,QAAQ,CAAC,SAAiB,EAAE,oBAA4C,EAAE;QAClF,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAA;IAC9E,CAAC;IAED;;;;OAIG;IACO,QAAQ,CAAC,KAAc,EAAE,GAAG,IAAe;QACnD,MAAM,UAAU,GAAG,IAAA,sBAAc,EAAC,KAAK,CAAC,CAAA;QACxC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,GAAG,IAAI,CAAC,CAAA;IAC3C,CAAC;IAED;;;;OAIG;IACO,UAAU,CAAC,KAAc,EAAE,GAAG,IAAe;QACrD,MAAM,UAAU,GAAG,IAAA,sBAAc,EAAC,KAAK,CAAC,CAAA;QACxC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,UAAU,EAAE,GAAG,IAAI,CAAC,CAAA;IAC7C,CAAC;IAES,QAAQ,CAAC,GAAG,IAAe;QACnC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAA;IAC/B,CAAC;IAED;;;OAGG;IACO,QAAQ,CAAC,GAAG,IAAe;QACnC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC5B,CAAC;CACF;AA3DD,8BA2DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../src/logger/logger.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../src/logger/logger.ts"],"names":[],"mappings":";;;AACA,qCAAkE;AAIlE,gFAAgF;AAChF,gFAAgF;AAChF,6EAA6E;AAC7E,8BAA8B;AAC9B,MAAM,QAAQ,GAAY,OAAO,KAAK,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAA;AAEtE,MAAa,MAAM;IAKjB;QACE,IAAI,QAAQ,EAAE,CAAC;YACb,OAAO,CAAC,GAAG,CAAC,oDAAoD,CAAC,CAAA;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,IAAI,QAAQ,EAAE,CAAC;YACb,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;QACxB,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,IAAI,CAAA;YAC7B,MAAM,SAAS,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,IAAA,6BAAoB,EAAC,KAAK,CAAC,CAAC,CAAA;YACzF,MAAA,IAAI,CAAC,MAAM,0CAAE,gBAAgB,CAC3B,SAAS,EACT,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CACvD,CAAA;QACH,CAAC;IACH,CAAC;IAED,QAAQ,CAAC,GAAG,IAAe;QACzB,IAAI,QAAQ;YAAE,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAA;IACpC,CAAC;CACF;AAtED,wBAsEC"}
|
|
@@ -9,7 +9,12 @@ const browser_1 = require("@sentry/browser");
|
|
|
9
9
|
// replaced with the package version by scripts/inject-build-defines.js. The DSN
|
|
10
10
|
// falls back to the public MapVX Sentry project DSN when none is injected at
|
|
11
11
|
// build time — a DSN's public key is safe to ship in the client bundle.
|
|
12
|
-
|
|
12
|
+
//
|
|
13
|
+
// Do NOT rewrite these as `VERSION === undefined`: the `declare const` above
|
|
14
|
+
// exists only for the type-checker, so in the ES/CJS builds the identifier is
|
|
15
|
+
// genuinely absent and a direct comparison throws ReferenceError at module load.
|
|
16
|
+
// `typeof` is the only safe way to probe a possibly-undeclared global.
|
|
17
|
+
const SDK_VERSION = typeof VERSION === "undefined" ? "3.0.0-dev.4" : VERSION;
|
|
13
18
|
const DSN = typeof SENTRY_DSN !== "undefined" && SENTRY_DSN
|
|
14
19
|
? SENTRY_DSN
|
|
15
20
|
: "https://872f598f020e3cd73a0933b562d24c81@sentry.mapvx.app/5";
|
|
@@ -23,12 +28,12 @@ const DSN = typeof SENTRY_DSN !== "undefined" && SENTRY_DSN
|
|
|
23
28
|
* application's own Sentry setup. Manual `scope.addBreadcrumb()` still works
|
|
24
29
|
* without the `Breadcrumbs` integration.
|
|
25
30
|
*/
|
|
26
|
-
const GLOBAL_STATE_INTEGRATIONS = [
|
|
31
|
+
const GLOBAL_STATE_INTEGRATIONS = new Set([
|
|
27
32
|
"BrowserApiErrors",
|
|
28
33
|
"BrowserSession",
|
|
29
34
|
"Breadcrumbs",
|
|
30
35
|
"GlobalHandlers",
|
|
31
|
-
];
|
|
36
|
+
]);
|
|
32
37
|
/**
|
|
33
38
|
* Creates an isolated Sentry scope + client for the SDK.
|
|
34
39
|
*
|
|
@@ -41,7 +46,7 @@ const GLOBAL_STATE_INTEGRATIONS = [
|
|
|
41
46
|
* SDK's dedicated Sentry client.
|
|
42
47
|
*/
|
|
43
48
|
function createSentryScope() {
|
|
44
|
-
const integrations = (0, browser_1.getDefaultIntegrations)({}).filter((integration) => !GLOBAL_STATE_INTEGRATIONS.
|
|
49
|
+
const integrations = (0, browser_1.getDefaultIntegrations)({}).filter((integration) => !GLOBAL_STATE_INTEGRATIONS.has(integration.name));
|
|
45
50
|
const client = new browser_1.BrowserClient({
|
|
46
51
|
dsn: DSN,
|
|
47
52
|
transport: browser_1.makeFetchTransport,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentry.js","sourceRoot":"","sources":["../../../src/logger/sentry.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"sentry.js","sourceRoot":"","sources":["../../../src/logger/sentry.ts"],"names":[],"mappings":";;AAwDA,8CAqBC;AAMD,oDAQC;AA3FD,6CAMwB;AAKxB,8EAA8E;AAC9E,gFAAgF;AAChF,gFAAgF;AAChF,gFAAgF;AAChF,6EAA6E;AAC7E,wEAAwE;AACxE,EAAE;AACF,6EAA6E;AAC7E,8EAA8E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O,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;IAC5B,CAAC;IAAC,WAAM,CAAC;QACP,OAAO,MAAM,CAAC,GAAG,CAAC,CAAA;IACpB,CAAC;AACH,CAAC"}
|
|
@@ -30,6 +30,11 @@ export declare class Institution {
|
|
|
30
30
|
* Country where the institution is located
|
|
31
31
|
*/
|
|
32
32
|
country: string;
|
|
33
|
+
/**
|
|
34
|
+
* City where the institution is located (optional).
|
|
35
|
+
* Institutions that share a city can be grouped together in city filters.
|
|
36
|
+
*/
|
|
37
|
+
city?: string;
|
|
33
38
|
/**
|
|
34
39
|
* Category or type of the institution
|
|
35
40
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"institution.d.ts","sourceRoot":"","sources":["../../../../src/domain/models/institution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,sCAAsC,CAAA;AAC/E,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAA;AAEzD;;;;;;;;;;;;GAYG;AACH,qBAAa,WAAW;IACtB;;OAEG;IACI,OAAO,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACI,KAAK,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACI,WAAW,CAAC,EAAE,MAAM,CAAA;IAE3B;;OAEG;IACI,OAAO,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACI,QAAQ,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACI,SAAS,EAAE,OAAO,CAAA;IAEzB;;;OAGG;IACI,UAAU,CAAC,EAAE,QAAQ,EAAE,CAAA;IAE9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;;;;;;OAWG;gBACS,cAAc,EAAE,mBAAmB;
|
|
1
|
+
{"version":3,"file":"institution.d.ts","sourceRoot":"","sources":["../../../../src/domain/models/institution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,sCAAsC,CAAA;AAC/E,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAA;AAEzD;;;;;;;;;;;;GAYG;AACH,qBAAa,WAAW;IACtB;;OAEG;IACI,OAAO,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACI,KAAK,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACI,WAAW,CAAC,EAAE,MAAM,CAAA;IAE3B;;OAEG;IACI,OAAO,EAAE,MAAM,CAAA;IAEtB;;;OAGG;IACI,IAAI,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACI,QAAQ,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACI,SAAS,EAAE,OAAO,CAAA;IAEzB;;;OAGG;IACI,UAAU,CAAC,EAAE,QAAQ,EAAE,CAAA;IAE9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;;;;;;OAWG;gBACS,cAAc,EAAE,mBAAmB;CAWhD"}
|
|
@@ -29,6 +29,7 @@ export class Institution {
|
|
|
29
29
|
var _a;
|
|
30
30
|
this.mapvxId = rawInstitution.id;
|
|
31
31
|
this.country = rawInstitution.country;
|
|
32
|
+
this.city = rawInstitution.city;
|
|
32
33
|
this.title = rawInstitution.title;
|
|
33
34
|
this.category = rawInstitution.category;
|
|
34
35
|
this.icon = rawInstitution.icon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"institution.js","sourceRoot":"","sources":["../../../../src/domain/models/institution.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAiB,MAAM,YAAY,CAAA;AAEzD;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,WAAW;
|
|
1
|
+
{"version":3,"file":"institution.js","sourceRoot":"","sources":["../../../../src/domain/models/institution.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAiB,MAAM,YAAY,CAAA;AAEzD;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,WAAW;IAgDtB;;;;;;;;;;;OAWG;IACH,YAAY,cAAmC;;QAC7C,IAAI,CAAC,OAAO,GAAG,cAAc,CAAC,EAAE,CAAA;QAChC,IAAI,CAAC,OAAO,GAAG,cAAc,CAAC,OAAO,CAAA;QACrC,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC,IAAI,CAAA;QAC/B,IAAI,CAAC,KAAK,GAAG,cAAc,CAAC,KAAK,CAAA;QACjC,IAAI,CAAC,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAA;QACvC,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC,IAAI,CAAA;QAC/B,IAAI,CAAC,WAAW,GAAG,cAAc,CAAC,WAAW,CAAA;QAC7C,IAAI,CAAC,SAAS,GAAG,cAAc,CAAC,SAAS,CAAA;QACzC,IAAI,CAAC,UAAU,GAAG,aAAa,CAAC,eAAe,CAAC,MAAA,cAAc,CAAC,UAAU,mCAAI,EAAE,CAAC,CAAA;IAClF,CAAC;CACF"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type LogArgument } from "../../logger/sentry";
|
|
2
1
|
/**
|
|
3
2
|
* Represents the abstract class for the loggeable.
|
|
4
3
|
* @hidden
|
|
@@ -26,14 +25,14 @@ export declare abstract class Loggeable {
|
|
|
26
25
|
* @param error The captured error
|
|
27
26
|
* @param args The rest of the arguments.
|
|
28
27
|
*/
|
|
29
|
-
protected logError(error: unknown, ...args:
|
|
28
|
+
protected logError(error: unknown, ...args: unknown[]): void;
|
|
30
29
|
/**
|
|
31
30
|
* To log a captured error as a warning.
|
|
32
31
|
* @param error The captured error
|
|
33
32
|
* @param args The rest of the arguments.
|
|
34
33
|
*/
|
|
35
|
-
protected logWarning(error: unknown, ...args:
|
|
36
|
-
protected logDebug(...args:
|
|
34
|
+
protected logWarning(error: unknown, ...args: unknown[]): void;
|
|
35
|
+
protected logDebug(...args: unknown[]): void;
|
|
37
36
|
/**
|
|
38
37
|
* Prints in console any number of given arguments, if and only if, app is running in debug mode.
|
|
39
38
|
* @param args An array of arguments to log
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loggeable.d.ts","sourceRoot":"","sources":["../../../../src/domain/models/loggeable.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loggeable.d.ts","sourceRoot":"","sources":["../../../../src/domain/models/loggeable.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,8BAAsB,SAAS;IAC7B;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAQ;;IAM/B;;;;OAIG;IACH,SAAS,CAAC,QAAQ,CAAC,mBAAmB,CACpC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACnC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAEzB;;;;OAIG;IACH,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,iBAAiB,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GAAG,IAAI;IAI3F;;;;OAIG;IACH,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;IAK5D;;;;OAIG;IACH,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;IAK9D,SAAS,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;IAI5C;;;OAGG;IACH,SAAS,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;CAGtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loggeable.js","sourceRoot":"","sources":["../../../../src/domain/models/loggeable.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loggeable.js","sourceRoot":"","sources":["../../../../src/domain/models/loggeable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE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;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,gBAAgB,EAAE,CAAA;CAChC"}
|
|
1
|
+
{"version":3,"file":"institutionResponse.d.ts","sourceRoot":"","sources":["../../../src/interfaces/institutionResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAEjE,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,gBAAgB,EAAE,CAAA;CAChC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { type LogArgument } from "./sentry";
|
|
2
1
|
export declare class Logger {
|
|
3
2
|
private readonly sentry;
|
|
4
3
|
private static instance?;
|
|
5
4
|
private constructor();
|
|
6
5
|
static getInstance(): Logger;
|
|
7
6
|
logEvent(eventName: string, eventSegmentation: Record<string, string>): void;
|
|
8
|
-
logDebug(...args:
|
|
9
|
-
logWarning(...args:
|
|
10
|
-
logError(...args:
|
|
7
|
+
logDebug(...args: unknown[]): void;
|
|
8
|
+
logWarning(...args: unknown[]): void;
|
|
9
|
+
logError(...args: unknown[]): void;
|
|
11
10
|
debugLog(...args: unknown[]): void;
|
|
12
11
|
}
|
|
13
12
|
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/logger/logger.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/logger/logger.ts"],"names":[],"mappings":"AAWA,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAQ;IAEhC,OAAO;WAQO,WAAW,IAAI,MAAM;IAKnC,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI;IAgB5E,QAAQ,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;IAMlC,UAAU,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;IAcpC,QAAQ,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;IAalC,QAAQ,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;CAG5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../src/logger/logger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../src/logger/logger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAIlE,gFAAgF;AAChF,gFAAgF;AAChF,6EAA6E;AAC7E,8BAA8B;AAC9B,MAAM,QAAQ,GAAY,OAAO,KAAK,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAA;AAEtE,MAAM,OAAO,MAAM;IAKjB;QACE,IAAI,QAAQ,EAAE,CAAC;YACb,OAAO,CAAC,GAAG,CAAC,oDAAoD,CAAC,CAAA;QACnE,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,MAAM,GAAG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AG,IAAI,CAAC,CAAA;QACxB,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,IAAI,CAAA;YAC7B,MAAM,SAAS,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,CAAA;YACzF,MAAA,IAAI,CAAC,MAAM,0CAAE,gBAAgB,CAC3B,SAAS,EACT,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CACvD,CAAA;QACH,CAAC;IACH,CAAC;IAED,QAAQ,CAAC,GAAG,IAAe;QACzB,IAAI,QAAQ;YAAE,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAA;IACpC,CAAC;CACF"}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import { Scope } from "@sentry/browser";
|
|
2
|
-
/**
|
|
3
|
-
* Loosely-typed argument accepted by the logger methods.
|
|
4
|
-
*
|
|
5
|
-
* Replaces the `LogArgument` type that previously came from the `rollbar`
|
|
6
|
-
* package so the SDK no longer depends on Rollbar's typings.
|
|
7
|
-
*/
|
|
8
|
-
export type LogArgument = unknown;
|
|
9
2
|
/**
|
|
10
3
|
* Creates an isolated Sentry scope + client for the SDK.
|
|
11
4
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentry.d.ts","sourceRoot":"","sources":["../../../src/logger/sentry.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,EACN,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"sentry.d.ts","sourceRoot":"","sources":["../../../src/logger/sentry.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,EACN,MAAM,iBAAiB,CAAA;AAuCxB;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,KAAK,CAqBzC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAQzD"}
|
package/dist/es/logger/sentry.js
CHANGED
|
@@ -5,7 +5,12 @@ import { BrowserClient, defaultStackParser, getDefaultIntegrations, makeFetchTra
|
|
|
5
5
|
// replaced with the package version by scripts/inject-build-defines.js. The DSN
|
|
6
6
|
// falls back to the public MapVX Sentry project DSN when none is injected at
|
|
7
7
|
// build time — a DSN's public key is safe to ship in the client bundle.
|
|
8
|
-
|
|
8
|
+
//
|
|
9
|
+
// Do NOT rewrite these as `VERSION === undefined`: the `declare const` above
|
|
10
|
+
// exists only for the type-checker, so in the ES/CJS builds the identifier is
|
|
11
|
+
// genuinely absent and a direct comparison throws ReferenceError at module load.
|
|
12
|
+
// `typeof` is the only safe way to probe a possibly-undeclared global.
|
|
13
|
+
const SDK_VERSION = typeof VERSION === "undefined" ? "3.0.0-dev.4" : VERSION;
|
|
9
14
|
const DSN = typeof SENTRY_DSN !== "undefined" && SENTRY_DSN
|
|
10
15
|
? SENTRY_DSN
|
|
11
16
|
: "https://872f598f020e3cd73a0933b562d24c81@sentry.mapvx.app/5";
|
|
@@ -19,12 +24,12 @@ const DSN = typeof SENTRY_DSN !== "undefined" && SENTRY_DSN
|
|
|
19
24
|
* application's own Sentry setup. Manual `scope.addBreadcrumb()` still works
|
|
20
25
|
* without the `Breadcrumbs` integration.
|
|
21
26
|
*/
|
|
22
|
-
const GLOBAL_STATE_INTEGRATIONS = [
|
|
27
|
+
const GLOBAL_STATE_INTEGRATIONS = new Set([
|
|
23
28
|
"BrowserApiErrors",
|
|
24
29
|
"BrowserSession",
|
|
25
30
|
"Breadcrumbs",
|
|
26
31
|
"GlobalHandlers",
|
|
27
|
-
];
|
|
32
|
+
]);
|
|
28
33
|
/**
|
|
29
34
|
* Creates an isolated Sentry scope + client for the SDK.
|
|
30
35
|
*
|
|
@@ -37,7 +42,7 @@ const GLOBAL_STATE_INTEGRATIONS = [
|
|
|
37
42
|
* SDK's dedicated Sentry client.
|
|
38
43
|
*/
|
|
39
44
|
export function createSentryScope() {
|
|
40
|
-
const integrations = getDefaultIntegrations({}).filter((integration) => !GLOBAL_STATE_INTEGRATIONS.
|
|
45
|
+
const integrations = getDefaultIntegrations({}).filter((integration) => !GLOBAL_STATE_INTEGRATIONS.has(integration.name));
|
|
41
46
|
const client = new BrowserClient({
|
|
42
47
|
dsn: DSN,
|
|
43
48
|
transport: makeFetchTransport,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentry.js","sourceRoot":"","sources":["../../../src/logger/sentry.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,KAAK,GACN,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"sentry.js","sourceRoot":"","sources":["../../../src/logger/sentry.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,KAAK,GACN,MAAM,iBAAiB,CAAA;AAKxB,8EAA8E;AAC9E,gFAAgF;AAChF,gFAAgF;AAChF,gFAAgF;AAChF,6EAA6E;AAC7E,wEAAwE;AACxE,EAAE;AACF,6EAA6E;AAC7E,8EAA8E;AAC9E,iFAAiF;AACjF,uEAAuE;AACvE,MAAM,WAAW,GAAW,OAAO,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAA;AACxF,MAAM,GAAG,GACP,OAAO,UAAU,KAAK,WAAW,IAAI,UAAU;IAC7C,CAAC,CAAC,UAAU;IACZ,CAAC,CAAC,6DAA6D,CAAA;AAEnE;;;;;;;;;GASG;AACH,MAAM,yBAAyB,GAAG,IAAI,GAAG,CAAC;IACxC,kBAAkB;IAClB,gBAAgB;IAChB,aAAa;IACb,gBAAgB;CACjB,CAAC,CAAA;AAEF;;;;;;;;;;GAUG;AACH,MAAM,UAAU,iBAAiB;IAC/B,MAAM,YAAY,GAAG,sBAAsB,CAAC,EAAE,CAAC,CAAC,MAAM,CACpD,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,yBAAyB,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAClE,CAAA;IAED,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC;QAC/B,GAAG,EAAE,GAAG;QACR,SAAS,EAAE,kBAAkB;QAC7B,WAAW,EAAE,kBAAkB;QAC/B,YAAY;QACZ,OAAO,EAAE,iBAAiB,WAAW,EAAE;QACvC,WAAW,EAAE,YAAY;QACzB,wCAAwC;QACxC,gBAAgB,EAAE,CAAC;KACpB,CAAC,CAAA;IAEF,MAAM,KAAK,GAAG,IAAI,KAAK,EAAE,CAAA;IACzB,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;IACvB,MAAM,CAAC,IAAI,EAAE,CAAA;IAEb,OAAO,KAAK,CAAA;AACd,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,oBAAoB,CAAC,GAAY;IAC/C,IAAI,OAAO,GAAG,KAAK,QAAQ;QAAE,OAAO,GAAG,CAAA;IACvC,IAAI,GAAG,YAAY,KAAK;QAAE,OAAO,GAAG,CAAC,OAAO,CAAA;IAC5C,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;IAC5B,CAAC;IAAC,WAAM,CAAC;QACP,OAAO,MAAM,CAAC,GAAG,CAAC,CAAA;IACpB,CAAC;AACH,CAAC"}
|
package/dist/umd/index.js
CHANGED
|
@@ -11228,21 +11228,18 @@ const extractSafariExtensionDetails = (func, filename) => {
|
|
|
11228
11228
|
|
|
11229
11229
|
;// ./src/logger/sentry.ts
|
|
11230
11230
|
|
|
11231
|
-
|
|
11232
|
-
/**
|
|
11233
|
-
* Loosely-typed argument accepted by the logger methods.
|
|
11234
|
-
*
|
|
11235
|
-
* Replaces the `LogArgument` type that previously came from the `rollbar`
|
|
11236
|
-
* package so the SDK no longer depends on Rollbar's typings.
|
|
11237
|
-
*/
|
|
11238
|
-
|
|
11239
11231
|
// SENTRY_DSN and VERSION are webpack DefinePlugin constants, substituted only
|
|
11240
11232
|
// in the UMD bundle. The tsc-built ES/CJS outputs keep them as bare globals, so
|
|
11241
11233
|
// the typeof guards make the lookup safe everywhere; the version placeholder is
|
|
11242
11234
|
// replaced with the package version by scripts/inject-build-defines.js. The DSN
|
|
11243
11235
|
// falls back to the public MapVX Sentry project DSN when none is injected at
|
|
11244
11236
|
// build time — a DSN's public key is safe to ship in the client bundle.
|
|
11245
|
-
|
|
11237
|
+
//
|
|
11238
|
+
// Do NOT rewrite these as `VERSION === undefined`: the `declare const` above
|
|
11239
|
+
// exists only for the type-checker, so in the ES/CJS builds the identifier is
|
|
11240
|
+
// genuinely absent and a direct comparison throws ReferenceError at module load.
|
|
11241
|
+
// `typeof` is the only safe way to probe a possibly-undeclared global.
|
|
11242
|
+
var sentry_SDK_VERSION = false ? 0 : "3.0.0-dev.4";
|
|
11246
11243
|
var DSN = false ? 0 : "https://872f598f020e3cd73a0933b562d24c81@sentry.mapvx.app/5";
|
|
11247
11244
|
|
|
11248
11245
|
/**
|
|
@@ -11255,7 +11252,7 @@ var DSN = false ? 0 : "https://872f598f020e3cd73a0933b562d24c81@sentry.mapvx.ap
|
|
|
11255
11252
|
* application's own Sentry setup. Manual `scope.addBreadcrumb()` still works
|
|
11256
11253
|
* without the `Breadcrumbs` integration.
|
|
11257
11254
|
*/
|
|
11258
|
-
var GLOBAL_STATE_INTEGRATIONS = ["BrowserApiErrors", "BrowserSession", "Breadcrumbs", "GlobalHandlers"];
|
|
11255
|
+
var GLOBAL_STATE_INTEGRATIONS = new Set(["BrowserApiErrors", "BrowserSession", "Breadcrumbs", "GlobalHandlers"]);
|
|
11259
11256
|
|
|
11260
11257
|
/**
|
|
11261
11258
|
* Creates an isolated Sentry scope + client for the SDK.
|
|
@@ -11270,7 +11267,7 @@ var GLOBAL_STATE_INTEGRATIONS = ["BrowserApiErrors", "BrowserSession", "Breadcru
|
|
|
11270
11267
|
*/
|
|
11271
11268
|
function createSentryScope() {
|
|
11272
11269
|
var integrations = getDefaultIntegrations({}).filter(function (integration) {
|
|
11273
|
-
return !GLOBAL_STATE_INTEGRATIONS.
|
|
11270
|
+
return !GLOBAL_STATE_INTEGRATIONS.has(integration.name);
|
|
11274
11271
|
});
|
|
11275
11272
|
var client = new client_BrowserClient({
|
|
11276
11273
|
dsn: DSN,
|
|
@@ -15241,6 +15238,11 @@ var Institution = /*#__PURE__*/institution_createClass(
|
|
|
15241
15238
|
* Country where the institution is located
|
|
15242
15239
|
*/
|
|
15243
15240
|
|
|
15241
|
+
/**
|
|
15242
|
+
* City where the institution is located (optional).
|
|
15243
|
+
* Institutions that share a city can be grouped together in city filters.
|
|
15244
|
+
*/
|
|
15245
|
+
|
|
15244
15246
|
/**
|
|
15245
15247
|
* Category or type of the institution
|
|
15246
15248
|
*/
|
|
@@ -15275,6 +15277,7 @@ function Institution(rawInstitution) {
|
|
|
15275
15277
|
institution_classCallCheck(this, Institution);
|
|
15276
15278
|
this.mapvxId = rawInstitution.id;
|
|
15277
15279
|
this.country = rawInstitution.country;
|
|
15280
|
+
this.city = rawInstitution.city;
|
|
15278
15281
|
this.title = rawInstitution.title;
|
|
15279
15282
|
this.category = rawInstitution.category;
|
|
15280
15283
|
this.icon = rawInstitution.icon;
|