@fluidframework/presence 2.43.0-343119 → 2.43.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/README.md +56 -32
- package/dist/alpha.d.ts +14 -5
- package/dist/beta.d.ts +14 -5
- package/dist/exposedInternalTypes.d.ts +12 -0
- package/dist/exposedInternalTypes.d.ts.map +1 -1
- package/dist/exposedInternalTypes.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/latestMapValueManager.d.ts +72 -14
- package/dist/latestMapValueManager.d.ts.map +1 -1
- package/dist/latestMapValueManager.js +15 -9
- package/dist/latestMapValueManager.js.map +1 -1
- package/dist/latestValueManager.d.ts +68 -13
- package/dist/latestValueManager.d.ts.map +1 -1
- package/dist/latestValueManager.js +7 -5
- package/dist/latestValueManager.js.map +1 -1
- package/dist/latestValueTypes.d.ts +60 -5
- package/dist/latestValueTypes.d.ts.map +1 -1
- package/dist/latestValueTypes.js.map +1 -1
- package/dist/presence.d.ts +20 -2
- package/dist/presence.d.ts.map +1 -1
- package/dist/presence.js.map +1 -1
- package/dist/stateFactory.d.ts +15 -10
- package/dist/stateFactory.d.ts.map +1 -1
- package/dist/stateFactory.js +12 -10
- package/dist/stateFactory.js.map +1 -1
- package/lib/alpha.d.ts +14 -5
- package/lib/beta.d.ts +14 -5
- package/lib/exposedInternalTypes.d.ts +12 -0
- package/lib/exposedInternalTypes.d.ts.map +1 -1
- package/lib/exposedInternalTypes.js.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/latestMapValueManager.d.ts +72 -14
- package/lib/latestMapValueManager.d.ts.map +1 -1
- package/lib/latestMapValueManager.js +15 -9
- package/lib/latestMapValueManager.js.map +1 -1
- package/lib/latestValueManager.d.ts +68 -13
- package/lib/latestValueManager.d.ts.map +1 -1
- package/lib/latestValueManager.js +7 -5
- package/lib/latestValueManager.js.map +1 -1
- package/lib/latestValueTypes.d.ts +60 -5
- package/lib/latestValueTypes.d.ts.map +1 -1
- package/lib/latestValueTypes.js.map +1 -1
- package/lib/presence.d.ts +20 -2
- package/lib/presence.d.ts.map +1 -1
- package/lib/presence.js.map +1 -1
- package/lib/stateFactory.d.ts +15 -10
- package/lib/stateFactory.d.ts.map +1 -1
- package/lib/stateFactory.js +11 -9
- package/lib/stateFactory.js.map +1 -1
- package/package.json +19 -19
package/lib/stateFactory.d.ts
CHANGED
|
@@ -2,21 +2,26 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import type { LatestMapFactory } from "./latestMapValueManager.js";
|
|
6
|
+
import type { LatestFactory } from "./latestValueManager.js";
|
|
7
7
|
/**
|
|
8
8
|
* Factory for creating presence State objects.
|
|
9
|
+
*/
|
|
10
|
+
export declare const StateFactoryInternal: {
|
|
11
|
+
latest: import("./latestValueManager.js").LatestFactoryInternal;
|
|
12
|
+
latestMap: import("./latestMapValueManager.js").LatestMapFactoryInternal;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Factory for creating presence State objects.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Use `latest` to create a {@link LatestRaw} State object.
|
|
19
|
+
* Use `latestMap` to create a {@link LatestMapRaw} State object.
|
|
9
20
|
*
|
|
10
21
|
* @beta
|
|
11
22
|
*/
|
|
12
23
|
export declare const StateFactory: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*/
|
|
16
|
-
latest: typeof latest;
|
|
17
|
-
/**
|
|
18
|
-
* {@inheritdoc latestMap}
|
|
19
|
-
*/
|
|
20
|
-
latestMap: typeof latestMap;
|
|
24
|
+
latest: LatestFactory;
|
|
25
|
+
latestMap: LatestMapFactory;
|
|
21
26
|
};
|
|
22
27
|
//# sourceMappingURL=stateFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stateFactory.d.ts","sourceRoot":"","sources":["../src/stateFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"stateFactory.d.ts","sourceRoot":"","sources":["../src/stateFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;CAGhC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE;IAC1B,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,EAAE,gBAAgB,CAAC;CACL,CAAC"}
|
package/lib/stateFactory.js
CHANGED
|
@@ -6,17 +6,19 @@ import { latestMap } from "./latestMapValueManager.js";
|
|
|
6
6
|
import { latest } from "./latestValueManager.js";
|
|
7
7
|
/**
|
|
8
8
|
* Factory for creating presence State objects.
|
|
9
|
-
*
|
|
10
|
-
* @beta
|
|
11
9
|
*/
|
|
12
|
-
export const
|
|
13
|
-
/**
|
|
14
|
-
* {@inheritdoc latest}
|
|
15
|
-
*/
|
|
10
|
+
export const StateFactoryInternal = {
|
|
16
11
|
latest,
|
|
17
|
-
/**
|
|
18
|
-
* {@inheritdoc latestMap}
|
|
19
|
-
*/
|
|
20
12
|
latestMap,
|
|
21
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Factory for creating presence State objects.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Use `latest` to create a {@link LatestRaw} State object.
|
|
19
|
+
* Use `latestMap` to create a {@link LatestMapRaw} State object.
|
|
20
|
+
*
|
|
21
|
+
* @beta
|
|
22
|
+
*/
|
|
23
|
+
export const StateFactory = StateFactoryInternal;
|
|
22
24
|
//# sourceMappingURL=stateFactory.js.map
|
package/lib/stateFactory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stateFactory.js","sourceRoot":"","sources":["../src/stateFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"stateFactory.js","sourceRoot":"","sources":["../src/stateFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEjD;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IACnC,MAAM;IACN,SAAS;CACT,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,YAAY,GAGrB,oBAAoB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { LatestMapFactory } from \"./latestMapValueManager.js\";\nimport { latestMap } from \"./latestMapValueManager.js\";\nimport type { LatestFactory } from \"./latestValueManager.js\";\nimport { latest } from \"./latestValueManager.js\";\n\n/**\n * Factory for creating presence State objects.\n */\nexport const StateFactoryInternal = {\n\tlatest,\n\tlatestMap,\n};\n\n/**\n * Factory for creating presence State objects.\n *\n * @remarks\n * Use `latest` to create a {@link LatestRaw} State object.\n * Use `latestMap` to create a {@link LatestMapRaw} State object.\n *\n * @beta\n */\nexport const StateFactory: {\n\tlatest: LatestFactory;\n\tlatestMap: LatestMapFactory;\n} = StateFactoryInternal;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/presence",
|
|
3
|
-
"version": "2.43.0
|
|
3
|
+
"version": "2.43.0",
|
|
4
4
|
"description": "A component for lightweight data sharing within a single session",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -63,30 +63,30 @@
|
|
|
63
63
|
"temp-directory": "nyc/.nyc_output"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@fluid-internal/client-utils": "2.43.0
|
|
67
|
-
"@fluidframework/container-definitions": "2.43.0
|
|
68
|
-
"@fluidframework/container-runtime-definitions": "2.43.0
|
|
69
|
-
"@fluidframework/core-interfaces": "2.43.0
|
|
70
|
-
"@fluidframework/core-utils": "2.43.0
|
|
71
|
-
"@fluidframework/datastore": "2.43.0
|
|
72
|
-
"@fluidframework/datastore-definitions": "2.43.0
|
|
73
|
-
"@fluidframework/fluid-static": "2.43.0
|
|
74
|
-
"@fluidframework/id-compressor": "2.43.0
|
|
75
|
-
"@fluidframework/runtime-definitions": "2.43.0
|
|
76
|
-
"@fluidframework/runtime-utils": "2.43.0
|
|
77
|
-
"@fluidframework/shared-object-base": "2.43.0
|
|
78
|
-
"@fluidframework/telemetry-utils": "2.43.0
|
|
66
|
+
"@fluid-internal/client-utils": "~2.43.0",
|
|
67
|
+
"@fluidframework/container-definitions": "~2.43.0",
|
|
68
|
+
"@fluidframework/container-runtime-definitions": "~2.43.0",
|
|
69
|
+
"@fluidframework/core-interfaces": "~2.43.0",
|
|
70
|
+
"@fluidframework/core-utils": "~2.43.0",
|
|
71
|
+
"@fluidframework/datastore": "~2.43.0",
|
|
72
|
+
"@fluidframework/datastore-definitions": "~2.43.0",
|
|
73
|
+
"@fluidframework/fluid-static": "~2.43.0",
|
|
74
|
+
"@fluidframework/id-compressor": "~2.43.0",
|
|
75
|
+
"@fluidframework/runtime-definitions": "~2.43.0",
|
|
76
|
+
"@fluidframework/runtime-utils": "~2.43.0",
|
|
77
|
+
"@fluidframework/shared-object-base": "~2.43.0",
|
|
78
|
+
"@fluidframework/telemetry-utils": "~2.43.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
82
82
|
"@biomejs/biome": "~1.9.3",
|
|
83
|
-
"@fluid-tools/build-cli": "^0.
|
|
83
|
+
"@fluid-tools/build-cli": "^0.56.0",
|
|
84
84
|
"@fluidframework/build-common": "^2.0.3",
|
|
85
|
-
"@fluidframework/build-tools": "^0.
|
|
86
|
-
"@fluidframework/driver-definitions": "2.43.0
|
|
85
|
+
"@fluidframework/build-tools": "^0.56.0",
|
|
86
|
+
"@fluidframework/driver-definitions": "~2.43.0",
|
|
87
87
|
"@fluidframework/eslint-config-fluid": "^5.7.4",
|
|
88
|
-
"@fluidframework/test-runtime-utils": "2.43.0
|
|
89
|
-
"@fluidframework/test-utils": "2.43.0
|
|
88
|
+
"@fluidframework/test-runtime-utils": "~2.43.0",
|
|
89
|
+
"@fluidframework/test-utils": "~2.43.0",
|
|
90
90
|
"@microsoft/api-extractor": "7.52.8",
|
|
91
91
|
"@types/mocha": "^10.0.10",
|
|
92
92
|
"@types/node": "^18.19.0",
|