@workleap/logrocket 4.0.1 → 4.0.2

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/logrocket
2
2
 
3
+ ## 4.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#241](https://github.com/workleap/wl-telemetry/pull/241) [`7f19ea8`](https://github.com/workleap/wl-telemetry/commit/7f19ea8e3fa1d460818b26dd61beb507dd4fefd4) Thanks [@claude](https://github.com/apps/claude)! - Updated dependencies to their latest versions.
8
+ - Updated dependencies [[`7f19ea8`](https://github.com/workleap/wl-telemetry/commit/7f19ea8e3fa1d460818b26dd61beb507dd4fefd4)]:
9
+ - @workleap-telemetry/core@2.0.5
10
+
3
11
  ## 4.0.1
4
12
 
5
13
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import type { LogRocketInstrumentationClient, LogRocketShareGateUserTraits, LogRocketWorkleapPlatformUserTraits } from "./LogRocketInstrumentationClient.ts";
1
+ import type { LogRocketInstrumentationClient, LogRocketShareGateUserTraits, LogRocketWorkleapPlatformUserTraits } from "./LogRocketInstrumentationClient.js";
2
2
  export declare class NoopLogRocketInstrumentationClient implements LogRocketInstrumentationClient {
3
3
  createWorkleapPlatformDefaultUserTraits(): LogRocketWorkleapPlatformUserTraits;
4
4
  createShareGateDefaultUserTraits(): LogRocketShareGateUserTraits;
@@ -1,5 +1,5 @@
1
1
  import type { RootLogger } from "@workleap/logging";
2
- import type { LogRocketSdkOptions } from "./logRocketTypes.ts";
2
+ import type { LogRocketSdkOptions } from "./logRocketTypes.js";
3
3
  /**
4
4
  * @see {@link https://workleap.github.io/wl-telemetry}
5
5
  */
@@ -1,3 +1,3 @@
1
- import type { LogRocketRequest } from "./logRocketTypes.ts";
1
+ import type { LogRocketRequest } from "./logRocketTypes.js";
2
2
  export type RequestSanitizerFunction = (req: LogRocketRequest) => any;
3
3
  export declare function createRequestSanitizer(fuzzyRequestSanitizer: RequestSanitizerFunction): (req: LogRocketRequest) => any;
@@ -1,3 +1,3 @@
1
- import type { LogRocketResponse } from "./logRocketTypes.ts";
1
+ import type { LogRocketResponse } from "./logRocketTypes.js";
2
2
  export type ResponseSanitizerFunction = (res: LogRocketResponse) => any;
3
3
  export declare function createResponseSanitizer(fuzzyResponseSanitizer: ResponseSanitizerFunction): (res: LogRocketResponse) => any;
@@ -1,7 +1,7 @@
1
1
  export { createTelemetryContext, type CreateTelemetryContextOptions, type TelemetryContext } from "@workleap-telemetry/core";
2
- export type { LogRocketSdkOptionsTransformer } from "./applyTransformers.ts";
3
- export type { GetLogRocketSessionUrlListener, LogRocketInstrumentationClient, LogRocketShareGateIdentification, LogRocketShareGateUserTraits, LogRocketWorkleapPlatformIdentification, LogRocketWorkleapPlatformUserTraits } from "./LogRocketInstrumentationClient.ts";
4
- export { LogRocketLogger, LogRocketLoggerScope } from "./LogRocketLogger.ts";
5
- export type * from "./logRocketTypes.ts";
6
- export { NoopLogRocketInstrumentationClient } from "./NoopLogRocketInstrumentationClient.ts";
7
- export { registerLogRocketInstrumentation, type RegisterLogRocketInstrumentationOptions } from "./registerLogRocketInstrumentation.ts";
2
+ export type { LogRocketSdkOptionsTransformer } from "./applyTransformers.js";
3
+ export type { GetLogRocketSessionUrlListener, LogRocketInstrumentationClient, LogRocketShareGateIdentification, LogRocketShareGateUserTraits, LogRocketWorkleapPlatformIdentification, LogRocketWorkleapPlatformUserTraits } from "./LogRocketInstrumentationClient.js";
4
+ export { LogRocketLogger, LogRocketLoggerScope } from "./LogRocketLogger.js";
5
+ export type * from "./logRocketTypes.js";
6
+ export { NoopLogRocketInstrumentationClient } from "./NoopLogRocketInstrumentationClient.js";
7
+ export { registerLogRocketInstrumentation, type RegisterLogRocketInstrumentationOptions } from "./registerLogRocketInstrumentation.js";
@@ -1,8 +1,8 @@
1
1
  import { type TelemetryContext } from "@workleap-telemetry/core";
2
2
  import { type RootLogger } from "@workleap/logging";
3
- import { type LogRocketSdkOptionsTransformer } from "./applyTransformers.ts";
4
- import { type LogRocketInstrumentationClient } from "./LogRocketInstrumentationClient.ts";
5
- import type { LogRocketSdkOptions } from "./logRocketTypes.ts";
3
+ import { type LogRocketSdkOptionsTransformer } from "./applyTransformers.js";
4
+ import { type LogRocketInstrumentationClient } from "./LogRocketInstrumentationClient.js";
5
+ import type { LogRocketSdkOptions } from "./logRocketTypes.js";
6
6
  /**
7
7
  * @see {@link https://workleap.github.io/wl-telemetry}
8
8
  */
@@ -1,5 +1,5 @@
1
1
  import { type PropsWithChildren } from "react";
2
- import type { LogRocketInstrumentationClient } from "../js/LogRocketInstrumentationClient.ts";
2
+ import type { LogRocketInstrumentationClient } from "../js/LogRocketInstrumentationClient.js";
3
3
  /**
4
4
  * @see {@link https://workleap.github.io/wl-telemetry}
5
5
  */
@@ -1,2 +1,2 @@
1
- export * from "../js/index.ts";
2
- export { LogRocketInstrumentationProvider, useLogRocketInstrumentationClient, type UseLogRocketInstrumentationClientOptions } from "./LogRocketInstrumentationContext.tsx";
1
+ export * from "../js/index.js";
2
+ export { LogRocketInstrumentationProvider, useLogRocketInstrumentationClient, type UseLogRocketInstrumentationClientOptions } from "./LogRocketInstrumentationContext.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workleap/logrocket",
3
3
  "author": "Workleap",
4
- "version": "4.0.1",
4
+ "version": "4.0.2",
5
5
  "description": "A package containing utilities for LogRocket.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "CHANGELOG.md"
33
33
  ],
34
34
  "peerDependencies": {
35
- "logrocket": "^12.3.0",
35
+ "logrocket": "^12.4.0",
36
36
  "react": "^18.0.0 || ^19.0.0",
37
37
  "react-dom": "^18.0.0 || ^19.0.0"
38
38
  },
@@ -45,26 +45,26 @@
45
45
  }
46
46
  },
