@fluidframework/container-runtime 0.50.0 → 0.50.4

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.
@@ -1024,7 +1024,7 @@ class ContainerRuntime extends common_utils_1.TypedEventEmitter {
1024
1024
  }
1025
1025
  async createRootDataStore(pkg, rootDataStoreId) {
1026
1026
  const fluidDataStore = await this._createDataStore(pkg, true /* isRoot */, rootDataStoreId);
1027
- fluidDataStore.attachGraph();
1027
+ fluidDataStore.bindToContext();
1028
1028
  return fluidDataStore;
1029
1029
  }
1030
1030
  createDetachedRootDataStore(pkg, rootDataStoreId) {
@@ -1036,7 +1036,7 @@ class ContainerRuntime extends common_utils_1.TypedEventEmitter {
1036
1036
  async _createDataStoreWithProps(pkg, props, id = uuid_1.v4(), isRoot = false) {
1037
1037
  const fluidDataStore = await this.dataStores._createFluidDataStoreContext(Array.isArray(pkg) ? pkg : [pkg], id, isRoot, props).realize();
1038
1038
  if (isRoot) {
1039
- fluidDataStore.attachGraph();
1039
+ fluidDataStore.bindToContext();
1040
1040
  }
1041
1041
  return fluidDataStore;
1042
1042
  }