@hanzo/event 0.3.27 → 0.3.28
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/react.cjs +2 -2
- package/dist/react.cjs.map +1 -1
- package/dist/react.mjs +2 -2
- package/dist/react.mjs.map +1 -1
- package/hz.js +1 -1
- package/package.json +1 -1
- package/src/core.ts +8 -1
- package/src/stream.test.ts +26 -0
- package/src/version.ts +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -8,7 +8,7 @@ declare function getFirstTouch(): Attribution | undefined;
|
|
|
8
8
|
/** Read persisted cohort dimensions. */
|
|
9
9
|
declare function getCohort(): Cohort | undefined;
|
|
10
10
|
|
|
11
|
-
declare const VERSION = "0.3.
|
|
11
|
+
declare const VERSION = "0.3.28";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* parseDsn parses "https://<version>:<hmac>@<host>/v1/sentry/<projectId>" into its
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare function getFirstTouch(): Attribution | undefined;
|
|
|
8
8
|
/** Read persisted cohort dimensions. */
|
|
9
9
|
declare function getCohort(): Cohort | undefined;
|
|
10
10
|
|
|
11
|
-
declare const VERSION = "0.3.
|
|
11
|
+
declare const VERSION = "0.3.28";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* parseDsn parses "https://<version>:<hmac>@<host>/v1/sentry/<projectId>" into its
|
package/dist/index.mjs
CHANGED
|
@@ -318,7 +318,7 @@ function uuidv7Time(id) {
|
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
// src/version.ts
|
|
321
|
-
var VERSION = "0.3.
|
|
321
|
+
var VERSION = "0.3.28";
|
|
322
322
|
|
|
323
323
|
// src/sentry.ts
|
|
324
324
|
var MAX_FRAMES = 50;
|
|
@@ -1061,7 +1061,7 @@ function registry() {
|
|
|
1061
1061
|
return fresh;
|
|
1062
1062
|
}
|
|
1063
1063
|
function createAnalytics(config) {
|
|
1064
|
-
if (!isBrowser()) return new Analytics(config);
|
|
1064
|
+
if (!isBrowser() || config.enabled === false) return new Analytics(config);
|
|
1065
1065
|
const key = (config.host ?? DEFAULT_HOST) + "\0" + config.product;
|
|
1066
1066
|
const clients = registry();
|
|
1067
1067
|
const existing = clients.get(key);
|