@workleap/mixpanel 6.0.0 → 6.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @workleap/mixpanel
2
2
 
3
+ ## 6.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#243](https://github.com/workleap/wl-telemetry/pull/243) [`48818ad`](https://github.com/workleap/wl-telemetry/commit/48818ad89999ad2a9aae75f9516da04a3341c4a2) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated dependencies to their latest versions.
8
+ - Updated dependencies [[`48818ad`](https://github.com/workleap/wl-telemetry/commit/48818ad89999ad2a9aae75f9516da04a3341c4a2)]:
9
+ - @workleap-telemetry/core@2.0.6
10
+
3
11
  ## 6.0.0
4
12
 
5
13
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import type { MixpanelClient } from "./MixpanelClient.ts";
1
+ import type { MixpanelClient } from "./MixpanelClient.js";
2
2
  export declare class NoopMixpanelClient implements MixpanelClient {
3
3
  createTrackingFunction(): () => Promise<void>;
4
4
  setGlobalEventProperty(): void;
@@ -1,6 +1,6 @@
1
1
  export { createTelemetryContext, type CreateTelemetryContextOptions, type TelemetryContext } from "@workleap-telemetry/core";
2
2
  export type { CreateMixpanelTrackingFunctionOptions, MixpanelEventProperties, MixpanelTrackingFunction, MixpanelTrackingFunctionOptions } from "@workleap-telemetry/core";
3
- export type { MixpanelEnvironment } from "./env.ts";
4
- export { initializeMixpanel, type InitializeMixpanelOptions } from "./initializeMixpanel.ts";
5
- export type { MixpanelClient } from "./MixpanelClient.ts";
6
- export { NoopMixpanelClient } from "./NoopMixpanelClient.ts";
3
+ export type { MixpanelEnvironment } from "./env.js";
4
+ export { initializeMixpanel, type InitializeMixpanelOptions } from "./initializeMixpanel.js";
5
+ export type { MixpanelClient } from "./MixpanelClient.js";
6
+ export { NoopMixpanelClient } from "./NoopMixpanelClient.js";
@@ -1,7 +1,7 @@
1
1
  import { type LogRocketInstrumentationPartialClient, type TelemetryContext } from "@workleap-telemetry/core";
2
2
  import { type RootLogger } from "@workleap/logging";
3
- import { type MixpanelEnvironment } from "./env.ts";
4
- import { type MixpanelClient } from "./MixpanelClient.ts";
3
+ import { type MixpanelEnvironment } from "./env.js";
4
+ import { type MixpanelClient } from "./MixpanelClient.js";
5
5
  export declare function __resetRegistrationGuard(): void;
6
6
  /**
7
7
  * @see {@link https://workleap.github.io/wl-telemetry}
@@ -1,5 +1,5 @@
1
1
  import { type PropsWithChildren } from "react";
2
- import type { MixpanelClient } from "../js/MixpanelClient.ts";
2
+ import type { MixpanelClient } from "../js/MixpanelClient.js";
3
3
  export declare const MixpanelContext: import("react").Context<MixpanelClient | undefined>;
4
4
  /**
5
5
  * @see {@link https://workleap.github.io/wl-telemetry}
@@ -1,4 +1,4 @@
1
- export * from "../js/index.ts";
2
- export { MixpanelProvider, useMixpanelClient, type UseMixpanelClientOptions } from "./MixpanelContext.tsx";
3
- export { MixpanelPropertiesProvider, useMixpanelProviderProperties, type MixpanelPropertiesProviderProps } from "./MixpanelPropertiesProvider.tsx";
4
- export { useTrackingFunction, type UseTrackingFunctionOptions } from "./useTrackingFunction.ts";
1
+ export * from "../js/index.js";
2
+ export { MixpanelProvider, useMixpanelClient, type UseMixpanelClientOptions } from "./MixpanelContext.js";
3
+ export { MixpanelPropertiesProvider, useMixpanelProviderProperties, type MixpanelPropertiesProviderProps } from "./MixpanelPropertiesProvider.js";
4
+ export { useTrackingFunction, type UseTrackingFunctionOptions } from "./useTrackingFunction.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workleap/mixpanel",
3
3
  "author": "Workleap",
4
- "version": "6.0.0",
4
+ "version": "6.0.1",
5
5
  "description": "A package containing utilities for Mixpanel telemetry.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -32,9 +32,9 @@
32
32
  "CHANGELOG.md"
33
33
  ],
34
34
  "peerDependencies": {
35
+ "@workleap/logrocket": "^4.0.3",
35
36
  "react": "^18.0.0 || ^19.0.0",
36
- "react-dom": "^18.0.0 || ^19.0.0",
37
- "@workleap/logrocket": "^4.0.0"
37
+ "react-dom": "^18.0.0 || ^19.0.0"
38
38
  },
39
39
  "peerDependenciesMeta": {
40
40
  "@workleap/logrocket": {
@@ -48,25 +48,25 @@
48
48
  }
49
49
  },
50
50
  "dependencies": {
51
- "@workleap/logging": "^2.0.0",
52
- "@workleap-telemetry/core": "^2.0.3"
51
+ "@workleap-telemetry/core": "^2.0.6",
52
+ "@workleap/logging": "^2.0.1"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@eslint/js": "9.39.2",
56
- "@rsbuild/core": "2.1.5",
57
- "@rslib/core": "0.23.2",
58
- "@types/node": "26.1.1",
59
- "@types/react": "19.2.17",
60
- "@typescript-eslint/parser": "8.63.0",
56
+ "@rsbuild/core": "2.2.14",
57
+ "@rslib/core": "1.0.3",
58
+ "@types/node": "26.6.5",
59
+ "@types/react": "19.3.0",
60
+ "@typescript-eslint/parser": "8.72.0",
61
61
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
62
- "@workleap/eslint-configs": "2.0.4",
63
- "@workleap/rslib-configs": "1.2.1",
62
+ "@workleap/eslint-configs": "2.0.6",
63
+ "@workleap/rslib-configs": "2.0.0",
64
64
  "@workleap/typescript-configs": "5.0.0",
65
65
  "eslint": "9.39.2",
66
- "happy-dom": "20.10.6",
66
+ "happy-dom": "21.0.4",
67
67
  "typescript": "6.0.3",
68
- "typescript-eslint": "8.63.0",
69
- "vitest": "4.1.10"
68
+ "typescript-eslint": "8.72.0",
69
+ "vitest": "5.0.5"
70
70
  },
71
71
  "sideEffects": false,
72
72
  "scripts": {