@fluidframework/container-loader 2.0.0-internal.7.4.2 → 2.0.0-internal.7.4.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.
@@ -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");
@@ -1256,7 +1260,7 @@ class Container extends telemetry_utils_1.EventEmitterWithErrorHandling {
1256
1260
  return pkg;
1257
1261
  }
1258
1262
  static setupClient(containerId, options, clientDetailsOverride) {
1259
- const loaderOptionsClient = structuredClone(options?.client);
1263
+ const loaderOptionsClient = (0, structured_clone_1.default)(options?.client);
1260
1264
  const client = loaderOptionsClient !== undefined
1261
1265
  ? loaderOptionsClient
1262
1266
  : {