@fluidframework/container-loader 2.4.0 → 2.5.0-302463
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.js +2 -2
- package/dist/container.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/protocol.d.ts.map +1 -1
- package/dist/protocol.js +0 -3
- package/dist/protocol.js.map +1 -1
- package/lib/container.js +2 -2
- package/lib/container.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +0 -3
- package/lib/protocol.js.map +1 -1
- package/package.json +15 -15
- package/src/container.ts +2 -2
- package/src/packageVersion.ts +1 -1
- package/src/protocol.ts +0 -3
package/dist/container.js
CHANGED
|
@@ -147,7 +147,7 @@ class Container extends internal_5.EventEmitterWithErrorHandling {
|
|
|
147
147
|
// to return container, so ignore this value and use undefined for opsBeforeReturn
|
|
148
148
|
const mode = pendingLocalState
|
|
149
149
|
? { ...(loadMode ?? defaultMode), opsBeforeReturn: undefined }
|
|
150
|
-
: loadMode ?? defaultMode;
|
|
150
|
+
: (loadMode ?? defaultMode);
|
|
151
151
|
const onClosed = (err) => {
|
|
152
152
|
// pre-0.58 error message: containerClosedWithoutErrorDuringLoad
|
|
153
153
|
reject(err ?? new internal_5.GenericError("Container closed without error during load"));
|
|
@@ -1056,7 +1056,7 @@ class Container extends internal_5.EventEmitterWithErrorHandling {
|
|
|
1056
1056
|
const codeDetails = this.getCodeDetailsFromQuorum();
|
|
1057
1057
|
await this.instantiateRuntime(codeDetails, baseSnapshotTree,
|
|
1058
1058
|
// give runtime a dummy value so it knows we're loading from a stash blob
|
|
1059
|
-
pendingLocalState ? pendingLocalState?.pendingRuntimeState ?? {} : undefined, (0, internal_4.isInstanceOfISnapshot)(baseSnapshot) ? baseSnapshot : undefined);
|
|
1059
|
+
pendingLocalState ? (pendingLocalState?.pendingRuntimeState ?? {}) : undefined, (0, internal_4.isInstanceOfISnapshot)(baseSnapshot) ? baseSnapshot : undefined);
|
|
1060
1060
|
// replay saved ops
|
|
1061
1061
|
if (pendingLocalState) {
|
|
1062
1062
|
for (const message of pendingLocalState.savedOps) {
|