From ebd7a4a0302ad22e19dfe9e0a6c4695d9c043227 Mon Sep 17 00:00:00 2001 From: Tiago Peczenyj Date: Tue, 12 Oct 2021 15:27:31 +0200 Subject: [PATCH 1/2] fix typo in example conf --- dev-docs/modules/weboramaRtdProvider.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-docs/modules/weboramaRtdProvider.md b/dev-docs/modules/weboramaRtdProvider.md index 8a686b1708..b93c9493ac 100644 --- a/dev-docs/modules/weboramaRtdProvider.md +++ b/dev-docs/modules/weboramaRtdProvider.md @@ -46,7 +46,9 @@ pbjs.setConfig( name: "weborama", waitForIt: true, params: { - token: "" + weboCtxConf: { + token: "" + } } } ] @@ -62,7 +64,7 @@ pbjs.setConfig( | name | String | Real time data module name | Mandatory. Always 'Weborama' | | waitForIt | Boolean | Mandatory. Required to ensure that the auction is delayed until prefetch is complete | Optional. Defaults to false but recommended to true | | params | Object | | Optional | -| params.weboCtxConf | Object | Weborama Contextual Configuration | Optional | +| params.weboCtxConf | Object | Weborama Contextual Configuration | Mandatory | | params.weboCtxConf.token | String | Security Token provided by Weborama, unique per client | Mandatory | | params.weboCtxConf.targetURL | String | Url to be profiled in the contextual api | Optional. Defaults to `document.URL` | | params.weboCtxConf.defaultProfile | Object | default value of the profile to be used when there are no response from contextual api (such as timeout)| Optional. Default is `{}` | From 6530581a38f36b18455a161e0b123454a8b130e8 Mon Sep 17 00:00:00 2001 From: Tiago Peczenyj Date: Tue, 12 Oct 2021 15:54:40 +0200 Subject: [PATCH 2/2] fix flag --- dev-docs/modules/weboramaRtdProvider.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-docs/modules/weboramaRtdProvider.md b/dev-docs/modules/weboramaRtdProvider.md index b93c9493ac..9fc5ec5e10 100644 --- a/dev-docs/modules/weboramaRtdProvider.md +++ b/dev-docs/modules/weboramaRtdProvider.md @@ -64,7 +64,7 @@ pbjs.setConfig( | name | String | Real time data module name | Mandatory. Always 'Weborama' | | waitForIt | Boolean | Mandatory. Required to ensure that the auction is delayed until prefetch is complete | Optional. Defaults to false but recommended to true | | params | Object | | Optional | -| params.weboCtxConf | Object | Weborama Contextual Configuration | Mandatory | +| params.weboCtxConf | Object | Weborama Contextual Configuration | Optional | | params.weboCtxConf.token | String | Security Token provided by Weborama, unique per client | Mandatory | | params.weboCtxConf.targetURL | String | Url to be profiled in the contextual api | Optional. Defaults to `document.URL` | | params.weboCtxConf.defaultProfile | Object | default value of the profile to be used when there are no response from contextual api (such as timeout)| Optional. Default is `{}` |