@cocreate/users 1.36.6 → 1.36.8
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 +14 -0
- package/package.json +1 -1
- package/src/server.js +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.36.8](https://github.com/CoCreate-app/CoCreate-users/compare/v1.36.7...v1.36.8) (2024-02-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add host ([f6f6343](https://github.com/CoCreate-app/CoCreate-users/commit/f6f634305aef8ffbbe539366574c1b5949692816))
|
|
7
|
+
|
|
8
|
+
## [1.36.7](https://github.com/CoCreate-app/CoCreate-users/compare/v1.36.6...v1.36.7) (2024-02-18)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update accept invite error message ([65f0ac0](https://github.com/CoCreate-app/CoCreate-users/commit/65f0ac07fe9232997bd0bac4b8f5aec188601802))
|
|
14
|
+
|
|
1
15
|
## [1.36.6](https://github.com/CoCreate-app/CoCreate-users/compare/v1.36.5...v1.36.6) (2024-02-17)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -87,6 +87,7 @@ class CoCreateUser {
|
|
|
87
87
|
self.wsManager.send(response)
|
|
88
88
|
self.wsManager.send({
|
|
89
89
|
socket,
|
|
90
|
+
host: data.host,
|
|
90
91
|
method: 'updateUserStatus',
|
|
91
92
|
user_id: response.user_id,
|
|
92
93
|
userStatus: response.userStatus,
|
|
@@ -120,6 +121,7 @@ class CoCreateUser {
|
|
|
120
121
|
self.wsManager.send({
|
|
121
122
|
socket: data.socket,
|
|
122
123
|
method: 'updateUserStatus',
|
|
124
|
+
host: data.host,
|
|
123
125
|
user_id: data.user_id,
|
|
124
126
|
clientId: data.clientId,
|
|
125
127
|
userStatus: data.userStatus,
|
|
@@ -129,6 +131,7 @@ class CoCreateUser {
|
|
|
129
131
|
} else if (data.socket)
|
|
130
132
|
data.socket.send(JSON.stringify({
|
|
131
133
|
method: 'updateUserStatus',
|
|
134
|
+
host: data.host,
|
|
132
135
|
user_id: data.user_id,
|
|
133
136
|
userStatus: data.userStatus,
|
|
134
137
|
clientId: data.clientId,
|
|
@@ -281,7 +284,7 @@ class CoCreateUser {
|
|
|
281
284
|
host: data.host,
|
|
282
285
|
method: 'acceptInvite',
|
|
283
286
|
success: false,
|
|
284
|
-
message: "
|
|
287
|
+
message: "The token is invalid or has expired. However, you can still access your account. Please request a new invite to proceed, and feel free to explore the available features while you wait.",
|
|
285
288
|
organization_id: data.organization_id,
|
|
286
289
|
uid
|
|
287
290
|
}
|