@salesforcedevs/docs-components 1.3.150-alpha4 → 1.3.150-alpha5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/docs-components",
3
- "version": "1.3.150-alpha4",
3
+ "version": "1.3.150-alpha5",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -35,7 +35,7 @@ export default class AmfReference extends LightningElement {
35
35
  @api sidebarHeader!: string;
36
36
  @api coveoOrganizationId!: string;
37
37
  @api coveoPublicAccessToken!: string;
38
- @api coveoPageViewToken!: string;
38
+ @api coveoAnalyticsToken!: string;
39
39
  @api coveoAdvancedQueryConfig!: string;
40
40
  @api coveoSearchHub!: string;
41
41
  @api useOldSidebar?: boolean = false;
@@ -221,7 +221,7 @@ export default class AmfReference extends LightningElement {
221
221
  if (this.coveoOrganizationId) {
222
222
  console.log("log coveo page view");
223
223
  const ua = new CoveoAnalyticsClient({
224
- token: this.coveoPageViewToken,
224
+ token: this.coveoAnalyticsToken,
225
225
  endpoint: `https://${"fullsalesforce"}.analytics.org.coveo.com`
226
226
  });
227
227
  ua.sendViewEvent({
@@ -35,7 +35,7 @@ export default class DocXmlContent extends LightningElementWithState<{
35
35
  @api apiDomain = "https://developer.salesforce.com";
36
36
  @api coveoOrganizationId!: string;
37
37
  @api coveoPublicAccessToken!: string;
38
- @api coveoPageViewToken!: string;
38
+ @api coveoAnalyticsToken!: string;
39
39
  @api coveoSearchHub!: string;
40
40
 
41
41
  @api
@@ -455,7 +455,7 @@ export default class DocXmlContent extends LightningElementWithState<{
455
455
  if (this.coveoOrganizationId) {
456
456
  console.log("log coveo page view");
457
457
  const ua = new CoveoAnalyticsClient({
458
- token: this.coveoPageViewToken,
458
+ token: this.coveoAnalyticsToken,
459
459
  endpoint: `https://${this.coveoOrganizationId}.analytics.org.coveo.com`
460
460
  }); // MILES TODO: replace 'fullsalesforce' with coveo organizationid
461
461
  ua.sendViewEvent({