fluid-framework 2.91.0 → 2.93.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 +156 -0
- package/README.md +1 -1
- package/alpha.d.ts +1 -1
- package/api-report/fluid-framework.alpha.api.md +158 -50
- package/api-report/fluid-framework.beta.api.md +80 -12
- package/api-report/fluid-framework.legacy.beta.api.md +91 -17
- package/api-report/fluid-framework.legacy.public.api.md +3 -0
- package/api-report/fluid-framework.public.api.md +3 -0
- package/beta.d.ts +1 -1
- package/dist/alpha.d.ts +27 -10
- package/dist/beta.d.ts +12 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -13
- package/dist/index.js.map +1 -1
- package/dist/legacy.d.ts +13 -1
- package/dist/public.d.ts +2 -1
- package/eslint.config.mts +1 -1
- package/legacy.d.ts +1 -1
- package/lib/alpha.d.ts +27 -10
- package/lib/beta.d.ts +12 -1
- package/lib/index.d.ts +5 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/legacy.d.ts +13 -1
- package/lib/public.d.ts +2 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +21 -34
- package/src/index.ts +11 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-framework",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.93.0",
|
|
4
4
|
"description": "The main entry point into Fluid Framework public packages",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -57,52 +57,41 @@
|
|
|
57
57
|
"main": "lib/index.js",
|
|
58
58
|
"types": "lib/public.d.ts",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@fluidframework/container-definitions": "~2.
|
|
61
|
-
"@fluidframework/container-loader": "~2.
|
|
62
|
-
"@fluidframework/core-interfaces": "~2.
|
|
63
|
-
"@fluidframework/core-utils": "~2.
|
|
64
|
-
"@fluidframework/driver-definitions": "~2.
|
|
65
|
-
"@fluidframework/fluid-static": "~2.
|
|
66
|
-
"@fluidframework/map": "~2.
|
|
67
|
-
"@fluidframework/runtime-utils": "~2.
|
|
68
|
-
"@fluidframework/sequence": "~2.
|
|
69
|
-
"@fluidframework/shared-object-base": "~2.
|
|
70
|
-
"@fluidframework/tree": "~2.
|
|
60
|
+
"@fluidframework/container-definitions": "~2.93.0",
|
|
61
|
+
"@fluidframework/container-loader": "~2.93.0",
|
|
62
|
+
"@fluidframework/core-interfaces": "~2.93.0",
|
|
63
|
+
"@fluidframework/core-utils": "~2.93.0",
|
|
64
|
+
"@fluidframework/driver-definitions": "~2.93.0",
|
|
65
|
+
"@fluidframework/fluid-static": "~2.93.0",
|
|
66
|
+
"@fluidframework/map": "~2.93.0",
|
|
67
|
+
"@fluidframework/runtime-utils": "~2.93.0",
|
|
68
|
+
"@fluidframework/sequence": "~2.93.0",
|
|
69
|
+
"@fluidframework/shared-object-base": "~2.93.0",
|
|
70
|
+
"@fluidframework/tree": "~2.93.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
74
74
|
"@biomejs/biome": "~2.4.5",
|
|
75
|
-
"@fluid-tools/build-cli": "^0.
|
|
75
|
+
"@fluid-tools/build-cli": "^0.64.0",
|
|
76
76
|
"@fluidframework/build-common": "^2.0.3",
|
|
77
|
-
"@fluidframework/build-tools": "^0.
|
|
78
|
-
"@fluidframework/eslint-config-fluid": "
|
|
79
|
-
"@microsoft/api-extractor": "7.
|
|
80
|
-
"@types/node": "~
|
|
77
|
+
"@fluidframework/build-tools": "^0.64.0",
|
|
78
|
+
"@fluidframework/eslint-config-fluid": "^9.0.0",
|
|
79
|
+
"@microsoft/api-extractor": "7.58.1",
|
|
80
|
+
"@types/node": "~22.19.17",
|
|
81
81
|
"concurrently": "^9.2.1",
|
|
82
82
|
"copyfiles": "^2.4.1",
|
|
83
83
|
"eslint": "~9.39.1",
|
|
84
|
+
"fluid-framework-previous": "npm:fluid-framework@2.92.0",
|
|
84
85
|
"jiti": "^2.6.1",
|
|
85
86
|
"rimraf": "^6.1.3",
|
|
86
87
|
"typescript": "~5.4.5"
|
|
87
88
|
},
|
|
88
|
-
"fluidBuild": {
|
|
89
|
-
"tasks": {
|
|
90
|
-
"build:esnext": [
|
|
91
|
-
"...",
|
|
92
|
-
"typetests:gen"
|
|
93
|
-
],
|
|
94
|
-
"tsc": [
|
|
95
|
-
"...",
|
|
96
|
-
"typetests:gen"
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
89
|
"typeValidation": {
|
|
101
|
-
"
|
|
90
|
+
"broken": {}
|
|
102
91
|
},
|
|
103
92
|
"scripts": {
|
|
104
93
|
"api": "fluid-build . --task api",
|
|
105
|
-
"api-extractor:commonjs": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./dist",
|
|
94
|
+
"api-extractor:commonjs": "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist",
|
|
106
95
|
"api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
|
|
107
96
|
"build": "fluid-build . --task build",
|
|
108
97
|
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
@@ -136,8 +125,6 @@
|
|
|
136
125
|
"format:biome": "biome check . --write",
|
|
137
126
|
"lint": "fluid-build . --task lint",
|
|
138
127
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
139
|
-
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist"
|
|
140
|
-
"typetests:gen": "flub generate typetests --dir . -v",
|
|
141
|
-
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
128
|
+
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist"
|
|
142
129
|
}
|
|
143
130
|
}
|
package/src/index.ts
CHANGED
|
@@ -33,6 +33,7 @@ export type {
|
|
|
33
33
|
MemberChangedListener,
|
|
34
34
|
Myself,
|
|
35
35
|
} from "@fluidframework/fluid-static";
|
|
36
|
+
export { getPresence, getPresenceAlpha } from "@fluidframework/fluid-static/internal";
|
|
36
37
|
export type { SharedObjectKind } from "@fluidframework/shared-object-base";
|
|
37
38
|
export type {
|
|
38
39
|
IErrorBase,
|
|
@@ -61,7 +62,13 @@ export type {
|
|
|
61
62
|
Off,
|
|
62
63
|
/* eslint-enable import-x/export */
|
|
63
64
|
} from "@fluidframework/core-interfaces";
|
|
64
|
-
export type {
|
|
65
|
+
export type {
|
|
66
|
+
ErasedBaseType,
|
|
67
|
+
FluidIterable,
|
|
68
|
+
FluidIterableIterator,
|
|
69
|
+
FluidMap,
|
|
70
|
+
FluidReadonlyMap,
|
|
71
|
+
} from "@fluidframework/core-interfaces/internal";
|
|
65
72
|
|
|
66
73
|
// This is an alpha API, but this package doesn't have an alpha entry point so its imported from "internal".
|
|
67
74
|
export { onAssertionFailure } from "@fluidframework/core-utils/internal";
|
|
@@ -95,10 +102,10 @@ import {
|
|
|
95
102
|
* A hierarchical data structure for collaboratively editing strongly typed JSON-like trees
|
|
96
103
|
* of objects, arrays, and other data types.
|
|
97
104
|
* @privateRemarks
|
|
98
|
-
* Here we reexport SharedTree, but with the `@
|
|
105
|
+
* Here we reexport SharedTree, but with the `@legacy` types (`ISharedObjectKind`) removed, just keeping the `SharedObjectKind`.
|
|
99
106
|
* Doing this requires creating this new typed export rather than relying on a reexport directly from the tree package.
|
|
100
107
|
* The tree package itself does not do this because it's API needs to be usable from the encapsulated API which requires `ISharedObjectKind`.
|
|
101
|
-
* This package however is not intended for use by users of the encapsulated API, and
|
|
108
|
+
* This package however is not intended for use by users of the encapsulated API, and therefore it can discard that interface.
|
|
102
109
|
* @public
|
|
103
110
|
*/
|
|
104
111
|
export const SharedTree: SharedObjectKind<ITree> = OriginalSharedTree;
|
|
@@ -182,6 +189,7 @@ export { SharedString } from "@fluidframework/sequence/internal";
|
|
|
182
189
|
export type {
|
|
183
190
|
ISharedObject,
|
|
184
191
|
ISharedObjectEvents,
|
|
192
|
+
ISharedObjectKind,
|
|
185
193
|
} from "@fluidframework/shared-object-base/internal";
|
|
186
194
|
|
|
187
195
|
export type {
|