@fluidframework/datastore 2.60.0 → 2.61.0-355516
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/.mocharc.cjs +1 -2
- package/api-report/datastore.legacy.beta.api.md +2 -1
- package/dist/dataStoreRuntime.d.ts +10 -1
- package/dist/dataStoreRuntime.d.ts.map +1 -1
- package/dist/dataStoreRuntime.js +6 -0
- package/dist/dataStoreRuntime.js.map +1 -1
- package/dist/legacy.d.ts +2 -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/dataStoreRuntime.d.ts +10 -1
- package/lib/dataStoreRuntime.d.ts.map +1 -1
- package/lib/dataStoreRuntime.js +6 -0
- package/lib/dataStoreRuntime.js.map +1 -1
- package/lib/legacy.d.ts +2 -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/lib/tsdoc-metadata.json +1 -1
- package/package.json +23 -23
- package/src/dataStoreRuntime.ts +13 -0
- package/src/packageVersion.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/datastore",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.61.0-355516",
|
|
4
4
|
"description": "Fluid data store implementation",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -69,35 +69,35 @@
|
|
|
69
69
|
"temp-directory": "nyc/.nyc_output"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@fluid-internal/client-utils": "
|
|
73
|
-
"@fluidframework/container-definitions": "
|
|
74
|
-
"@fluidframework/core-interfaces": "
|
|
75
|
-
"@fluidframework/core-utils": "
|
|
76
|
-
"@fluidframework/datastore-definitions": "
|
|
77
|
-
"@fluidframework/driver-definitions": "
|
|
78
|
-
"@fluidframework/driver-utils": "
|
|
79
|
-
"@fluidframework/id-compressor": "
|
|
80
|
-
"@fluidframework/runtime-definitions": "
|
|
81
|
-
"@fluidframework/runtime-utils": "
|
|
82
|
-
"@fluidframework/telemetry-utils": "
|
|
72
|
+
"@fluid-internal/client-utils": "2.61.0-355516",
|
|
73
|
+
"@fluidframework/container-definitions": "2.61.0-355516",
|
|
74
|
+
"@fluidframework/core-interfaces": "2.61.0-355516",
|
|
75
|
+
"@fluidframework/core-utils": "2.61.0-355516",
|
|
76
|
+
"@fluidframework/datastore-definitions": "2.61.0-355516",
|
|
77
|
+
"@fluidframework/driver-definitions": "2.61.0-355516",
|
|
78
|
+
"@fluidframework/driver-utils": "2.61.0-355516",
|
|
79
|
+
"@fluidframework/id-compressor": "2.61.0-355516",
|
|
80
|
+
"@fluidframework/runtime-definitions": "2.61.0-355516",
|
|
81
|
+
"@fluidframework/runtime-utils": "2.61.0-355516",
|
|
82
|
+
"@fluidframework/telemetry-utils": "2.61.0-355516",
|
|
83
83
|
"uuid": "^11.1.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
87
87
|
"@biomejs/biome": "~1.9.3",
|
|
88
|
-
"@fluid-internal/mocha-test-setup": "
|
|
89
|
-
"@fluid-tools/build-cli": "^0.
|
|
88
|
+
"@fluid-internal/mocha-test-setup": "2.61.0-355516",
|
|
89
|
+
"@fluid-tools/build-cli": "^0.58.1",
|
|
90
90
|
"@fluidframework/build-common": "^2.0.3",
|
|
91
|
-
"@fluidframework/build-tools": "^0.
|
|
92
|
-
"@fluidframework/datastore-previous": "npm:@fluidframework/datastore@2.
|
|
91
|
+
"@fluidframework/build-tools": "^0.58.1",
|
|
92
|
+
"@fluidframework/datastore-previous": "npm:@fluidframework/datastore@2.60.0",
|
|
93
93
|
"@fluidframework/eslint-config-fluid": "^6.0.0",
|
|
94
|
-
"@fluidframework/test-runtime-utils": "
|
|
95
|
-
"@microsoft/api-extractor": "7.52.
|
|
94
|
+
"@fluidframework/test-runtime-utils": "2.61.0-355516",
|
|
95
|
+
"@microsoft/api-extractor": "7.52.11",
|
|
96
96
|
"@types/lodash": "^4.14.118",
|
|
97
97
|
"@types/mocha": "^10.0.10",
|
|
98
98
|
"@types/node": "^18.19.0",
|
|
99
99
|
"@types/sinon": "^17.0.3",
|
|
100
|
-
"c8": "^
|
|
100
|
+
"c8": "^10.1.3",
|
|
101
101
|
"concurrently": "^8.2.1",
|
|
102
102
|
"copyfiles": "^2.4.1",
|
|
103
103
|
"cross-env": "^7.0.3",
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
},
|
|
115
115
|
"scripts": {
|
|
116
116
|
"api": "fluid-build . --task api",
|
|
117
|
-
"api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
|
|
118
|
-
"api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
|
|
117
|
+
"api-extractor:commonjs": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./dist",
|
|
118
|
+
"api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
|
|
119
119
|
"build": "fluid-build . --task build",
|
|
120
120
|
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
121
121
|
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
|
|
@@ -152,8 +152,8 @@
|
|
|
152
152
|
"test": "npm run test:mocha",
|
|
153
153
|
"test:coverage": "c8 npm test",
|
|
154
154
|
"test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
|
|
155
|
-
"test:mocha:cjs": "
|
|
156
|
-
"test:mocha:esm": "mocha
|
|
155
|
+
"test:mocha:cjs": "cross-env MOCHA_SPEC=dist/test mocha",
|
|
156
|
+
"test:mocha:esm": "mocha",
|
|
157
157
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
158
158
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && npm run place:cjs:package-stub",
|
|
159
159
|
"tsc:watch": "npm run place:cjs:package-stub && fluid-tsc commonjs --project ./tsconfig.cjs.json --watch",
|
package/src/dataStoreRuntime.ts
CHANGED
|
@@ -66,6 +66,7 @@ import {
|
|
|
66
66
|
notifiesReadOnlyState,
|
|
67
67
|
encodeHandlesInContainerRuntime,
|
|
68
68
|
type IFluidDataStorePolicies,
|
|
69
|
+
type MinimumVersionForCollab,
|
|
69
70
|
} from "@fluidframework/runtime-definitions/internal";
|
|
70
71
|
import {
|
|
71
72
|
GCDataBuilder,
|
|
@@ -292,6 +293,11 @@ export class FluidDataStoreRuntime
|
|
|
292
293
|
*/
|
|
293
294
|
private readonly submitMessagesWithoutEncodingHandles: boolean;
|
|
294
295
|
|
|
296
|
+
/**
|
|
297
|
+
* See `IFluidDataStoreRuntimeInternalConfig.minVersionForCollab`.
|
|
298
|
+
*/
|
|
299
|
+
public readonly minVersionForCollab?: MinimumVersionForCollab | undefined;
|
|
300
|
+
|
|
295
301
|
/**
|
|
296
302
|
* Create an instance of a DataStore runtime.
|
|
297
303
|
*
|
|
@@ -441,6 +447,8 @@ export class FluidDataStoreRuntime
|
|
|
441
447
|
// They're accessed via IFluidDataStoreRuntimeExperimental interface.
|
|
442
448
|
// eslint-disable-next-line no-void
|
|
443
449
|
void [this.inStagingMode, this.isDirty];
|
|
450
|
+
|
|
451
|
+
this.minVersionForCollab = this.dataStoreContext.minVersionForCollab;
|
|
444
452
|
}
|
|
445
453
|
|
|
446
454
|
/**
|
|
@@ -1158,6 +1166,11 @@ export class FluidDataStoreRuntime
|
|
|
1158
1166
|
}
|
|
1159
1167
|
}
|
|
1160
1168
|
|
|
1169
|
+
/**
|
|
1170
|
+
* Do not use.
|
|
1171
|
+
* @deprecated Use `IFluidDataStoreContext.submitMessage` instead.
|
|
1172
|
+
* @see https://github.com/microsoft/FluidFramework/issues/24406
|
|
1173
|
+
*/
|
|
1161
1174
|
public submitMessage(
|
|
1162
1175
|
type: DataStoreMessageType,
|
|
1163
1176
|
// TODO: use something other than `any` here (breaking change)
|
package/src/packageVersion.ts
CHANGED