@mescius/js-collaboration-presence-client 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
|
@@ -14,6 +14,7 @@ export interface IPresenceEvents<P> {
|
|
|
14
14
|
* Manages presence information for real-time collaboration.
|
|
15
15
|
* @template P - The type of presence data.
|
|
16
16
|
* @example
|
|
17
|
+
* ```javascript
|
|
17
18
|
* const uiComponent = new xxx.uiComponent();
|
|
18
19
|
* const connection = new Client('ws://localhost:8080/').connect('room1');
|
|
19
20
|
* const presence = new Presence(connection);
|
|
@@ -33,6 +34,7 @@ export interface IPresenceEvents<P> {
|
|
|
33
34
|
* uiComponent.showPresences(presence.otherStates);
|
|
34
35
|
* });
|
|
35
36
|
* });
|
|
37
|
+
* ```
|
|
36
38
|
*/
|
|
37
39
|
export declare class Presence<P> {
|
|
38
40
|
constructor(connection: Connection);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mescius/js-collaboration-presence-client",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.2",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"keywords": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"license": "Commercial",
|
|
23
23
|
"description": "SpreadJS Collaboration plugin",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@mescius/js-collaboration-client": "18.1.
|
|
25
|
+
"@mescius/js-collaboration-client": "18.1.2"
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://developer.mescius.com/spreadjs"
|
|
28
28
|
}
|