@cocreate/socket-server 1.1.12 → 1.1.13
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 +8 -0
- package/package.json +2 -2
- package/src/index.js +0 -6
- package/index.js +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [1.1.13](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.1.12...v1.1.13) (2022-03-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* removed emit changeDB ([cde4d9f](https://github.com/CoCreate-app/CoCreate-socket-server/commit/cde4d9f6f74d7cbf536eddb4a87436cc315e07fe))
|
|
7
|
+
* update pakage.json main to src/index ([4188d9c](https://github.com/CoCreate-app/CoCreate-socket-server/commit/4188d9c65ef461c26cc7ea3e12d8216f20183ea5))
|
|
8
|
+
|
|
1
9
|
## [1.1.12](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.1.11...v1.1.12) (2022-02-28)
|
|
2
10
|
|
|
3
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/socket-server",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"description": "CoCreate-socket-server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cocreate-socket",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
|
-
"main": "index
|
|
26
|
+
"main": "./src/index",
|
|
27
27
|
"scripts": {
|
|
28
28
|
"demo": "PORT=5000 node demo/server.js",
|
|
29
29
|
"test": "echo \"Error: no test specified\" && exit 1",
|
package/src/index.js
CHANGED
|
@@ -168,11 +168,6 @@ class SocketServer extends EventEmitter{
|
|
|
168
168
|
asyncMessage.defineMessage(uuid);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
//. End
|
|
172
|
-
|
|
173
|
-
if (cloneRoomInfo.orgId != null) {
|
|
174
|
-
this.emit('changeDB', ws, { db: cloneRoomInfo.orgId }, cloneRoomInfo);
|
|
175
|
-
}
|
|
176
171
|
this.emit(requestData.module, ws, requestData.data, cloneRoomInfo);
|
|
177
172
|
}
|
|
178
173
|
|
|
@@ -218,7 +213,6 @@ class SocketServer extends EventEmitter{
|
|
|
218
213
|
}
|
|
219
214
|
|
|
220
215
|
} else {
|
|
221
|
-
|
|
222
216
|
this.clients.forEach((value, key) => {
|
|
223
217
|
console.log(value.length, key)
|
|
224
218
|
if (key.includes(room_key)) {
|
package/index.js
DELETED