@openreplay/tracker 17.1.2 → 17.1.3

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.
@@ -2,12 +2,12 @@ import type App from '../app/index.js';
2
2
  export interface Options {
3
3
  urlSanitizer?: (url: string) => string;
4
4
  titleSanitizer?: (title: string) => string;
5
- /** if present, tracker will remove given symbol to present url as regular router url on replay level;
5
+ /** if present, tracker will remove hash symbol to present url as regular router url on replay level;
6
6
  *
7
7
  * applied BEFORE sanitizers.
8
8
  *
9
- * @example passing '#/' will result in 'site.com/#/path' -> 'site.com/path'
9
+ * @example 'site.com/#/path' -> 'site.com/path'
10
10
  */
11
- replaceHashSymbol?: string;
11
+ replaceHashSymbol?: boolean;
12
12
  }
13
13
  export default function (app: App, options?: Options): void;
@@ -2,12 +2,12 @@ import type App from '../app/index.js';
2
2
  export interface Options {
3
3
  urlSanitizer?: (url: string) => string;
4
4
  titleSanitizer?: (title: string) => string;
5
- /** if present, tracker will remove given symbol to present url as regular router url on replay level;
5
+ /** if present, tracker will remove hash symbol to present url as regular router url on replay level;
6
6
  *
7
7
  * applied BEFORE sanitizers.
8
8
  *
9
- * @example passing '#/' will result in 'site.com/#/path' -> 'site.com/path'
9
+ * @example 'site.com/#/path' -> 'site.com/path'
10
10
  */
11
- replaceHashSymbol?: string;
11
+ replaceHashSymbol?: boolean;
12
12
  }
13
13
  export default function (app: App, options?: Options): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openreplay/tracker",
3
3
  "description": "The OpenReplay tracker main package",
4
- "version": "17.1.2",
4
+ "version": "17.1.3",
5
5
  "keywords": [
6
6
  "logging",
7
7
  "replay"