47
47
  "dependencies": {
48
+ "@workleap-telemetry/core": "^2.0.5",
48
49
  "@workleap/logging": "^2.0.0",
49
- "logrocket-fuzzy-search-sanitizer": "0.0.2",
50
- "@workleap-telemetry/core": "^2.0.4"
50
+ "logrocket-fuzzy-search-sanitizer": "0.0.2"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@eslint/js": "9.39.2",
54
- "@rsbuild/core": "2.2.1",
55
- "@rslib/core": "0.23.2",
56
- "@types/node": "26.4.0",
57
- "@types/react": "19.2.18",
58
- "@typescript-eslint/parser": "8.69.0",
54
+ "@rsbuild/core": "2.2.14",
55
+ "@rslib/core": "1.0.3",
56
+ "@types/node": "26.6.5",
57
+ "@types/react": "19.3.0",
58
+ "@typescript-eslint/parser": "8.72.0",
59
59
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
60
60
  "@workleap/eslint-configs": "2.0.5",
61
61
  "@workleap/rslib-configs": "1.2.1",
62
62
  "@workleap/typescript-configs": "5.0.0",
63
63
  "eslint": "9.39.2",
64
- "happy-dom": "20.12.0",
64
+ "happy-dom": "21.0.3",
65
65
  "typescript": "6.0.3",
66
- "typescript-eslint": "8.69.0",
67
- "vitest": "4.1.11"
66
+ "typescript-eslint": "8.72.0",
67
+ "vitest": "5.0.5"
68
68
  },
69
69
  "sideEffects": false,
70
70
  "scripts": {