@fluidframework/map 2.0.0-internal.6.0.0 → 2.0.0-internal.6.1.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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # @fluidframework/map
2
2
 
3
+ ## 2.0.0-internal.6.1.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 2.0.0-internal.6.0.0
4
8
 
5
9
  ### Major Changes
package/dist/directory.js CHANGED
@@ -1602,7 +1602,8 @@ class SubDirectory extends common_utils_1.TypedEventEmitter {
1602
1602
  if (op.type === "createSubDirectory") {
1603
1603
  const dir = this._subdirectories.get(op.subdirName);
1604
1604
  // Child sub directory create seq number can't be lower than the parent subdirectory.
1605
- if (this.sequenceNumber !== -1 && this.sequenceNumber < msg.sequenceNumber) {
1605
+ // The sequence number for multiple ops can be the same when multiple createSubDirectory occurs with grouped batching enabled, thus <= and not just <.
1606
+ if (this.sequenceNumber !== -1 && this.sequenceNumber <= msg.sequenceNumber) {
1606
1607
  if (dir?.sequenceNumber === -1) {
1607
1608
  // Only set the seq on the first message, could be more
1608
1609
  dir.sequenceNumber = msg.sequenceNumber;