@salesforcedevs/docs-components 1.14.8-alpha2 → 1.14.8-alpha3

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.14.8-alpha2",
3
+ "version": "1.14.8-alpha3",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -72,7 +72,7 @@ export class FetchContent {
72
72
  deliverable: string,
73
73
  contentId: string,
74
74
  options: ContentApiOptions
75
- ): Promise<String> {
75
+ ): Promise<ContentData> {
76
76
  return await this.fetchResource<ContentData>(
77
77
  `/cx-router/dsc/topic?projectId=sfdocs-asl_dev_guide&projectVersion=254-7-dev&locale=en-us&topic=${contentId}`
78
78
  );
@@ -543,7 +543,7 @@ export default class DocXmlContent extends LightningElementWithState<{
543
543
  );
544
544
 
545
545
  if (data) {
546
- this.docContent = data;
546
+ this.docContent = data.content;
547
547
  this.addMetatags();
548
548
 
549
549
  if (!this.pageReference.hash) {