@fluidframework/sequence
Advanced tools
Comparing version 2.10.0-305357 to 2.10.0-306579
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/sequence"; | ||
export declare const pkgVersion = "2.10.0-305357"; | ||
export declare const pkgVersion = "2.10.0-306579"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -11,3 +11,3 @@ "use strict"; | ||
exports.pkgName = "@fluidframework/sequence"; | ||
exports.pkgVersion = "2.10.0-305357"; | ||
exports.pkgVersion = "2.10.0-306579"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -148,3 +148,5 @@ "use strict"; | ||
} | ||
this.emit("sequenceDelta", event, this); | ||
if (deltaArgs.deltaSegments.length > 0) { | ||
this.emit("sequenceDelta", event, this); | ||
} | ||
}); | ||
@@ -151,0 +153,0 @@ this.client.on("maintenance", (args, opArgs) => { |
@@ -21,3 +21,6 @@ "use strict"; | ||
this.mergeTreeClient = mergeTreeClient; | ||
(0, internal_1.assert)(deltaArgs.deltaSegments.length > 0, 0x2d8 /* "Empty change event should not be emitted." */); | ||
if (deltaArgs.operation !== internal_2.MergeTreeDeltaType.OBLITERATE && | ||
deltaArgs.operation !== internal_2.MergeTreeMaintenanceType.ACKNOWLEDGED) { | ||
(0, internal_1.assert)(deltaArgs.deltaSegments.length > 0, 0x2d8 /* "Empty change event should not be emitted." */); | ||
} | ||
this.deltaOperation = deltaArgs.operation; | ||
@@ -24,0 +27,0 @@ this.isLocal = opArgs?.sequencedMessage === undefined; |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/sequence"; | ||
export declare const pkgVersion = "2.10.0-305357"; | ||
export declare const pkgVersion = "2.10.0-306579"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -8,3 +8,3 @@ /*! | ||
export const pkgName = "@fluidframework/sequence"; | ||
export const pkgVersion = "2.10.0-305357"; | ||
export const pkgVersion = "2.10.0-306579"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -146,3 +146,5 @@ /*! | ||
} | ||
this.emit("sequenceDelta", event, this); | ||
if (deltaArgs.deltaSegments.length > 0) { | ||
this.emit("sequenceDelta", event, this); | ||
} | ||
}); | ||
@@ -149,0 +151,0 @@ this.client.on("maintenance", (args, opArgs) => { |
@@ -6,3 +6,3 @@ /*! | ||
import { assert, Lazy } from "@fluidframework/core-utils/internal"; | ||
import { // eslint-disable-next-line import/no-deprecated | ||
import { MergeTreeDeltaType, MergeTreeMaintenanceType, // eslint-disable-next-line import/no-deprecated | ||
SortedSegmentSet, } from "@fluidframework/merge-tree/internal"; | ||
@@ -20,3 +20,6 @@ export class SequenceEventClass { | ||
this.mergeTreeClient = mergeTreeClient; | ||
assert(deltaArgs.deltaSegments.length > 0, 0x2d8 /* "Empty change event should not be emitted." */); | ||
if (deltaArgs.operation !== MergeTreeDeltaType.OBLITERATE && | ||
deltaArgs.operation !== MergeTreeMaintenanceType.ACKNOWLEDGED) { | ||
assert(deltaArgs.deltaSegments.length > 0, 0x2d8 /* "Empty change event should not be emitted." */); | ||
} | ||
this.deltaOperation = deltaArgs.operation; | ||
@@ -23,0 +26,0 @@ this.isLocal = opArgs?.sequencedMessage === undefined; |
{ | ||
"name": "@fluidframework/sequence", | ||
"version": "2.10.0-305357", | ||
"version": "2.10.0-306579", | ||
"description": "Distributed sequence", | ||
@@ -82,12 +82,12 @@ "homepage": "https://fluidframework.com", | ||
"dependencies": { | ||
"@fluid-internal/client-utils": "2.10.0-305357", | ||
"@fluidframework/core-interfaces": "2.10.0-305357", | ||
"@fluidframework/core-utils": "2.10.0-305357", | ||
"@fluidframework/datastore-definitions": "2.10.0-305357", | ||
"@fluidframework/driver-definitions": "2.10.0-305357", | ||
"@fluidframework/merge-tree": "2.10.0-305357", | ||
"@fluidframework/runtime-definitions": "2.10.0-305357", | ||
"@fluidframework/runtime-utils": "2.10.0-305357", | ||
"@fluidframework/shared-object-base": "2.10.0-305357", | ||
"@fluidframework/telemetry-utils": "2.10.0-305357", | ||
"@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", | ||
"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-305357", | ||
"@fluid-private/stochastic-test-utils": "2.10.0-305357", | ||
"@fluid-private/test-dds-utils": "2.10.0-305357", | ||
"@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-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-305357", | ||
"@fluidframework/container-definitions": "2.10.0-306579", | ||
"@fluidframework/eslint-config-fluid": "^5.4.0", | ||
"@fluidframework/sequence-previous": "npm:@fluidframework/sequence@2.5.0", | ||
"@fluidframework/test-runtime-utils": "2.10.0-305357", | ||
"@fluidframework/test-runtime-utils": "2.10.0-306579", | ||
"@microsoft/api-extractor": "7.47.8", | ||
@@ -113,0 +113,0 @@ "@types/diff": "^3.5.1", |
@@ -9,2 +9,2 @@ /*! | ||
export const pkgName = "@fluidframework/sequence"; | ||
export const pkgVersion = "2.10.0-305357"; | ||
export const pkgVersion = "2.10.0-306579"; |
@@ -544,3 +544,5 @@ /*! | ||
} | ||
this.emit("sequenceDelta", event, this); | ||
if (deltaArgs.deltaSegments.length > 0) { | ||
this.emit("sequenceDelta", event, this); | ||
} | ||
}); | ||
@@ -547,0 +549,0 @@ |
@@ -16,2 +16,3 @@ /*! | ||
MergeTreeDeltaOperationTypes, | ||
MergeTreeDeltaType, | ||
MergeTreeMaintenanceType, | ||
@@ -81,6 +82,11 @@ PropertySet, // eslint-disable-next-line import/no-deprecated | ||
) { | ||
assert( | ||
deltaArgs.deltaSegments.length > 0, | ||
0x2d8 /* "Empty change event should not be emitted." */, | ||
); | ||
if ( | ||
deltaArgs.operation !== MergeTreeDeltaType.OBLITERATE && | ||
deltaArgs.operation !== MergeTreeMaintenanceType.ACKNOWLEDGED | ||
) { | ||
assert( | ||
deltaArgs.deltaSegments.length > 0, | ||
0x2d8 /* "Empty change event should not be emitted." */, | ||
); | ||
} | ||
this.deltaOperation = deltaArgs.operation; | ||
@@ -87,0 +93,0 @@ this.isLocal = opArgs?.sequencedMessage === undefined; |
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
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
1839842
21245
+ Added@fluid-internal/client-utils@2.10.0-306579(transitive)
+ Added@fluidframework/container-definitions@2.10.0-306579(transitive)
+ Added@fluidframework/container-runtime@2.10.0-306579(transitive)
+ Added@fluidframework/container-runtime-definitions@2.10.0-306579(transitive)
+ Added@fluidframework/core-interfaces@2.10.0-306579(transitive)
+ Added@fluidframework/core-utils@2.10.0-306579(transitive)
+ Added@fluidframework/datastore@2.10.0-306579(transitive)
+ Added@fluidframework/datastore-definitions@2.10.0-306579(transitive)
+ Added@fluidframework/driver-definitions@2.10.0-306579(transitive)
+ Added@fluidframework/driver-utils@2.10.0-306579(transitive)
+ Added@fluidframework/id-compressor@2.10.0-306579(transitive)
+ Added@fluidframework/merge-tree@2.10.0-306579(transitive)
+ Added@fluidframework/runtime-definitions@2.10.0-306579(transitive)
+ Added@fluidframework/runtime-utils@2.10.0-306579(transitive)
+ Added@fluidframework/shared-object-base@2.10.0-306579(transitive)
+ Added@fluidframework/telemetry-utils@2.10.0-306579(transitive)
- Removed@fluid-internal/client-utils@2.10.0-305357(transitive)
- Removed@fluidframework/container-definitions@2.10.0-305357(transitive)
- Removed@fluidframework/container-runtime@2.10.0-305357(transitive)
- Removed@fluidframework/container-runtime-definitions@2.10.0-305357(transitive)
- Removed@fluidframework/core-interfaces@2.10.0-305357(transitive)
- Removed@fluidframework/core-utils@2.10.0-305357(transitive)
- Removed@fluidframework/datastore@2.10.0-305357(transitive)
- Removed@fluidframework/datastore-definitions@2.10.0-305357(transitive)
- Removed@fluidframework/driver-definitions@2.10.0-305357(transitive)
- Removed@fluidframework/driver-utils@2.10.0-305357(transitive)
- Removed@fluidframework/id-compressor@2.10.0-305357(transitive)
- Removed@fluidframework/merge-tree@2.10.0-305357(transitive)
- Removed@fluidframework/runtime-definitions@2.10.0-305357(transitive)
- Removed@fluidframework/runtime-utils@2.10.0-305357(transitive)
- Removed@fluidframework/shared-object-base@2.10.0-305357(transitive)
- Removed@fluidframework/telemetry-utils@2.10.0-305357(transitive)