From c51fa0bf4f5c0e34b9acd2a18eb3df867d04e797 Mon Sep 17 00:00:00 2001 From: Alex Kaminskii Date: Mon, 23 Jan 2023 12:28:06 +0100 Subject: [PATCH] fix(tracker):update docs links --- tracker/tracker/src/main/app/index.ts | 4 ++-- tracker/tracker/src/main/app/observer/observer.ts | 2 +- tracker/tracker/src/main/index.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tracker/tracker/src/main/app/index.ts b/tracker/tracker/src/main/app/index.ts index 3010caee2..7103518d5 100644 --- a/tracker/tracker/src/main/app/index.ts +++ b/tracker/tracker/src/main/app/index.ts @@ -209,8 +209,8 @@ export default class App { // === Back compatibility with Fetch/Axios plugins === if (message[0] === MType.Fetch) { this._usingOldFetchPlugin = true - deprecationWarn('Fetch plugin', "'network' init option") - deprecationWarn('Axios plugin', "'network' init option") + deprecationWarn('Fetch plugin', "'network' init option", '/installation/network-options') + deprecationWarn('Axios plugin', "'network' init option", '/installation/network-options') } if (this._usingOldFetchPlugin && message[0] === MType.NetworkRequest) { return diff --git a/tracker/tracker/src/main/app/observer/observer.ts b/tracker/tracker/src/main/app/observer/observer.ts index 98abcb994..c13739622 100644 --- a/tracker/tracker/src/main/app/observer/observer.ts +++ b/tracker/tracker/src/main/app/observer/observer.ts @@ -352,7 +352,7 @@ export default abstract class Observer { this.clear() } - // ISSSUE (nodeToBinde should be the same as node. Look at the comment about 0-node at the beginning of the file.) + // ISSSUE (nodeToBinde should be the same as node in all cases. Look at the comment about 0-node at the beginning of the file.) // TODO: use one observer instance for all iframes/shadowRoots (composition instiad of inheritance) protected observeRoot( node: Node, diff --git a/tracker/tracker/src/main/index.ts b/tracker/tracker/src/main/index.ts index b6a3019d9..eae1c867c 100644 --- a/tracker/tracker/src/main/index.ts +++ b/tracker/tracker/src/main/index.ts @@ -50,7 +50,7 @@ export type Options = Partial< __DISABLE_SECURE_MODE?: boolean } -const DOCS_SETUP = '/installation/setup-or' +const DOCS_SETUP = '/installation/javascript-sdk' function processOptions(obj: any): obj is Options { if (obj == null) {