@cocreate/users 1.21.5 → 1.21.6
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 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.21.6](https://github.com/CoCreate-app/CoCreate-users/compare/v1.21.5...v1.21.6) (2023-05-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Refactor user sign-in data collection in client.js ([fb899e2](https://github.com/CoCreate-app/CoCreate-users/commit/fb899e2e88c3cb1be0ee6efbdbb468e768fb34e0))
|
|
7
|
+
|
|
1
8
|
## [1.21.5](https://github.com/CoCreate-app/CoCreate-users/compare/v1.21.4...v1.21.5) (2023-05-20)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -29,15 +29,14 @@ const CoCreateUser = {
|
|
|
29
29
|
inputs.forEach((input) => {
|
|
30
30
|
const name = input.getAttribute('name');
|
|
31
31
|
const value = input.getValue();
|
|
32
|
-
collection =
|
|
32
|
+
collection = 'keys';
|
|
33
33
|
query.push({ name, value, operator: '$eq' })
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
let request = {
|
|
37
37
|
collection,
|
|
38
38
|
document: {
|
|
39
|
-
lastSignIn: new Date().toISOString()
|
|
40
|
-
current_org: crud.socket.config.organization_id
|
|
39
|
+
lastSignIn: new Date().toISOString()
|
|
41
40
|
},
|
|
42
41
|
filter: {
|
|
43
42
|
query
|