@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.cjs
CHANGED
|
@@ -319,7 +319,7 @@ function uuidv7Time(id) {
|
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
// src/version.ts
|
|
322
|
-
var VERSION = "0.3.
|
|
322
|
+
var VERSION = "0.3.28";
|
|
323
323
|
|
|
324
324
|
// src/sentry.ts
|
|
325
325
|
var MAX_FRAMES = 50;
|
|
@@ -1062,7 +1062,7 @@ function registry() {
|
|
|
1062
1062
|
return fresh;
|
|
1063
1063
|
}
|
|
1064
1064
|
function createAnalytics(config) {
|
|
1065
|
-
if (!isBrowser()) return new Analytics(config);
|
|
1065
|
+
if (!isBrowser() || config.enabled === false) return new Analytics(config);
|
|
1066
1066
|
const key = (config.host ?? DEFAULT_HOST) + "\0" + config.product;
|
|
1067
1067
|
const clients = registry();
|
|
1068
1068
|
const existing = clients.get(key);
|