@agility/content-fetch 2.0.2-rc-2 → 2.0.2-rc-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.
- package/dist/browser.js +1 -1
- package/dist/node.js +1 -1
- package/package.json +1 -1
package/dist/browser.js
CHANGED
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
const { channelName, pagePath } = requestParams;
|
|
266
266
|
requestParams = { ...defaultParams4, ...requestParams };
|
|
267
267
|
const req = {
|
|
268
|
-
url: `/page/${channelName}?path=${pagePath}
|
|
268
|
+
url: `/page/${channelName}?path=${pagePath}&contentLinkDepth=${requestParams.contentLinkDepth}&expandAllContentLinks=${requestParams.expandAllContentLinks}`,
|
|
269
269
|
method: "get",
|
|
270
270
|
baseURL: buildRequestUrlPath(
|
|
271
271
|
this.config,
|
package/dist/node.js
CHANGED
|
@@ -283,7 +283,7 @@ function getPageByPath(requestParams) {
|
|
|
283
283
|
const { channelName, pagePath } = requestParams;
|
|
284
284
|
requestParams = { ...defaultParams4, ...requestParams };
|
|
285
285
|
const req = {
|
|
286
|
-
url: `/page/${channelName}?path=${pagePath}
|
|
286
|
+
url: `/page/${channelName}?path=${pagePath}&contentLinkDepth=${requestParams.contentLinkDepth}&expandAllContentLinks=${requestParams.expandAllContentLinks}`,
|
|
287
287
|
method: "get",
|
|
288
288
|
baseURL: buildRequestUrlPath(
|
|
289
289
|
this.config,
|