@hanzo/event 0.3.30 → 0.3.32
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/{core-ZXDaPEyY.d.cts → core-CIhI2R7S.d.cts} +0 -4
- package/dist/{core-ZXDaPEyY.d.ts → core-CIhI2R7S.d.ts} +0 -4
- package/dist/index.cjs +1 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +1 -5
- package/dist/index.mjs.map +1 -1
- package/dist/react.cjs +1 -5
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.mjs +1 -5
- package/dist/react.mjs.map +1 -1
- package/hz.js +1 -43
- package/package.json +1 -1
- package/src/core.test.ts +0 -9
- package/src/core.ts +0 -6
- package/src/version.ts +1 -1
package/dist/react.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, Component, ErrorInfo } from 'react';
|
|
3
|
-
import { e as Analytics, f as AnalyticsConfig } from './core-
|
|
3
|
+
import { e as Analytics, f as AnalyticsConfig } from './core-CIhI2R7S.cjs';
|
|
4
4
|
|
|
5
5
|
declare const Ctx: react.Context<Analytics | null>;
|
|
6
6
|
interface AnalyticsProviderProps {
|
package/dist/react.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, Component, ErrorInfo } from 'react';
|
|
3
|
-
import { e as Analytics, f as AnalyticsConfig } from './core-
|
|
3
|
+
import { e as Analytics, f as AnalyticsConfig } from './core-CIhI2R7S.js';
|
|
4
4
|
|
|
5
5
|
declare const Ctx: react.Context<Analytics | null>;
|
|
6
6
|
interface AnalyticsProviderProps {
|
package/dist/react.mjs
CHANGED
|
@@ -307,7 +307,7 @@ function hzAnonId() {
|
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
// src/version.ts
|
|
310
|
-
var VERSION = "0.3.
|
|
310
|
+
var VERSION = "0.3.32";
|
|
311
311
|
|
|
312
312
|
// src/sentry.ts
|
|
313
313
|
var MAX_FRAMES = 50;
|
|
@@ -755,10 +755,6 @@ var Analytics = class {
|
|
|
755
755
|
this.started = false;
|
|
756
756
|
/** Guards against an error thrown *inside* the error path re-entering it. */
|
|
757
757
|
this.reentrant = false;
|
|
758
|
-
/** track is an alias of capture (Segment familiarity). */
|
|
759
|
-
this.track = this.capture.bind(this);
|
|
760
|
-
/** captureException — @sentry-familiar alias of captureError. */
|
|
761
|
-
this.captureException = this.captureError.bind(this);
|
|
762
758
|
this.cfg = {
|
|
763
759
|
host: DEFAULT_HOST,
|
|
764
760
|
batchSize: 20,
|