@cocreate/users 1.33.0 → 1.33.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 +7 -0
- package/package.json +1 -1
- package/src/client.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.33.1](https://github.com/CoCreate-app/CoCreate-users/compare/v1.33.0...v1.33.1) (2024-01-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update to support new query system ([6e11866](https://github.com/CoCreate-app/CoCreate-users/commit/6e118666cc66c83adaf0a56c029f044305d9d924))
|
|
7
|
+
|
|
1
8
|
# [1.33.0](https://github.com/CoCreate-app/CoCreate-users/compare/v1.32.0...v1.33.0) (2024-01-08)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -79,13 +79,13 @@ const CoCreateUser = {
|
|
|
79
79
|
|
|
80
80
|
signIn: async function (action) {
|
|
81
81
|
if (!action.form) return;
|
|
82
|
-
let query =
|
|
82
|
+
let query = {};
|
|
83
83
|
|
|
84
84
|
const inputs = action.form.querySelectorAll('input[key="email"], input[key="password"], input[key="username"]');
|
|
85
85
|
for (let i = 0; i < inputs.length; i++) {
|
|
86
86
|
const key = inputs[i].getAttribute('key');
|
|
87
87
|
const value = await inputs[i].getValue();
|
|
88
|
-
query
|
|
88
|
+
query[key] = value
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
let request = {
|