@fluidframework/sequence
Advanced tools
Comparing version 2.10.0-306579 to 2.10.0-307060
@@ -646,3 +646,3 @@ "use strict"; | ||
interval.propertyManager ?? (interval.propertyManager = new internal_2.PropertiesManager()); | ||
deltaProps = interval.propertyManager.addProperties(interval.properties, props, this.isCollaborating ? internal_2.UnassignedSequenceNumber : internal_2.UniversalSequenceNumber, true); | ||
deltaProps = interval.propertyManager.handleProperties({ props }, interval, this.isCollaborating ? internal_2.UnassignedSequenceNumber : internal_2.UniversalSequenceNumber, internal_2.UniversalSequenceNumber, true); | ||
} | ||
@@ -767,5 +767,4 @@ if (start !== undefined && end !== undefined) { | ||
// Let the propertyManager prune its pending change-properties set. | ||
interval.propertyManager.ackPendingProperties({ | ||
type: internal_2.MergeTreeDeltaType.ANNOTATE, | ||
props: serializedInterval.properties ?? {}, | ||
interval.propertyManager.ack(op.sequenceNumber, op.minimumSequenceNumber, { | ||
props: newProps, | ||
}); | ||
@@ -794,3 +793,3 @@ this.ackInterval(interval, op); | ||
newInterval.propertyManager ?? (newInterval.propertyManager = new internal_2.PropertiesManager()); | ||
const deltaProps = newInterval.propertyManager.addProperties(newInterval.properties, newProps, op.sequenceNumber, true); | ||
const deltaProps = newInterval.propertyManager.handleProperties({ props: newProps }, newInterval, op.sequenceNumber, op.minimumSequenceNumber, true); | ||
if (this.onDeserialize) { | ||
@@ -797,0 +796,0 @@ this.onDeserialize(newInterval); |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/sequence"; | ||
export declare const pkgVersion = "2.10.0-306579"; | ||
export declare const pkgVersion = "2.10.0-307060"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -11,3 +11,3 @@ "use strict"; | ||
exports.pkgName = "@fluidframework/sequence"; | ||
exports.pkgVersion = "2.10.0-306579"; | ||
exports.pkgVersion = "2.10.0-307060"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -9,3 +9,3 @@ /*! | ||
import { assert } from "@fluidframework/core-utils/internal"; | ||
import { DetachedReferencePosition, MergeTreeDeltaType, ReferenceType, SlidingPreference, UnassignedSequenceNumber, UniversalSequenceNumber, addProperties, createMap, getSlideToSegoff, refTypeIncludesFlag, reservedRangeLabelsKey, Side, endpointPosAndSide, PropertiesManager, } from "@fluidframework/merge-tree/internal"; | ||
import { DetachedReferencePosition, ReferenceType, SlidingPreference, UnassignedSequenceNumber, UniversalSequenceNumber, addProperties, createMap, getSlideToSegoff, refTypeIncludesFlag, reservedRangeLabelsKey, Side, endpointPosAndSide, PropertiesManager, } from "@fluidframework/merge-tree/internal"; | ||
import { LoggingError, UsageError } from "@fluidframework/telemetry-utils/internal"; | ||
@@ -635,3 +635,3 @@ import { v4 as uuid } from "uuid"; | ||
interval.propertyManager ?? (interval.propertyManager = new PropertiesManager()); | ||
deltaProps = interval.propertyManager.addProperties(interval.properties, props, this.isCollaborating ? UnassignedSequenceNumber : UniversalSequenceNumber, true); | ||
deltaProps = interval.propertyManager.handleProperties({ props }, interval, this.isCollaborating ? UnassignedSequenceNumber : UniversalSequenceNumber, UniversalSequenceNumber, true); | ||
} | ||
@@ -756,5 +756,4 @@ if (start !== undefined && end !== undefined) { | ||
// Let the propertyManager prune its pending change-properties set. | ||
interval.propertyManager.ackPendingProperties({ | ||
type: MergeTreeDeltaType.ANNOTATE, | ||
props: serializedInterval.properties ?? {}, | ||
interval.propertyManager.ack(op.sequenceNumber, op.minimumSequenceNumber, { | ||
props: newProps, | ||
}); | ||
@@ -783,3 +782,3 @@ this.ackInterval(interval, op); | ||
newInterval.propertyManager ?? (newInterval.propertyManager = new PropertiesManager()); | ||
const deltaProps = newInterval.propertyManager.addProperties(newInterval.properties, newProps, op.sequenceNumber, true); | ||
const deltaProps = newInterval.propertyManager.handleProperties({ props: newProps }, newInterval, op.sequenceNumber, op.minimumSequenceNumber, true); | ||
if (this.onDeserialize) { | ||
@@ -786,0 +785,0 @@ this.onDeserialize(newInterval); |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/sequence"; | ||
export declare const pkgVersion = "2.10.0-306579"; | ||
export declare const pkgVersion = "2.10.0-307060"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -8,3 +8,3 @@ /*! | ||
export const pkgName = "@fluidframework/sequence"; | ||
export const pkgVersion = "2.10.0-306579"; | ||
export const pkgVersion = "2.10.0-307060"; | ||
//# sourceMappingURL=packageVersion.js.map |
{ | ||
"name": "@fluidframework/sequence", | ||
"version": "2.10.0-306579", | ||
"version": "2.10.0-307060", | ||
"description": "Distributed sequence", | ||
@@ -82,12 +82,12 @@ "homepage": "https://fluidframework.com", | ||
"dependencies": { | ||
"@fluid-internal/client-utils": "2.10.0-306579", | ||
"@fluidframework/core-interfaces": "2.10.0-306579", | ||
"@fluidframework/core-utils": "2.10.0-306579", | ||
"@fluidframework/datastore-definitions": "2.10.0-306579", | ||
"@fluidframework/driver-definitions": "2.10.0-306579", | ||
"@fluidframework/merge-tree": "2.10.0-306579", | ||
"@fluidframework/runtime-definitions": "2.10.0-306579", | ||
"@fluidframework/runtime-utils": "2.10.0-306579", | ||
"@fluidframework/shared-object-base": "2.10.0-306579", | ||
"@fluidframework/telemetry-utils": "2.10.0-306579", | ||
"@fluid-internal/client-utils": "2.10.0-307060", | ||
"@fluidframework/core-interfaces": "2.10.0-307060", | ||
"@fluidframework/core-utils": "2.10.0-307060", | ||
"@fluidframework/datastore-definitions": "2.10.0-307060", | ||
"@fluidframework/driver-definitions": "2.10.0-307060", | ||
"@fluidframework/merge-tree": "2.10.0-307060", | ||
"@fluidframework/runtime-definitions": "2.10.0-307060", | ||
"@fluidframework/runtime-utils": "2.10.0-307060", | ||
"@fluidframework/shared-object-base": "2.10.0-307060", | ||
"@fluidframework/telemetry-utils": "2.10.0-307060", | ||
"double-ended-queue": "^2.1.0-0", | ||
@@ -99,5 +99,5 @@ "uuid": "^9.0.0" | ||
"@biomejs/biome": "~1.9.3", | ||
"@fluid-internal/mocha-test-setup": "2.10.0-306579", | ||
"@fluid-private/stochastic-test-utils": "2.10.0-306579", | ||
"@fluid-private/test-dds-utils": "2.10.0-306579", | ||
"@fluid-internal/mocha-test-setup": "2.10.0-307060", | ||
"@fluid-private/stochastic-test-utils": "2.10.0-307060", | ||
"@fluid-private/test-dds-utils": "2.10.0-307060", | ||
"@fluid-tools/benchmark": "^0.50.0", | ||
@@ -107,6 +107,6 @@ "@fluid-tools/build-cli": "^0.50.0", | ||
"@fluidframework/build-tools": "^0.50.0", | ||
"@fluidframework/container-definitions": "2.10.0-306579", | ||
"@fluidframework/container-definitions": "2.10.0-307060", | ||
"@fluidframework/eslint-config-fluid": "^5.4.0", | ||
"@fluidframework/sequence-previous": "npm:@fluidframework/sequence@2.5.0", | ||
"@fluidframework/test-runtime-utils": "2.10.0-306579", | ||
"@fluidframework/test-runtime-utils": "2.10.0-307060", | ||
"@microsoft/api-extractor": "7.47.8", | ||
@@ -113,0 +113,0 @@ "@types/diff": "^3.5.1", |
@@ -18,3 +18,2 @@ /*! | ||
LocalReferencePosition, | ||
MergeTreeDeltaType, | ||
PropertySet, | ||
@@ -1333,6 +1332,7 @@ ReferenceType, | ||
interval.propertyManager ??= new PropertiesManager(); | ||
deltaProps = interval.propertyManager.addProperties( | ||
interval.properties, | ||
props, | ||
deltaProps = interval.propertyManager.handleProperties( | ||
{ props }, | ||
interval, | ||
this.isCollaborating ? UnassignedSequenceNumber : UniversalSequenceNumber, | ||
UniversalSequenceNumber, | ||
true, | ||
@@ -1497,5 +1497,4 @@ ); | ||
// Let the propertyManager prune its pending change-properties set. | ||
interval.propertyManager.ackPendingProperties({ | ||
type: MergeTreeDeltaType.ANNOTATE, | ||
props: serializedInterval.properties ?? {}, | ||
interval.propertyManager.ack(op.sequenceNumber, op.minimumSequenceNumber, { | ||
props: newProps, | ||
}); | ||
@@ -1530,6 +1529,7 @@ | ||
newInterval.propertyManager ??= new PropertiesManager(); | ||
const deltaProps = newInterval.propertyManager.addProperties( | ||
newInterval.properties, | ||
newProps, | ||
const deltaProps = newInterval.propertyManager.handleProperties( | ||
{ props: newProps }, | ||
newInterval, | ||
op.sequenceNumber, | ||
op.minimumSequenceNumber, | ||
true, | ||
@@ -1536,0 +1536,0 @@ ); |
@@ -9,2 +9,2 @@ /*! | ||
export const pkgName = "@fluidframework/sequence"; | ||
export const pkgVersion = "2.10.0-306579"; | ||
export const pkgVersion = "2.10.0-307060"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1839881
21243
+ Added@fluid-internal/client-utils@2.10.0-307060(transitive)
+ Added@fluidframework/container-definitions@2.10.0-307060(transitive)
+ Added@fluidframework/container-runtime@2.10.0-307060(transitive)
+ Added@fluidframework/container-runtime-definitions@2.10.0-307060(transitive)
+ Added@fluidframework/core-interfaces@2.10.0-307060(transitive)
+ Added@fluidframework/core-utils@2.10.0-307060(transitive)
+ Added@fluidframework/datastore@2.10.0-307060(transitive)
+ Added@fluidframework/datastore-definitions@2.10.0-307060(transitive)
+ Added@fluidframework/driver-definitions@2.10.0-307060(transitive)
+ Added@fluidframework/driver-utils@2.10.0-307060(transitive)
+ Added@fluidframework/id-compressor@2.10.0-307060(transitive)
+ Added@fluidframework/merge-tree@2.10.0-307060(transitive)
+ Added@fluidframework/runtime-definitions@2.10.0-307060(transitive)
+ Added@fluidframework/runtime-utils@2.10.0-307060(transitive)
+ Added@fluidframework/shared-object-base@2.10.0-307060(transitive)
+ Added@fluidframework/telemetry-utils@2.10.0-307060(transitive)
- Removed@fluid-internal/client-utils@2.10.0-306579(transitive)
- Removed@fluidframework/container-definitions@2.10.0-306579(transitive)
- Removed@fluidframework/container-runtime@2.10.0-306579(transitive)
- Removed@fluidframework/container-runtime-definitions@2.10.0-306579(transitive)
- Removed@fluidframework/core-interfaces@2.10.0-306579(transitive)
- Removed@fluidframework/core-utils@2.10.0-306579(transitive)
- Removed@fluidframework/datastore@2.10.0-306579(transitive)
- Removed@fluidframework/datastore-definitions@2.10.0-306579(transitive)
- Removed@fluidframework/driver-definitions@2.10.0-306579(transitive)
- Removed@fluidframework/driver-utils@2.10.0-306579(transitive)
- Removed@fluidframework/id-compressor@2.10.0-306579(transitive)
- Removed@fluidframework/merge-tree@2.10.0-306579(transitive)
- Removed@fluidframework/runtime-definitions@2.10.0-306579(transitive)
- Removed@fluidframework/runtime-utils@2.10.0-306579(transitive)
- Removed@fluidframework/shared-object-base@2.10.0-306579(transitive)
- Removed@fluidframework/telemetry-utils@2.10.0-306579(transitive)