@cocreate/users 1.28.0 → 1.28.1

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.28.1](https://github.com/CoCreate-app/CoCreate-users/compare/v1.28.0...v1.28.1) (2023-10-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * render data ([188ee15](https://github.com/CoCreate-app/CoCreate-users/commit/188ee15005ca619d89dfbb078b5a857c03c31393))
7
+
1
8
  # [1.28.0](https://github.com/CoCreate-app/CoCreate-users/compare/v1.27.7...v1.28.0) (2023-10-22)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/users",
3
- "version": "1.28.0",
3
+ "version": "1.28.1",
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/client.js CHANGED
@@ -127,7 +127,7 @@ const CoCreateUser = {
127
127
  localStorage.setItem("host", Crud.socket.host);
128
128
  localStorage.setItem('user_id', user_id);
129
129
  localStorage.setItem("token", token);
130
- message = "Succesful signIn";
130
+ message = "Successful signIn";
131
131
  document.dispatchEvent(new CustomEvent('signIn', {
132
132
  detail: {}
133
133
  }));
@@ -139,11 +139,9 @@ const CoCreateUser = {
139
139
  selector: "[template*='signIn']",
140
140
  data: {
141
141
  type: 'signIn',
142
- signIn: {
143
- status,
144
- message,
145
- success
146
- }
142
+ status,
143
+ message,
144
+ success
147
145
  }
148
146
  });
149
147
  },