@cocreate/users 1.11.8 → 1.12.0
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 +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [1.12.0](https://github.com/CoCreate-app/CoCreate-users/compare/v1.11.8...v1.12.0) (2022-12-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* render signout status message ([fd6ab4a](https://github.com/CoCreate-app/CoCreate-users/commit/fd6ab4a660479527bd2dcdbb3a38745215037b52))
|
|
7
|
+
|
|
1
8
|
## [1.11.8](https://github.com/CoCreate-app/CoCreate-users/compare/v1.11.7...v1.11.8) (2022-12-22)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -118,6 +118,15 @@ const CoCreateUser = {
|
|
|
118
118
|
document.cookie = allCookies[i] + "=;expires=" +
|
|
119
119
|
new Date(0).toUTCString();
|
|
120
120
|
|
|
121
|
+
render.data({
|
|
122
|
+
selector: "[template_id='signOut']",
|
|
123
|
+
data: {
|
|
124
|
+
type: 'signOut',
|
|
125
|
+
message: 'Succesfully logged out',
|
|
126
|
+
success: true
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
|
|
121
130
|
// Todo: replace with Custom event system
|
|
122
131
|
document.dispatchEvent(new CustomEvent('signOut'));
|
|
123
132
|
},
|