@fluid-experimental/data-object-base
Advanced tools
Comparing version 2.3.0-288113 to 2.3.0
@@ -5,7 +5,5 @@ /*! | ||
*/ | ||
import type { IContainerContext } from "@fluidframework/container-definitions/internal"; | ||
import { ContainerRuntime } from "@fluidframework/container-runtime/internal"; | ||
import type { IContainerContext, IRuntime } from "@fluidframework/container-definitions/internal"; | ||
import type { IContainerRuntime } from "@fluidframework/container-runtime-definitions/internal"; | ||
import type { FluidObject } from "@fluidframework/core-interfaces"; | ||
import { type RuntimeRequestHandler } from "@fluidframework/request-handler/internal"; | ||
import type { IFluidDataStoreFactory } from "@fluidframework/runtime-definitions/internal"; | ||
@@ -20,6 +18,2 @@ import { RuntimeFactoryHelper } from "@fluidframework/runtime-utils/internal"; | ||
storeFactories: IFluidDataStoreFactory[]; | ||
/** | ||
* @deprecated Will be removed once Loader LTS version is "2.0.0-internal.7.0.0". Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md | ||
*/ | ||
requestHandlers?: RuntimeRequestHandler[]; | ||
provideEntryPoint: (runtime: IContainerRuntime) => Promise<FluidObject>; | ||
@@ -33,8 +27,7 @@ } | ||
private readonly defaultStoreFactory; | ||
private readonly requestHandlers; | ||
private readonly provideEntryPoint; | ||
constructor(props: RuntimeFactoryProps); | ||
instantiateFirstTime(runtime: ContainerRuntime): Promise<void>; | ||
preInitialize(context: IContainerContext, existing: boolean): Promise<ContainerRuntime>; | ||
instantiateFirstTime(runtime: IContainerRuntime): Promise<void>; | ||
preInitialize(context: IContainerContext, existing: boolean): Promise<IContainerRuntime & IRuntime>; | ||
} | ||
//# sourceMappingURL=runtimeFactory.d.ts.map |
@@ -9,4 +9,3 @@ "use strict"; | ||
const internal_1 = require("@fluidframework/container-runtime/internal"); | ||
const internal_2 = require("@fluidframework/request-handler/internal"); | ||
const internal_3 = require("@fluidframework/runtime-utils/internal"); | ||
const internal_2 = require("@fluidframework/runtime-utils/internal"); | ||
const defaultStoreId = ""; | ||
@@ -16,3 +15,3 @@ /** | ||
*/ | ||
class RuntimeFactory extends internal_3.RuntimeFactoryHelper { | ||
class RuntimeFactory extends internal_2.RuntimeFactoryHelper { | ||
constructor(props) { | ||
@@ -22,3 +21,2 @@ super(); | ||
this.provideEntryPoint = props.provideEntryPoint; | ||
this.requestHandlers = props.requestHandlers ?? []; | ||
const storeFactories = props.storeFactories ?? [this.defaultStoreFactory]; | ||
@@ -34,8 +32,6 @@ this.registry = (storeFactories.includes(this.defaultStoreFactory) | ||
async preInitialize(context, existing) { | ||
const runtime = await internal_1.ContainerRuntime.loadRuntime({ | ||
const runtime = await (0, internal_1.loadContainerRuntime)({ | ||
context, | ||
registryEntries: this.registry, | ||
existing, | ||
// eslint-disable-next-line import/no-deprecated | ||
requestHandler: (0, internal_2.buildRuntimeRequestHandler)(...this.requestHandlers), | ||
provideEntryPoint: this.provideEntryPoint, | ||
@@ -42,0 +38,0 @@ }); |
@@ -5,7 +5,5 @@ /*! | ||
*/ | ||
import type { IContainerContext } from "@fluidframework/container-definitions/internal"; | ||
import { ContainerRuntime } from "@fluidframework/container-runtime/internal"; | ||
import type { IContainerContext, IRuntime } from "@fluidframework/container-definitions/internal"; | ||
import type { IContainerRuntime } from "@fluidframework/container-runtime-definitions/internal"; | ||
import type { FluidObject } from "@fluidframework/core-interfaces"; | ||
import { type RuntimeRequestHandler } from "@fluidframework/request-handler/internal"; | ||
import type { IFluidDataStoreFactory } from "@fluidframework/runtime-definitions/internal"; | ||
@@ -20,6 +18,2 @@ import { RuntimeFactoryHelper } from "@fluidframework/runtime-utils/internal"; | ||
storeFactories: IFluidDataStoreFactory[]; | ||
/** | ||
* @deprecated Will be removed once Loader LTS version is "2.0.0-internal.7.0.0". Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md | ||
*/ | ||
requestHandlers?: RuntimeRequestHandler[]; | ||
provideEntryPoint: (runtime: IContainerRuntime) => Promise<FluidObject>; | ||
@@ -33,8 +27,7 @@ } | ||
private readonly defaultStoreFactory; | ||
private readonly requestHandlers; | ||
private readonly provideEntryPoint; | ||
constructor(props: RuntimeFactoryProps); | ||
instantiateFirstTime(runtime: ContainerRuntime): Promise<void>; | ||
preInitialize(context: IContainerContext, existing: boolean): Promise<ContainerRuntime>; | ||
instantiateFirstTime(runtime: IContainerRuntime): Promise<void>; | ||
preInitialize(context: IContainerContext, existing: boolean): Promise<IContainerRuntime & IRuntime>; | ||
} | ||
//# sourceMappingURL=runtimeFactory.d.ts.map |
@@ -5,6 +5,3 @@ /*! | ||
*/ | ||
import { ContainerRuntime } from "@fluidframework/container-runtime/internal"; | ||
import { | ||
// eslint-disable-next-line import/no-deprecated | ||
buildRuntimeRequestHandler, } from "@fluidframework/request-handler/internal"; | ||
import { loadContainerRuntime } from "@fluidframework/container-runtime/internal"; | ||
import { RuntimeFactoryHelper } from "@fluidframework/runtime-utils/internal"; | ||
@@ -20,3 +17,2 @@ const defaultStoreId = ""; | ||
this.provideEntryPoint = props.provideEntryPoint; | ||
this.requestHandlers = props.requestHandlers ?? []; | ||
const storeFactories = props.storeFactories ?? [this.defaultStoreFactory]; | ||
@@ -32,8 +28,6 @@ this.registry = (storeFactories.includes(this.defaultStoreFactory) | ||
async preInitialize(context, existing) { | ||
const runtime = await ContainerRuntime.loadRuntime({ | ||
const runtime = await loadContainerRuntime({ | ||
context, | ||
registryEntries: this.registry, | ||
existing, | ||
// eslint-disable-next-line import/no-deprecated | ||
requestHandler: buildRuntimeRequestHandler(...this.requestHandlers), | ||
provideEntryPoint: this.provideEntryPoint, | ||
@@ -40,0 +34,0 @@ }); |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.45.1" | ||
"packageVersion": "7.47.8" | ||
} | ||
] | ||
} |
{ | ||
"name": "@fluid-experimental/data-object-base", | ||
"version": "2.3.0-288113", | ||
"version": "2.3.0", | ||
"description": "Data object base for synchronously and lazily loaded object scenarios", | ||
@@ -36,14 +36,14 @@ "homepage": "https://fluidframework.com", | ||
"dependencies": { | ||
"@fluid-internal/client-utils": "2.3.0-288113", | ||
"@fluidframework/container-definitions": "2.3.0-288113", | ||
"@fluidframework/container-runtime": "2.3.0-288113", | ||
"@fluidframework/container-runtime-definitions": "2.3.0-288113", | ||
"@fluidframework/core-interfaces": "2.3.0-288113", | ||
"@fluidframework/core-utils": "2.3.0-288113", | ||
"@fluidframework/datastore": "2.3.0-288113", | ||
"@fluidframework/datastore-definitions": "2.3.0-288113", | ||
"@fluidframework/request-handler": "2.3.0-288113", | ||
"@fluidframework/runtime-definitions": "2.3.0-288113", | ||
"@fluidframework/runtime-utils": "2.3.0-288113", | ||
"@fluidframework/shared-object-base": "2.3.0-288113" | ||
"@fluid-internal/client-utils": "~2.3.0", | ||
"@fluidframework/container-definitions": "~2.3.0", | ||
"@fluidframework/container-runtime": "~2.3.0", | ||
"@fluidframework/container-runtime-definitions": "~2.3.0", | ||
"@fluidframework/core-interfaces": "~2.3.0", | ||
"@fluidframework/core-utils": "~2.3.0", | ||
"@fluidframework/datastore": "~2.3.0", | ||
"@fluidframework/datastore-definitions": "~2.3.0", | ||
"@fluidframework/request-handler": "~2.3.0", | ||
"@fluidframework/runtime-definitions": "~2.3.0", | ||
"@fluidframework/runtime-utils": "~2.3.0", | ||
"@fluidframework/shared-object-base": "~2.3.0" | ||
}, | ||
@@ -53,7 +53,7 @@ "devDependencies": { | ||
"@biomejs/biome": "~1.8.3", | ||
"@fluid-tools/build-cli": "^0.43.0", | ||
"@fluid-tools/build-cli": "^0.46.0", | ||
"@fluidframework/build-common": "^2.0.3", | ||
"@fluidframework/build-tools": "^0.43.0", | ||
"@fluidframework/eslint-config-fluid": "^5.3.0", | ||
"@microsoft/api-extractor": "^7.45.1", | ||
"@fluidframework/build-tools": "^0.46.0", | ||
"@fluidframework/eslint-config-fluid": "^5.4.0", | ||
"@microsoft/api-extractor": "7.47.8", | ||
"@types/node": "^18.19.0", | ||
@@ -69,3 +69,4 @@ "concurrently": "^8.2.1", | ||
"disabled": true, | ||
"broken": {} | ||
"broken": {}, | ||
"entrypoint": "internal" | ||
}, | ||
@@ -72,0 +73,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
30604
189
+ Added@fluid-internal/client-utils@2.3.1(transitive)
+ Added@fluidframework/container-definitions@2.3.1(transitive)
+ Added@fluidframework/container-runtime@2.3.1(transitive)
+ Added@fluidframework/container-runtime-definitions@2.3.1(transitive)
+ Added@fluidframework/core-interfaces@2.3.1(transitive)
+ Added@fluidframework/core-utils@2.3.1(transitive)
+ Added@fluidframework/datastore@2.3.1(transitive)
+ Added@fluidframework/datastore-definitions@2.3.1(transitive)
+ Added@fluidframework/driver-definitions@2.3.1(transitive)
+ Added@fluidframework/driver-utils@2.3.1(transitive)
+ Added@fluidframework/id-compressor@2.3.1(transitive)
+ Added@fluidframework/request-handler@2.3.1(transitive)
+ Added@fluidframework/runtime-definitions@2.3.1(transitive)
+ Added@fluidframework/runtime-utils@2.3.1(transitive)
+ Added@fluidframework/shared-object-base@2.3.1(transitive)
+ Added@fluidframework/telemetry-utils@2.3.1(transitive)
- Removed@fluid-internal/client-utils@2.3.0-288113(transitive)
- Removed@fluidframework/container-definitions@2.3.0-288113(transitive)
- Removed@fluidframework/container-runtime@2.3.0-288113(transitive)
- Removed@fluidframework/container-runtime-definitions@2.3.0-288113(transitive)
- Removed@fluidframework/core-interfaces@2.3.0-288113(transitive)
- Removed@fluidframework/core-utils@2.3.0-288113(transitive)
- Removed@fluidframework/datastore@2.3.0-288113(transitive)
- Removed@fluidframework/datastore-definitions@2.3.0-288113(transitive)
- Removed@fluidframework/driver-definitions@2.3.0-288113(transitive)
- Removed@fluidframework/driver-utils@2.3.0-288113(transitive)
- Removed@fluidframework/id-compressor@2.3.0-288113(transitive)
- Removed@fluidframework/request-handler@2.3.0-288113(transitive)
- Removed@fluidframework/runtime-definitions@2.3.0-288113(transitive)
- Removed@fluidframework/runtime-utils@2.3.0-288113(transitive)
- Removed@fluidframework/shared-object-base@2.3.0-288113(transitive)
- Removed@fluidframework/telemetry-utils@2.3.0-288113(transitive)