@fluidframework/runtime-utils 2.0.0-internal.2.4.0 → 2.0.0-internal.3.0.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/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/runtimeFactoryHelper.d.ts +1 -1
- package/dist/runtimeFactoryHelper.d.ts.map +1 -1
- package/dist/runtimeFactoryHelper.js +2 -5
- package/dist/runtimeFactoryHelper.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/runtimeFactoryHelper.d.ts +1 -1
- package/lib/runtimeFactoryHelper.d.ts.map +1 -1
- package/lib/runtimeFactoryHelper.js +2 -5
- package/lib/runtimeFactoryHelper.js.map +1 -1
- package/package.json +11 -11
- package/src/packageVersion.ts +1 -1
- package/src/runtimeFactoryHelper.ts +3 -8
package/dist/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/runtime-utils";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-internal.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-internal.3.0.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/dist/packageVersion.js
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.pkgVersion = exports.pkgName = void 0;
|
|
10
10
|
exports.pkgName = "@fluidframework/runtime-utils";
|
|
11
|
-
exports.pkgVersion = "2.0.0-internal.
|
|
11
|
+
exports.pkgVersion = "2.0.0-internal.3.0.0";
|
|
12
12
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,+BAA+B,CAAC;AAC1C,QAAA,UAAU,GAAG,sBAAsB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/runtime-utils\";\nexport const pkgVersion = \"2.0.0-internal.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,+BAA+B,CAAC;AAC1C,QAAA,UAAU,GAAG,sBAAsB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/runtime-utils\";\nexport const pkgVersion = \"2.0.0-internal.3.0.0\";\n"]}
|
|
@@ -6,7 +6,7 @@ import { IContainerContext, IRuntime, IRuntimeFactory } from "@fluidframework/co
|
|
|
6
6
|
import { IContainerRuntime } from "@fluidframework/container-runtime-definitions";
|
|
7
7
|
export declare abstract class RuntimeFactoryHelper<T = IContainerRuntime> implements IRuntimeFactory {
|
|
8
8
|
get IRuntimeFactory(): this;
|
|
9
|
-
instantiateRuntime(context: IContainerContext, existing
|
|
9
|
+
instantiateRuntime(context: IContainerContext, existing: boolean): Promise<IRuntime>;
|
|
10
10
|
abstract preInitialize(context: IContainerContext, existing: boolean): Promise<IRuntime & T>;
|
|
11
11
|
instantiateFirstTime(_runtime: T): Promise<void>;
|
|
12
12
|
instantiateFromExisting(_runtime: T): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeFactoryHelper.d.ts","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,iBAAiB,EACjB,QAAQ,EACR,eAAe,EAClB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,8BAAsB,oBAAoB,CAAC,CAAC,GAAG,iBAAiB,CAAE,YAAW,eAAe;IACxF,IAAW,eAAe,SAAmB;IAEhC,kBAAkB,CAC3B,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,
|
|
1
|
+
{"version":3,"file":"runtimeFactoryHelper.d.ts","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,iBAAiB,EACjB,QAAQ,EACR,eAAe,EAClB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,8BAAsB,oBAAoB,CAAC,CAAC,GAAG,iBAAiB,CAAE,YAAW,eAAe;IACxF,IAAW,eAAe,SAAmB;IAEhC,kBAAkB,CAC3B,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,OAAO,GAClB,OAAO,CAAC,QAAQ,CAAC;aAOJ,aAAa,CAAC,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACtF,oBAAoB,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAChD,uBAAuB,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IACnD,cAAc,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAC1D"}
|
|
@@ -8,11 +8,8 @@ exports.RuntimeFactoryHelper = void 0;
|
|
|
8
8
|
class RuntimeFactoryHelper {
|
|
9
9
|
get IRuntimeFactory() { return this; }
|
|
10
10
|
async instantiateRuntime(context, existing) {
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
: existing;
|
|
14
|
-
const runtime = await this.preInitialize(context, fromExisting);
|
|
15
|
-
await (fromExisting ? this.instantiateFromExisting(runtime) : this.instantiateFirstTime(runtime));
|
|
11
|
+
const runtime = await this.preInitialize(context, existing);
|
|
12
|
+
await (existing ? this.instantiateFromExisting(runtime) : this.instantiateFirstTime(runtime));
|
|
16
13
|
await this.hasInitialized(runtime);
|
|
17
14
|
return runtime;
|
|
18
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeFactoryHelper.js","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AASH,MAAsB,oBAAoB;IACtC,IAAW,eAAe,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC;IAEtC,KAAK,CAAC,kBAAkB,CAC3B,OAA0B,EAC1B,
|
|
1
|
+
{"version":3,"file":"runtimeFactoryHelper.js","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AASH,MAAsB,oBAAoB;IACtC,IAAW,eAAe,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC;IAEtC,KAAK,CAAC,kBAAkB,CAC3B,OAA0B,EAC1B,QAAiB;QAEjB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAC5D,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;QAC9F,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QACnC,OAAO,OAAO,CAAC;IACnB,CAAC;IAGM,KAAK,CAAC,oBAAoB,CAAC,QAAW,IAAkB,CAAC;IACzD,KAAK,CAAC,uBAAuB,CAAC,QAAW,IAAkB,CAAC;IAC5D,KAAK,CAAC,cAAc,CAAC,QAAW,IAAkB,CAAC;CAC7D;AAjBD,oDAiBC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n IContainerContext,\n IRuntime,\n IRuntimeFactory,\n} from \"@fluidframework/container-definitions\";\nimport { IContainerRuntime } from \"@fluidframework/container-runtime-definitions\";\n\nexport abstract class RuntimeFactoryHelper<T = IContainerRuntime> implements IRuntimeFactory {\n public get IRuntimeFactory() { return this; }\n\n public async instantiateRuntime(\n context: IContainerContext,\n existing: boolean,\n ): Promise<IRuntime> {\n const runtime = await this.preInitialize(context, existing);\n await (existing ? this.instantiateFromExisting(runtime) : this.instantiateFirstTime(runtime));\n await this.hasInitialized(runtime);\n return runtime;\n }\n\n public abstract preInitialize(context: IContainerContext, existing: boolean): Promise<IRuntime & T>;\n public async instantiateFirstTime(_runtime: T): Promise<void> {}\n public async instantiateFromExisting(_runtime: T): Promise<void> {}\n public async hasInitialized(_runtime: T): Promise<void> {}\n}\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/runtime-utils";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-internal.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-internal.3.0.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export const pkgName = "@fluidframework/runtime-utils";
|
|
8
|
-
export const pkgVersion = "2.0.0-internal.
|
|
8
|
+
export const pkgVersion = "2.0.0-internal.3.0.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/runtime-utils\";\nexport const pkgVersion = \"2.0.0-internal.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/runtime-utils\";\nexport const pkgVersion = \"2.0.0-internal.3.0.0\";\n"]}
|
|
@@ -6,7 +6,7 @@ import { IContainerContext, IRuntime, IRuntimeFactory } from "@fluidframework/co
|
|
|
6
6
|
import { IContainerRuntime } from "@fluidframework/container-runtime-definitions";
|
|
7
7
|
export declare abstract class RuntimeFactoryHelper<T = IContainerRuntime> implements IRuntimeFactory {
|
|
8
8
|
get IRuntimeFactory(): this;
|
|
9
|
-
instantiateRuntime(context: IContainerContext, existing
|
|
9
|
+
instantiateRuntime(context: IContainerContext, existing: boolean): Promise<IRuntime>;
|
|
10
10
|
abstract preInitialize(context: IContainerContext, existing: boolean): Promise<IRuntime & T>;
|
|
11
11
|
instantiateFirstTime(_runtime: T): Promise<void>;
|
|
12
12
|
instantiateFromExisting(_runtime: T): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeFactoryHelper.d.ts","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,iBAAiB,EACjB,QAAQ,EACR,eAAe,EAClB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,8BAAsB,oBAAoB,CAAC,CAAC,GAAG,iBAAiB,CAAE,YAAW,eAAe;IACxF,IAAW,eAAe,SAAmB;IAEhC,kBAAkB,CAC3B,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,
|
|
1
|
+
{"version":3,"file":"runtimeFactoryHelper.d.ts","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,iBAAiB,EACjB,QAAQ,EACR,eAAe,EAClB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,8BAAsB,oBAAoB,CAAC,CAAC,GAAG,iBAAiB,CAAE,YAAW,eAAe;IACxF,IAAW,eAAe,SAAmB;IAEhC,kBAAkB,CAC3B,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,OAAO,GAClB,OAAO,CAAC,QAAQ,CAAC;aAOJ,aAAa,CAAC,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACtF,oBAAoB,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAChD,uBAAuB,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IACnD,cAAc,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAC1D"}
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
export class RuntimeFactoryHelper {
|
|
6
6
|
get IRuntimeFactory() { return this; }
|
|
7
7
|
async instantiateRuntime(context, existing) {
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
: existing;
|
|
11
|
-
const runtime = await this.preInitialize(context, fromExisting);
|
|
12
|
-
await (fromExisting ? this.instantiateFromExisting(runtime) : this.instantiateFirstTime(runtime));
|
|
8
|
+
const runtime = await this.preInitialize(context, existing);
|
|
9
|
+
await (existing ? this.instantiateFromExisting(runtime) : this.instantiateFirstTime(runtime));
|
|
13
10
|
await this.hasInitialized(runtime);
|
|
14
11
|
return runtime;
|
|
15
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeFactoryHelper.js","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,MAAM,OAAgB,oBAAoB;IACtC,IAAW,eAAe,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC;IAEtC,KAAK,CAAC,kBAAkB,CAC3B,OAA0B,EAC1B,
|
|
1
|
+
{"version":3,"file":"runtimeFactoryHelper.js","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,MAAM,OAAgB,oBAAoB;IACtC,IAAW,eAAe,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC;IAEtC,KAAK,CAAC,kBAAkB,CAC3B,OAA0B,EAC1B,QAAiB;QAEjB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAC5D,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;QAC9F,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QACnC,OAAO,OAAO,CAAC;IACnB,CAAC;IAGM,KAAK,CAAC,oBAAoB,CAAC,QAAW,IAAkB,CAAC;IACzD,KAAK,CAAC,uBAAuB,CAAC,QAAW,IAAkB,CAAC;IAC5D,KAAK,CAAC,cAAc,CAAC,QAAW,IAAkB,CAAC;CAC7D","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n IContainerContext,\n IRuntime,\n IRuntimeFactory,\n} from \"@fluidframework/container-definitions\";\nimport { IContainerRuntime } from \"@fluidframework/container-runtime-definitions\";\n\nexport abstract class RuntimeFactoryHelper<T = IContainerRuntime> implements IRuntimeFactory {\n public get IRuntimeFactory() { return this; }\n\n public async instantiateRuntime(\n context: IContainerContext,\n existing: boolean,\n ): Promise<IRuntime> {\n const runtime = await this.preInitialize(context, existing);\n await (existing ? this.instantiateFromExisting(runtime) : this.instantiateFirstTime(runtime));\n await this.hasInitialized(runtime);\n return runtime;\n }\n\n public abstract preInitialize(context: IContainerContext, existing: boolean): Promise<IRuntime & T>;\n public async instantiateFirstTime(_runtime: T): Promise<void> {}\n public async instantiateFromExisting(_runtime: T): Promise<void> {}\n public async hasInitialized(_runtime: T): Promise<void> {}\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/runtime-utils",
|
|
3
|
-
"version": "2.0.0-internal.
|
|
3
|
+
"version": "2.0.0-internal.3.0.0",
|
|
4
4
|
"description": "Collection of utility functions for Fluid Runtime",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -64,22 +64,22 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@fluidframework/common-definitions": "^0.20.1",
|
|
66
66
|
"@fluidframework/common-utils": "^1.0.0",
|
|
67
|
-
"@fluidframework/container-definitions": ">=2.0.0-internal.
|
|
68
|
-
"@fluidframework/container-runtime-definitions": ">=2.0.0-internal.
|
|
69
|
-
"@fluidframework/core-interfaces": ">=2.0.0-internal.
|
|
70
|
-
"@fluidframework/datastore-definitions": ">=2.0.0-internal.
|
|
71
|
-
"@fluidframework/garbage-collector": ">=2.0.0-internal.
|
|
67
|
+
"@fluidframework/container-definitions": ">=2.0.0-internal.3.0.0 <2.0.0-internal.4.0.0",
|
|
68
|
+
"@fluidframework/container-runtime-definitions": ">=2.0.0-internal.3.0.0 <2.0.0-internal.4.0.0",
|
|
69
|
+
"@fluidframework/core-interfaces": ">=2.0.0-internal.3.0.0 <2.0.0-internal.4.0.0",
|
|
70
|
+
"@fluidframework/datastore-definitions": ">=2.0.0-internal.3.0.0 <2.0.0-internal.4.0.0",
|
|
71
|
+
"@fluidframework/garbage-collector": ">=2.0.0-internal.3.0.0 <2.0.0-internal.4.0.0",
|
|
72
72
|
"@fluidframework/protocol-base": "^0.1038.2000",
|
|
73
73
|
"@fluidframework/protocol-definitions": "^1.1.0",
|
|
74
|
-
"@fluidframework/runtime-definitions": ">=2.0.0-internal.
|
|
75
|
-
"@fluidframework/telemetry-utils": ">=2.0.0-internal.
|
|
74
|
+
"@fluidframework/runtime-definitions": ">=2.0.0-internal.3.0.0 <2.0.0-internal.4.0.0",
|
|
75
|
+
"@fluidframework/telemetry-utils": ">=2.0.0-internal.3.0.0 <2.0.0-internal.4.0.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@fluid-tools/build-cli": "^0.8.0",
|
|
79
79
|
"@fluidframework/build-common": "^1.1.0",
|
|
80
80
|
"@fluidframework/build-tools": "^0.8.0",
|
|
81
81
|
"@fluidframework/eslint-config-fluid": "^2.0.0",
|
|
82
|
-
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.
|
|
82
|
+
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.3.0.0 <2.0.0-internal.4.0.0",
|
|
83
83
|
"@fluidframework/runtime-utils-previous": "npm:@fluidframework/runtime-utils@2.0.0-internal.2.2.0",
|
|
84
84
|
"@microsoft/api-extractor": "^7.22.2",
|
|
85
85
|
"@rushstack/eslint-config": "^2.5.1",
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"typescript": "~4.5.5"
|
|
99
99
|
},
|
|
100
100
|
"typeValidation": {
|
|
101
|
-
"version": "2.0.0-internal.
|
|
102
|
-
"baselineRange": ">=2.0.0-internal.2.
|
|
101
|
+
"version": "2.0.0-internal.3.0.0",
|
|
102
|
+
"baselineRange": ">=2.0.0-internal.2.0.0 <2.0.0-internal.3.0.0",
|
|
103
103
|
"baselineVersion": "2.0.0-internal.2.2.0",
|
|
104
104
|
"broken": {}
|
|
105
105
|
}
|
package/src/packageVersion.ts
CHANGED
|
@@ -15,15 +15,10 @@ export abstract class RuntimeFactoryHelper<T = IContainerRuntime> implements IRu
|
|
|
15
15
|
|
|
16
16
|
public async instantiateRuntime(
|
|
17
17
|
context: IContainerContext,
|
|
18
|
-
existing
|
|
18
|
+
existing: boolean,
|
|
19
19
|
): Promise<IRuntime> {
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
: existing;
|
|
23
|
-
const runtime = await this.preInitialize(context, fromExisting);
|
|
24
|
-
|
|
25
|
-
await (fromExisting ? this.instantiateFromExisting(runtime) : this.instantiateFirstTime(runtime));
|
|
26
|
-
|
|
20
|
+
const runtime = await this.preInitialize(context, existing);
|
|
21
|
+
await (existing ? this.instantiateFromExisting(runtime) : this.instantiateFirstTime(runtime));
|
|
27
22
|
await this.hasInitialized(runtime);
|
|
28
23
|
return runtime;
|
|
29
24
|
}
|