@fluid-experimental/data-objects 2.0.0-dev.4.4.0.162574 → 2.0.0-dev.5.3.2.178189
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 +20 -0
- package/package.json +11 -12
- package/src/signaler/README.md +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @fluid-experimental/data-objects
|
|
2
2
|
|
|
3
|
+
## 2.0.0-internal.5.3.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
7
|
+
## 2.0.0-internal.5.2.0
|
|
8
|
+
|
|
9
|
+
Dependency updates only.
|
|
10
|
+
|
|
11
|
+
## 2.0.0-internal.5.1.0
|
|
12
|
+
|
|
13
|
+
Dependency updates only.
|
|
14
|
+
|
|
15
|
+
## 2.0.0-internal.5.0.0
|
|
16
|
+
|
|
17
|
+
Dependency updates only.
|
|
18
|
+
|
|
19
|
+
## 2.0.0-internal.4.4.0
|
|
20
|
+
|
|
21
|
+
Dependency updates only.
|
|
22
|
+
|
|
3
23
|
## 2.0.0-internal.4.1.0
|
|
4
24
|
|
|
5
25
|
Dependency updates only.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-experimental/data-objects",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.5.3.2.178189",
|
|
4
4
|
"description": "A collection of ready to use Fluid Data Objects",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -15,17 +15,18 @@
|
|
|
15
15
|
"module": "lib/index.js",
|
|
16
16
|
"types": "dist/index.d.ts",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@fluidframework/aqueduct": "2.0.0-dev.
|
|
18
|
+
"@fluidframework/aqueduct": "2.0.0-dev.5.3.2.178189",
|
|
19
19
|
"@fluidframework/common-definitions": "^0.20.1",
|
|
20
20
|
"@fluidframework/common-utils": "^1.1.1",
|
|
21
|
-
"@fluidframework/datastore-definitions": "2.0.0-dev.
|
|
22
|
-
"@fluidframework/map": "2.0.0-dev.
|
|
23
|
-
"@fluidframework/runtime-definitions": "2.0.0-dev.
|
|
21
|
+
"@fluidframework/datastore-definitions": "2.0.0-dev.5.3.2.178189",
|
|
22
|
+
"@fluidframework/map": "2.0.0-dev.5.3.2.178189",
|
|
23
|
+
"@fluidframework/runtime-definitions": "2.0.0-dev.5.3.2.178189",
|
|
24
24
|
"events": "^3.1.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@fluid-tools/build-cli": "^0.
|
|
28
|
-
"@fluidframework/build-common": "^1.
|
|
27
|
+
"@fluid-tools/build-cli": "^0.21.0",
|
|
28
|
+
"@fluidframework/build-common": "^1.2.0",
|
|
29
|
+
"@fluidframework/build-tools": "^0.21.0",
|
|
29
30
|
"@fluidframework/eslint-config-fluid": "^2.0.0",
|
|
30
31
|
"@microsoft/api-extractor": "^7.34.4",
|
|
31
32
|
"@types/node": "^14.18.38",
|
|
@@ -42,12 +43,10 @@
|
|
|
42
43
|
"broken": {}
|
|
43
44
|
},
|
|
44
45
|
"scripts": {
|
|
45
|
-
"build": "
|
|
46
|
-
"build:commonjs": "
|
|
47
|
-
"build:compile": "
|
|
46
|
+
"build": "fluid-build . --task build",
|
|
47
|
+
"build:commonjs": "fluid-build . --task commonjs",
|
|
48
|
+
"build:compile": "fluid-build . --task compile",
|
|
48
49
|
"build:esnext": "tsc --project ./tsconfig.esnext.json",
|
|
49
|
-
"build:full": "npm run build",
|
|
50
|
-
"build:full:compile": "npm run build:compile",
|
|
51
50
|
"clean": "rimraf dist lib *.tsbuildinfo *.build.log",
|
|
52
51
|
"eslint": "eslint --format stylish src",
|
|
53
52
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
package/src/signaler/README.md
CHANGED
|
@@ -40,7 +40,7 @@ For more information on using `ContainerSchema` to create objects please see [Da
|
|
|
40
40
|
|
|
41
41
|
### Signal Request
|
|
42
42
|
|
|
43
|
-
When a client joins a collaboration session, they may need to receive pertinent information immediately after connecting the container. To support this, they can request a specific signal be sent to them from other connected clients within the application. For example, in the [PresenceTracker](https://github.com/microsoft/FluidFramework/tree/main/examples/
|
|
43
|
+
When a client joins a collaboration session, they may need to receive pertinent information immediately after connecting the container. To support this, they can request a specific signal be sent to them from other connected clients within the application. For example, in the [PresenceTracker](https://github.com/microsoft/FluidFramework/tree/main/examples/apps/presence-tracker) we define a "focusRequest" signal type that a newly joining client uses to request the focus-state of each currently connected client:
|
|
44
44
|
|
|
45
45
|
```typescript
|
|
46
46
|
private static readonly focusRequestType = "focusRequest";
|
|
@@ -60,7 +60,7 @@ this.signaler.onSignal(FocusTracker.focusRequestType, () => {
|
|
|
60
60
|
});
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
When there are a lot of connected clients, usage of this request pattern can lead to high signal costs incurred from large amounts of signals being submitted all at the same time. While this pattern is helpful when a client is in need of relevant information, to limit signal costs it would be beneficial to examine whether or not the requested data will be quickly avaiable from other events being listened to within the application. The mouse tracking in [PresenceTracker](https://github.com/microsoft/FluidFramework/tree/main/examples/
|
|
63
|
+
When there are a lot of connected clients, usage of this request pattern can lead to high signal costs incurred from large amounts of signals being submitted all at the same time. While this pattern is helpful when a client is in need of relevant information, to limit signal costs it would be beneficial to examine whether or not the requested data will be quickly avaiable from other events being listened to within the application. The mouse tracking in [PresenceTracker](https://github.com/microsoft/FluidFramework/tree/main/examples/apps/presence-tracker) is an example where a newly connecting client is not required to request a signal to receive every current mouse position on the document. Since mouse movements are frequent, the newly connecting client can simply wait to recieve other users mouse positions on their mousemove events.
|
|
64
64
|
|
|
65
65
|
### Grouping Signal Types
|
|
66
66
|
|