@supernova-studio/client 1.1.0 → 1.2.0

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/index.mjs CHANGED
@@ -8849,7 +8849,7 @@ function computeDocsHierarchy(input, options = {}) {
8849
8849
  const includeDeletedContent = options.includeDeletedContent ?? false;
8850
8850
  const debug = options.debug ?? false;
8851
8851
  const { pages, groups, pageSnapshots, groupSnapshots, settings, pageContentHashes, approvals, pageLiveblockRoomIds } = input;
8852
- if (includeDeletedContent) {
8852
+ if (settings.isDraftFeatureAdopted && includeDeletedContent) {
8853
8853
  pages.push(...getDeletedPages(pages, pageSnapshots));
8854
8854
  groups.push(...getDeletedGroups(groups, groupSnapshots));
8855
8855
  }