@mescius/js-collaboration-presence 18.1.1 → 18.1.2
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/dist/index.d.ts +2 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4,9 +4,11 @@ import { IFeature } from "@mescius/js-collaboration";
|
|
|
4
4
|
* Creates a presence feature for collaboration.
|
|
5
5
|
* @returns {IFeature} The presence feature.
|
|
6
6
|
* @example
|
|
7
|
+
* ```javascript
|
|
7
8
|
* const httpServer = createServer();
|
|
8
9
|
* const server = new Server({ httpServer });
|
|
9
10
|
* server.useFeature(OT.documentFeature());
|
|
10
11
|
* server.useFeature(presenceFeature());
|
|
12
|
+
* ```
|
|
11
13
|
*/
|
|
12
14
|
export declare function presenceFeature(): IFeature;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mescius/js-collaboration-presence",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.2",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "Commercial",
|
|
27
27
|
"description": "SpreadJS Collaboration plugin",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@mescius/js-collaboration": "18.1.
|
|
29
|
+
"@mescius/js-collaboration": "18.1.2"
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://developer.mescius.com/spreadjs"
|
|
32
32
|
}
|