@cocreate/users 1.22.7 → 1.22.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 +7 -0
- package/package.json +1 -1
- package/src/client.js +1 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.22.8](https://github.com/CoCreate-app/CoCreate-users/compare/v1.22.7...v1.22.8) (2023-06-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Refactor user creation and remove unnecessary code. ([15bf5c8](https://github.com/CoCreate-app/CoCreate-users/commit/15bf5c87572521471be3aa1a75bbdba37486ac1c))
|
|
7
|
+
|
|
1
8
|
## [1.22.7](https://github.com/CoCreate-app/CoCreate-users/compare/v1.22.6...v1.22.7) (2023-05-25)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -52,9 +52,7 @@ const CoCreateUser = {
|
|
|
52
52
|
roles: ['user'],
|
|
53
53
|
email: user.document.email,
|
|
54
54
|
password: user.document.password || btoa('0000'),
|
|
55
|
-
|
|
56
|
-
collection
|
|
57
|
-
}
|
|
55
|
+
collection
|
|
58
56
|
},
|
|
59
57
|
organization_id
|
|
60
58
|
}
|
|
@@ -96,9 +94,6 @@ const CoCreateUser = {
|
|
|
96
94
|
let request = {
|
|
97
95
|
db: 'indexeddb',
|
|
98
96
|
collection,
|
|
99
|
-
// document: {
|
|
100
|
-
// lastSignIn: new Date().toISOString()
|
|
101
|
-
// },
|
|
102
97
|
filter: {
|
|
103
98
|
query
|
|
104
99
|
}
|