@fluidframework/test-runtime-utils 2.70.0-361788 → 2.71.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 +17 -0
- package/api-report/test-runtime-utils.legacy.beta.api.md +3 -3
- package/dist/assertionShortCodesMap.d.ts +23 -9
- package/dist/assertionShortCodesMap.d.ts.map +1 -1
- package/dist/assertionShortCodesMap.js +24 -10
- package/dist/assertionShortCodesMap.js.map +1 -1
- package/dist/mocks.d.ts +1 -1
- package/dist/mocks.d.ts.map +1 -1
- package/dist/mocks.js +1 -3
- package/dist/mocks.js.map +1 -1
- package/dist/mocksDataStoreContext.d.ts +2 -2
- package/dist/mocksDataStoreContext.d.ts.map +1 -1
- package/dist/mocksDataStoreContext.js +2 -2
- package/dist/mocksDataStoreContext.js.map +1 -1
- package/lib/assertionShortCodesMap.d.ts +23 -9
- package/lib/assertionShortCodesMap.d.ts.map +1 -1
- package/lib/assertionShortCodesMap.js +24 -10
- package/lib/assertionShortCodesMap.js.map +1 -1
- package/lib/mocks.d.ts +1 -1
- package/lib/mocks.d.ts.map +1 -1
- package/lib/mocks.js +1 -3
- package/lib/mocks.js.map +1 -1
- package/lib/mocksDataStoreContext.d.ts +2 -2
- package/lib/mocksDataStoreContext.d.ts.map +1 -1
- package/lib/mocksDataStoreContext.js +2 -2
- package/lib/mocksDataStoreContext.js.map +1 -1
- package/package.json +20 -39
- package/src/assertionShortCodesMap.ts +24 -10
- package/src/mocks.ts +1 -3
- package/src/mocksDataStoreContext.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @fluidframework/test-runtime-utils
|
|
2
2
|
|
|
3
|
+
## 2.71.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
7
|
+
## 2.70.0
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- getSnapshotTree is now required in IChannelStorageService ([#25707](https://github.com/microsoft/FluidFramework/pull/25707)) [d1c4c0ab1d](https://github.com/microsoft/FluidFramework/commit/d1c4c0ab1d9f15af93f0a02c0dd0d13851655af8)
|
|
12
|
+
|
|
13
|
+
The `getSnapshotTree` property was added as optional to `IChannelStorageService` in version 2.51.0. It is now a required property.
|
|
14
|
+
See this [github issue](https://github.com/microsoft/FluidFramework/issues/25178) for more details.
|
|
15
|
+
|
|
16
|
+
- Remove submitMessage from FluidDataStoreRuntime and MockFluidDataStoreRuntime ([#25755](https://github.com/microsoft/FluidFramework/pull/25755)) [88860f348b](https://github.com/microsoft/FluidFramework/commit/88860f348b0d67f94952d4e2ae227fa0b1f9f942)
|
|
17
|
+
|
|
18
|
+
As needed, access `submitMessage` via `IFluidDataStoreContext`/`IFluidParentContext`. See https://github.com/microsoft/FluidFramework/issues/24406 for details.
|
|
19
|
+
|
|
3
20
|
## 2.63.0
|
|
4
21
|
|
|
5
22
|
Dependency updates only.
|
|
@@ -369,9 +369,9 @@ export class MockFluidDataStoreContext implements IFluidDataStoreContext {
|
|
|
369
369
|
// (undocumented)
|
|
370
370
|
storage: IRuntimeStorageService;
|
|
371
371
|
// (undocumented)
|
|
372
|
-
submitMessage(
|
|
372
|
+
submitMessage(): void;
|
|
373
373
|
// (undocumented)
|
|
374
|
-
submitSignal(
|
|
374
|
+
submitSignal(): void;
|
|
375
375
|
// (undocumented)
|
|
376
376
|
uploadBlob(blob: ArrayBufferLike): Promise<IFluidHandleInternal<ArrayBufferLike>>;
|
|
377
377
|
}
|
|
@@ -502,7 +502,7 @@ export class MockFluidDataStoreRuntime extends EventEmitter implements IFluidDat
|
|
|
502
502
|
// (undocumented)
|
|
503
503
|
setConnectionState(connected: boolean, clientId?: string): void;
|
|
504
504
|
// (undocumented)
|
|
505
|
-
submitSignal
|
|
505
|
+
submitSignal: IFluidDataStoreRuntime["submitSignal"];
|
|
506
506
|
// (undocumented)
|
|
507
507
|
summarize(fullTree?: boolean, trackState?: boolean): Promise<ISummaryTreeWithStats>;
|
|
508
508
|
// (undocumented)
|
|
@@ -455,7 +455,6 @@ export declare const shortCodeMap: {
|
|
|
455
455
|
"0x2e4": string;
|
|
456
456
|
"0x2e8": string;
|
|
457
457
|
"0x2e9": string;
|
|
458
|
-
"0x2ea": string;
|
|
459
458
|
"0x2eb": string;
|
|
460
459
|
"0x2ec": string;
|
|
461
460
|
"0x2ed": string;
|
|
@@ -1694,7 +1693,6 @@ export declare const shortCodeMap: {
|
|
|
1694
1693
|
"0xb9e": string;
|
|
1695
1694
|
"0xb9f": string;
|
|
1696
1695
|
"0xba0": string;
|
|
1697
|
-
"0xba1": string;
|
|
1698
1696
|
"0xba2": string;
|
|
1699
1697
|
"0xba3": string;
|
|
1700
1698
|
"0xba4": string;
|
|
@@ -1790,7 +1788,6 @@ export declare const shortCodeMap: {
|
|
|
1790
1788
|
"0xc15": string;
|
|
1791
1789
|
"0xc16": string;
|
|
1792
1790
|
"0xc17": string;
|
|
1793
|
-
"0xc18": string;
|
|
1794
1791
|
"0xc19": string;
|
|
1795
1792
|
"0xc1a": string;
|
|
1796
1793
|
"0xc1b": string;
|
|
@@ -1802,12 +1799,7 @@ export declare const shortCodeMap: {
|
|
|
1802
1799
|
"0xc23": string;
|
|
1803
1800
|
"0xc24": string;
|
|
1804
1801
|
"0xc25": string;
|
|
1805
|
-
"0xc26": string;
|
|
1806
1802
|
"0xc27": string;
|
|
1807
|
-
"0xc28": string;
|
|
1808
|
-
"0xc29": string;
|
|
1809
|
-
"0xc2a": string;
|
|
1810
|
-
"0xc2b": string;
|
|
1811
1803
|
"0xc2c": string;
|
|
1812
1804
|
"0xc2d": string;
|
|
1813
1805
|
"0xc2e": string;
|
|
@@ -1886,7 +1878,6 @@ export declare const shortCodeMap: {
|
|
|
1886
1878
|
"0xc7a": string;
|
|
1887
1879
|
"0xc7b": string;
|
|
1888
1880
|
"0xc7c": string;
|
|
1889
|
-
"0xc7d": string;
|
|
1890
1881
|
"0xc7e": string;
|
|
1891
1882
|
"0xc7f": string;
|
|
1892
1883
|
"0xc80": string;
|
|
@@ -1895,5 +1886,28 @@ export declare const shortCodeMap: {
|
|
|
1895
1886
|
"0xc83": string;
|
|
1896
1887
|
"0xc84": string;
|
|
1897
1888
|
"0xc85": string;
|
|
1889
|
+
"0xc86": string;
|
|
1890
|
+
"0xc87": string;
|
|
1891
|
+
"0xc88": string;
|
|
1892
|
+
"0xc89": string;
|
|
1893
|
+
"0xc8a": string;
|
|
1894
|
+
"0xc8b": string;
|
|
1895
|
+
"0xc8c": string;
|
|
1896
|
+
"0xc8d": string;
|
|
1897
|
+
"0xc8e": string;
|
|
1898
|
+
"0xc8f": string;
|
|
1899
|
+
"0xc90": string;
|
|
1900
|
+
"0xc91": string;
|
|
1901
|
+
"0xc92": string;
|
|
1902
|
+
"0xc93": string;
|
|
1903
|
+
"0xc94": string;
|
|
1904
|
+
"0xc95": string;
|
|
1905
|
+
"0xc96": string;
|
|
1906
|
+
"0xc97": string;
|
|
1907
|
+
"0xc98": string;
|
|
1908
|
+
"0xc99": string;
|
|
1909
|
+
"0xc9a": string;
|
|
1910
|
+
"0xc9b": string;
|
|
1911
|
+
"0xc9c": string;
|
|
1898
1912
|
};
|
|
1899
1913
|
//# sourceMappingURL=assertionShortCodesMap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertionShortCodesMap.d.ts","sourceRoot":"","sources":["../src/assertionShortCodesMap.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"assertionShortCodesMap.d.ts","sourceRoot":"","sources":["../src/assertionShortCodesMap.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAi3DxB,CAAC"}
|
|
@@ -459,7 +459,6 @@ exports.shortCodeMap = {
|
|
|
459
459
|
"0x2e4": "there should be service config for active connection",
|
|
460
460
|
"0x2e8": "There should be a store context for the op",
|
|
461
461
|
"0x2e9": "Must call getLocalState() after applying initial states",
|
|
462
|
-
"0x2ea": "Configuration state should be enabled",
|
|
463
462
|
"0x2eb": "Summary not supported with configuration disabled",
|
|
464
463
|
"0x2ec": "Blob must be present in blobsContents",
|
|
465
464
|
"0x2ed": "There should be a channel context for the op",
|
|
@@ -1698,7 +1697,6 @@ exports.shortCodeMap = {
|
|
|
1698
1697
|
"0xb9e": "entryPoint must be of type IStaticEntryPoint",
|
|
1699
1698
|
"0xb9f": "entryPoint must be of type RootDataObject",
|
|
1700
1699
|
"0xba0": "No recipient found for local signal",
|
|
1701
|
-
"0xba1": "Extension entry is not of the expected type",
|
|
1702
1700
|
"0xba2": "Reentrancy not allowed in BatchRunCounter",
|
|
1703
1701
|
"0xba3": "Mismatch in staged state tracking",
|
|
1704
1702
|
"0xba4": "local operation must have a pending array",
|
|
@@ -1794,7 +1792,6 @@ exports.shortCodeMap = {
|
|
|
1794
1792
|
"0xc15": "Expected ObjectNodeStoredSchema",
|
|
1795
1793
|
"0xc16": "missing schema for array node",
|
|
1796
1794
|
"0xc17": "Expected MapNodeStoredSchema",
|
|
1797
|
-
"0xc18": "Expected ObjectNodeStoredSchema",
|
|
1798
1795
|
"0xc19": "Expected FieldSchemaAlpha",
|
|
1799
1796
|
"0xc1a": "Expected MapNodeStoredSchema",
|
|
1800
1797
|
"0xc1b": "Expected at least two types",
|
|
@@ -1806,12 +1803,7 @@ exports.shortCodeMap = {
|
|
|
1806
1803
|
"0xc23": "Tracked summary properties must be available when tracking a summary",
|
|
1807
1804
|
"0xc24": "Already tracking a summary",
|
|
1808
1805
|
"0xc25": "Tracked summary properties must not be available when ready to track",
|
|
1809
|
-
"0xc26": "Incremental chunk contents not found",
|
|
1810
1806
|
"0xc27": "incremental decoder not available for incremental field decoding",
|
|
1811
|
-
"0xc28": "Incremental chunk data missing",
|
|
1812
|
-
"0xc29": "should return to fields mode when finished encoding",
|
|
1813
|
-
"0xc2a": "incremental encoding must be enabled to use IncrementalFieldShape",
|
|
1814
|
-
"0xc2b": "incremental encoding must be enabled",
|
|
1815
1807
|
"0xc2c": "The data store should be locally visible when generating attach summary",
|
|
1816
1808
|
"0xc2d": "logger would be in sessionIdOrLogger in this codepath",
|
|
1817
1809
|
"0xc2e": "DecomposedContainerForContainerRuntime is not a ContainerRuntime",
|
|
@@ -1890,7 +1882,6 @@ exports.shortCodeMap = {
|
|
|
1890
1882
|
"0xc7a": "No pending change stored for this revision",
|
|
1891
1883
|
"0xc7b": "missing anchor",
|
|
1892
1884
|
"0xc7c": "Unknown modular change format",
|
|
1893
|
-
"0xc7d": "invalid AnnotatedAllowedTypes",
|
|
1894
1885
|
"0xc7e": "Pending blob already in redirect table",
|
|
1895
1886
|
"0xc7f": "Expected blob to be attached",
|
|
1896
1887
|
"0xc80": "Expect uploadAndAttach to be called with either localOnly or uploaded state",
|
|
@@ -1898,6 +1889,29 @@ exports.shortCodeMap = {
|
|
|
1898
1889
|
"0xc82": "Attempting to attach from unexpected state",
|
|
1899
1890
|
"0xc83": "Pending blob must be in local cache",
|
|
1900
1891
|
"0xc84": "Pending blob must not be in attached state",
|
|
1901
|
-
"0xc85": "bind must be an ISharedObjectHandle"
|
|
1892
|
+
"0xc85": "bind must be an ISharedObjectHandle",
|
|
1893
|
+
"0xc86": "Encoded incremental chunk not found",
|
|
1894
|
+
"0xc87": "Non object nodes with fields should only have one allowedTypes entry",
|
|
1895
|
+
"0xc88": "incremental encoder must be defined to use incrementalFieldEncoder",
|
|
1896
|
+
"0xc89": "catching up without clientId",
|
|
1897
|
+
"0xc8a": "catching up without clientId",
|
|
1898
|
+
"0xc8b": "connected without clientId",
|
|
1899
|
+
"0xc8c": "connected with different clientId than pending",
|
|
1900
|
+
"0xc8d": "connection state mismatch between getConnectionState and setConnectionStatus notification",
|
|
1901
|
+
"0xc8e": "localOpMetadata should be a number",
|
|
1902
|
+
"0xc8f": "local op mismatch",
|
|
1903
|
+
"0xc90": "localOpMetadata should be a number",
|
|
1904
|
+
"0xc91": "op to rollback mismatch with pending op",
|
|
1905
|
+
"0xc92": "invalid increment op format",
|
|
1906
|
+
"0xc93": "localOpMetadata should be a function",
|
|
1907
|
+
"0xc94": "expected exactly one field in batch",
|
|
1908
|
+
"0xc95": "missing proxy",
|
|
1909
|
+
"0xc96": "Expected ObjectNodeStoredSchema",
|
|
1910
|
+
"0xc97": "Presence compatibility generation mismatch.",
|
|
1911
|
+
"0xc98": "Registered version is not major version 2.",
|
|
1912
|
+
"0xc99": "Registered version is not less than the current version.",
|
|
1913
|
+
"0xc9a": "Presence capabilities should be empty.",
|
|
1914
|
+
"0xc9b": "Presence extension called without own compatibility details",
|
|
1915
|
+
"0xc9c": "Data store context does not implement ContainerExtensionProvider"
|
|
1902
1916
|
};
|
|
1903
1917
|
//# sourceMappingURL=assertionShortCodesMap.js.map
|