@fluidframework/container-loader 2.0.0-internal.8.0.3 → 2.0.0-internal.8.0.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.
- package/dist/container.cjs +5 -1
- package/dist/container.cjs.map +1 -1
- package/dist/container.d.ts.map +1 -1
- package/dist/packageVersion.cjs +1 -1
- package/dist/packageVersion.cjs.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/lib/container.d.ts.map +1 -1
- package/lib/container.mjs +1 -0
- package/lib/container.mjs.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.mjs +1 -1
- package/lib/packageVersion.mjs.map +1 -1
- package/package.json +12 -10
- package/src/container.ts +1 -0
- package/src/packageVersion.ts +1 -1
package/dist/container.cjs
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
6
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
10
|
exports.Container = exports.ReportIfTooLong = exports.waitContainerToCatchUp = void 0;
|
|
8
11
|
const uuid_1 = require("uuid");
|
|
@@ -13,6 +16,7 @@ const container_definitions_1 = require("@fluidframework/container-definitions")
|
|
|
13
16
|
const driver_utils_1 = require("@fluidframework/driver-utils");
|
|
14
17
|
const protocol_definitions_1 = require("@fluidframework/protocol-definitions");
|
|
15
18
|
const telemetry_utils_1 = require("@fluidframework/telemetry-utils");
|
|
19
|
+
const structured_clone_1 = __importDefault(require("@ungap/structured-clone"));
|
|
16
20
|
const audience_1 = require("./audience.cjs");
|
|
17
21
|
const containerContext_1 = require("./containerContext.cjs");
|
|
18
22
|
const contracts_1 = require("./contracts.cjs");
|
|
@@ -1243,7 +1247,7 @@ class Container extends telemetry_utils_1.EventEmitterWithErrorHandling {
|
|
|
1243
1247
|
return pkg;
|
|
1244
1248
|
}
|
|
1245
1249
|
static setupClient(containerId, options, clientDetailsOverride) {
|
|
1246
|
-
const loaderOptionsClient =
|
|
1250
|
+
const loaderOptionsClient = (0, structured_clone_1.default)(options?.client);
|
|
1247
1251
|
const client = loaderOptionsClient !== undefined
|
|
1248
1252
|
? loaderOptionsClient
|
|
1249
1253
|
: {
|