@fluidframework/map 2.63.0-359962 → 2.63.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/CHANGELOG.md +4 -0
- package/dist/directory.js +3 -3
- package/dist/directory.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/lib/directory.js +3 -3
- package/lib/directory.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/package.json +16 -16
- package/src/directory.ts +3 -3
- package/src/packageVersion.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/directory.js
CHANGED
|
@@ -822,7 +822,7 @@ class SubDirectory extends client_utils_1.TypedEventEmitter {
|
|
|
822
822
|
if (detachedBind) {
|
|
823
823
|
// Create a local value and serialize it.
|
|
824
824
|
// AB#47081: This will be removed once we can validate that it is no longer needed.
|
|
825
|
-
(0, internal_5.bindHandles)(value, this.
|
|
825
|
+
(0, internal_5.bindHandles)(value, this.directory.handle);
|
|
826
826
|
}
|
|
827
827
|
// If we are not attached, don't submit the op.
|
|
828
828
|
if (!this.directory.isAttached()) {
|
|
@@ -1714,7 +1714,7 @@ class SubDirectory extends client_utils_1.TypedEventEmitter {
|
|
|
1714
1714
|
// nothing to rollback since the pending data was removed with the subdirectory deletion.
|
|
1715
1715
|
return;
|
|
1716
1716
|
}
|
|
1717
|
-
(0, internal_1.assert)(pendingEntry.type === "createSubDirectory",
|
|
1717
|
+
(0, internal_1.assert)(pendingEntry.type === "createSubDirectory", 0xc71 /* Unexpected pending data for createSubDirectory op */);
|
|
1718
1718
|
// We still need to emit the disposed event for any locally created (and now
|
|
1719
1719
|
// rolled back) subdirectory trees so listeners can observer the lifecycle
|
|
1720
1720
|
// changes properly. We don't want to fully delete in case there is another
|
|
@@ -1734,7 +1734,7 @@ class SubDirectory extends client_utils_1.TypedEventEmitter {
|
|
|
1734
1734
|
// nothing to rollback since the pending data was removed with the subdirectory deletion.
|
|
1735
1735
|
return;
|
|
1736
1736
|
}
|
|
1737
|
-
(0, internal_1.assert)(pendingEntry.type === "deleteSubDirectory",
|
|
1737
|
+
(0, internal_1.assert)(pendingEntry.type === "deleteSubDirectory", 0xc72 /* Unexpected pending data for deleteSubDirectory op */);
|
|
1738
1738
|
this.pendingSubDirectoryData.splice(pendingEntryIndex, 1);
|
|
1739
1739
|
// Restore the subdirectory
|
|
1740
1740
|
const subDirectoryToRestore = localOpMetadata.subDirectory;
|