@fluidframework/test-utils 2.70.0-360374 → 2.70.0-361092

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.
@@ -11,7 +11,6 @@ import {
11
11
  FluidDataStoreRegistry,
12
12
  loadContainerRuntime,
13
13
  type IContainerRuntimeOptions,
14
- type MinimumVersionForCollab,
15
14
  } from "@fluidframework/container-runtime/internal";
16
15
  import type {
17
16
  IContainerRuntime,
@@ -29,6 +28,7 @@ import type {
29
28
  IFluidDataStoreFactory,
30
29
  IFluidDataStoreRegistry,
31
30
  IProvideFluidDataStoreRegistry,
31
+ MinimumVersionForCollab,
32
32
  NamedFluidDataStoreRegistryEntries,
33
33
  } from "@fluidframework/runtime-definitions/internal";
34
34
  import { RequestParser, RuntimeFactoryHelper } from "@fluidframework/runtime-utils/internal";
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/test-utils";
9
- export const pkgVersion = "2.70.0-360374";
9
+ export const pkgVersion = "2.70.0-361092";
@@ -8,8 +8,6 @@ import {
8
8
  ContainerRuntime,
9
9
  DefaultSummaryConfiguration,
10
10
  type IContainerRuntimeOptionsInternal,
11
- type LoadContainerRuntimeParams,
12
- type MinimumVersionForCollab,
13
11
  } from "@fluidframework/container-runtime/internal";
14
12
  import {
15
13
  IContainerRuntime,
@@ -28,6 +26,7 @@ import {
28
26
  import {
29
27
  IFluidDataStoreFactory,
30
28
  NamedFluidDataStoreRegistryEntries,
29
+ type MinimumVersionForCollab,
31
30
  } from "@fluidframework/runtime-definitions/internal";
32
31
  import { RequestParser, RuntimeFactoryHelper } from "@fluidframework/runtime-utils/internal";
33
32
 
@@ -164,6 +163,10 @@ export const createTestContainerRuntimeFactory = (
164
163
  }
165
164
  return undefined; // continue search
166
165
  };
166
+
167
+ // This usage of `containerRuntimeCtor.loadRuntime`, an `@internal` API, called on past versions of this package,
168
+ // adds an extra constraint that makes changing that API more difficult than it otherwise would be.
169
+ // Actual customers / apps should not be dependent on stability of this API, but this code is, at least for now.
167
170
  return containerRuntimeCtor.loadRuntime({
168
171
  context,
169
172
  registryEntries: [
@@ -177,7 +180,7 @@ export const createTestContainerRuntimeFactory = (
177
180
  containerScope: context.scope,
178
181
  existing,
179
182
  minVersionForCollab: this.minVersionForCollab,
180
- } satisfies LoadContainerRuntimeParams);
183
+ });
181
184
  }
182
185
  };
183
186
  };
@@ -15,10 +15,7 @@ import {
15
15
  Loader,
16
16
  waitContainerToCatchUp as waitContainerToCatchUp_original,
17
17
  } from "@fluidframework/container-loader/internal";
18
- import {
19
- type IContainerRuntimeOptionsInternal,
20
- type MinimumVersionForCollab,
21
- } from "@fluidframework/container-runtime/internal";
18
+ import { type IContainerRuntimeOptionsInternal } from "@fluidframework/container-runtime/internal";
22
19
  import {
23
20
  IRequestHeader,
24
21
  ITelemetryBaseEvent,
@@ -33,6 +30,7 @@ import {
33
30
  IUrlResolver,
34
31
  } from "@fluidframework/driver-definitions/internal";
35
32
  import { isOdspResolvedUrl } from "@fluidframework/odsp-driver/internal";
33
+ import type { MinimumVersionForCollab } from "@fluidframework/runtime-definitions/internal";
36
34
  import {
37
35
  type ITelemetryGenericEventExt,
38
36
  createChildLogger,