@cocreate/socket-server 1.7.3 → 1.7.5
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/.github/workflows/automated.yml +14 -2
- package/CHANGELOG.md +15 -0
- package/docs/index.html +2 -1
- package/package.json +1 -1
- package/src/index.js +1 -1
|
@@ -8,7 +8,11 @@ jobs:
|
|
|
8
8
|
runs-on: ubuntu-latest
|
|
9
9
|
steps:
|
|
10
10
|
- name: Checkout
|
|
11
|
-
uses: actions/checkout@
|
|
11
|
+
uses: actions/checkout@v3
|
|
12
|
+
- name: setup nodejs
|
|
13
|
+
uses: actions/setup-node@v3
|
|
14
|
+
with:
|
|
15
|
+
node-version: 16
|
|
12
16
|
- name: Jaid/action-sync-node-meta
|
|
13
17
|
uses: jaid/action-sync-node-meta@v1.4.0
|
|
14
18
|
with:
|
|
@@ -19,6 +23,10 @@ jobs:
|
|
|
19
23
|
steps:
|
|
20
24
|
- name: Checkout
|
|
21
25
|
uses: actions/checkout@v3
|
|
26
|
+
- name: setup nodejs
|
|
27
|
+
uses: actions/setup-node@v3
|
|
28
|
+
with:
|
|
29
|
+
node-version: 16
|
|
22
30
|
- name: Semantic Release
|
|
23
31
|
uses: cycjimmy/semantic-release-action@v3
|
|
24
32
|
id: semantic
|
|
@@ -38,6 +46,10 @@ jobs:
|
|
|
38
46
|
runs-on: ubuntu-latest
|
|
39
47
|
steps:
|
|
40
48
|
- name: Checkout
|
|
41
|
-
uses: actions/checkout@
|
|
49
|
+
uses: actions/checkout@v3
|
|
50
|
+
- name: setup nodejs
|
|
51
|
+
uses: actions/setup-node@v3
|
|
52
|
+
with:
|
|
53
|
+
node-version: 16
|
|
42
54
|
- name: update documentation
|
|
43
55
|
uses: CoCreate-app/CoCreate-docs@master
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [1.7.5](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.7.4...v1.7.5) (2023-04-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* node version 16 in build action ([946a52e](https://github.com/CoCreate-app/CoCreate-socket-server/commit/946a52e79afb0af741269f1820ba17d4a3d59b5b))
|
|
7
|
+
|
|
8
|
+
## [1.7.4](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.7.3...v1.7.4) (2023-04-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* pwa manifest ([2c92143](https://github.com/CoCreate-app/CoCreate-socket-server/commit/2c92143245ebdfd08e349d6fbe3ecdcfa71ce695))
|
|
14
|
+
* updateUserStatus response ([13c1735](https://github.com/CoCreate-app/CoCreate-socket-server/commit/13c1735ca461e129669c9187c75ec3a90443f152))
|
|
15
|
+
|
|
1
16
|
## [1.7.3](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.7.2...v1.7.3) (2023-04-11)
|
|
2
17
|
|
|
3
18
|
|
package/docs/index.html
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
<!-- CoCreate CSS -->
|
|
14
14
|
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
<link rel="manifest" href="/manifest.json" />
|
|
17
|
+
</head>
|
|
17
18
|
|
|
18
19
|
<body>
|
|
19
20
|
<div collection="" document_id="" name="" id="cocreate-socket-server">
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -165,7 +165,7 @@ class SocketServer extends EventEmitter{
|
|
|
165
165
|
this.emit('userStatus', socket, {user_id, userStatus: 'on', organization_id});
|
|
166
166
|
}
|
|
167
167
|
} else {
|
|
168
|
-
this.send(socket, 'updateUserStatus', {userStatus: 'off', organization_id})
|
|
168
|
+
this.send(socket, 'updateUserStatus', {userStatus: 'off', clientId: data.clientId, organization_id})
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
//. checking async status....
|