@fluidframework/container-loader 2.0.0-dev-rc.5.0.0.271045 → 2.0.0-dev-rc.5.0.0.271262

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/container.js CHANGED
@@ -575,11 +575,11 @@ class Container extends internal_5.EventEmitterWithErrorHandling {
575
575
  const addProtocolSummaryIfMissing = (summaryTree) => (0, internal_4.isCombinedAppAndProtocolSummary)(summaryTree) === true
576
576
  ? summaryTree
577
577
  : (0, utils_js_1.combineAppAndProtocolSummary)(summaryTree, this.captureProtocolSummary());
578
- // Whether the combined summary tree has been forced on by either the loader option or the monitoring context.
578
+ // Whether the combined summary tree has been forced on by either the loader option or the monitoring context or supportedFeatures flag by the service.
579
579
  // Even if not forced on via this flag, combined summaries may still be enabled by service policy.
580
- const forceEnableSummarizeProtocolTree = this.mc.config.getBoolean("Fluid.Container.summarizeProtocolTree2") ??
580
+ const shouldSummarizeProtocolTree = this.mc.config.getBoolean("Fluid.Container.summarizeProtocolTree2") ??
581
581
  options.summarizeProtocolTree;
582
- this.storageAdapter = new containerStorageAdapter_js_1.ContainerStorageAdapter(this.detachedBlobStorage, this.mc.logger, pendingLocalState?.snapshotBlobs, pendingLocalState?.loadedGroupIdSnapshots, addProtocolSummaryIfMissing, forceEnableSummarizeProtocolTree);
582
+ this.storageAdapter = new containerStorageAdapter_js_1.ContainerStorageAdapter(this.detachedBlobStorage, this.mc.logger, pendingLocalState?.snapshotBlobs, pendingLocalState?.loadedGroupIdSnapshots, addProtocolSummaryIfMissing, shouldSummarizeProtocolTree);
583
583
  const offlineLoadEnabled = (this.isInteractiveClient &&
584
584
  this.mc.config.getBoolean("Fluid.Container.enableOfflineLoad")) ??
585
585
  options.enableOfflineLoad === true;