@cocreate/users 1.7.26 → 1.7.29

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,24 @@
1
+ ## [1.7.29](https://github.com/CoCreate-app/CoCreate-users/compare/v1.7.28...v1.7.29) (2022-09-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump cdn version to 1.27.1 ([0502b0c](https://github.com/CoCreate-app/CoCreate-users/commit/0502b0ca1ce3741297677d3f6b4f0273e8347491))
7
+
8
+ ## [1.7.28](https://github.com/CoCreate-app/CoCreate-users/compare/v1.7.27...v1.7.28) (2022-09-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bump all of [@cocreate](https://github.com/cocreate) dependencies ([f24987d](https://github.com/CoCreate-app/CoCreate-users/commit/f24987db770ba7c16400d88b53abec7b6c45f1ef))
14
+
15
+ ## [1.7.27](https://github.com/CoCreate-app/CoCreate-users/compare/v1.7.26...v1.7.27) (2022-08-31)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * getValue and setValue using HTMLElement.prototype ([31a45bd](https://github.com/CoCreate-app/CoCreate-users/commit/31a45bd8f933f6e76e6320af9097f6f949cc3dad))
21
+
1
22
  ## [1.7.26](https://github.com/CoCreate-app/CoCreate-users/compare/v1.7.25...v1.7.26) (2022-08-23)
2
23
 
3
24
 
package/demo/login.html CHANGED
@@ -83,7 +83,7 @@
83
83
  }
84
84
  </script>
85
85
 
86
- <script src="https://cdn.cocreate.app/1.26.0/CoCreate.min.js"></script>
86
+ <script src="https://cdn.cocreate.app/1.27.1/CoCreate.min.js"></script>
87
87
  <!-- <script src="../../../CoCreateJS/dist/CoCreate.js"></script> -->
88
88
 
89
89
  </body>
package/demo/logout.html CHANGED
@@ -32,7 +32,7 @@
32
32
  </div>
33
33
  </div>
34
34
 
35
- <script src="https://cdn.cocreate.app/1.26.0/CoCreate.min.js"></script>
35
+ <script src="https://cdn.cocreate.app/1.27.1/CoCreate.min.js"></script>
36
36
  <!-- <script src="../../../CoCreateJS/dist/CoCreate.js"></script> -->
37
37
 
38
38
  </body>
package/demo/signup.html CHANGED
@@ -103,7 +103,7 @@
103
103
  host: 'server.cocreate.app' // Points to socket server. If not defined it will use the url in web browser by default
104
104
  }
105
105
  </script>
106
- <script src="https://cdn.cocreate.app/1.26.0/CoCreate.min.js"></script>
106
+ <script src="https://cdn.cocreate.app/1.27.1/CoCreate.min.js"></script>
107
107
  <!-- <script src="../../../CoCreateJS/dist/CoCreate.js"></script> -->
108
108
 
109
109
  </body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/users",
3
- "version": "1.7.26",
3
+ "version": "1.7.29",
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",
@@ -61,11 +61,11 @@
61
61
  "webpack-log": "^3.0.1"
62
62
  },
63
63
  "dependencies": {
64
- "@cocreate/actions": "^1.4.3",
65
- "@cocreate/crud-client": "^1.7.1",
66
- "@cocreate/docs": "^1.3.3",
67
- "@cocreate/elements": "^1.8.3",
68
- "@cocreate/render": "^1.8.2",
64
+ "@cocreate/actions": "^1.5.0",
65
+ "@cocreate/crud-client": "^1.10.0",
66
+ "@cocreate/docs": "^1.3.5",
67
+ "@cocreate/elements": "^1.12.0",
68
+ "@cocreate/render": "^1.14.0",
69
69
  "mongodb": "^4.4.0"
70
70
  }
71
71
  }
package/src/client.js CHANGED
@@ -265,7 +265,7 @@ const CoCreateUser = {
265
265
  //. get form data
266
266
  elements.forEach(el => {
267
267
  let name = el.getAttribute('name');
268
- let value = el.getValue(el) || el.getAttribute('value');
268
+ let value = el.getValue();
269
269
  if (!name || !value) return;
270
270
 
271
271
  if (el.getAttribute('data-type') == 'array') {