@cocreate/users 1.36.7 → 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 CHANGED
@@ -1,3 +1,10 @@
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
+
1
8
  ## [1.36.7](https://github.com/CoCreate-app/CoCreate-users/compare/v1.36.6...v1.36.7) (2024-02-18)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/users",
3
- "version": "1.36.7",
3
+ "version": "1.36.8",
4
4
  "description": "A simple users component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "users",
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,