@cocreate/users 1.28.1 → 1.28.3
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 +14 -0
- package/package.json +7 -7
- package/src/client.js +1 -3
- package/src/index.js +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.28.3](https://github.com/CoCreate-app/CoCreate-users/compare/v1.28.2...v1.28.3) (2023-10-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump dependencies ([32e622d](https://github.com/CoCreate-app/CoCreate-users/commit/32e622dd1f79dd4982e30600162a6063756f6519))
|
|
7
|
+
|
|
8
|
+
## [1.28.2](https://github.com/CoCreate-app/CoCreate-users/compare/v1.28.1...v1.28.2) (2023-10-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* signin conditionals ([bb58112](https://github.com/CoCreate-app/CoCreate-users/commit/bb581121c7e7a747aed3f085d4498b15382cd9d6))
|
|
14
|
+
|
|
1
15
|
## [1.28.1](https://github.com/CoCreate-app/CoCreate-users/compare/v1.28.0...v1.28.1) (2023-10-22)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/users",
|
|
3
|
-
"version": "1.28.
|
|
3
|
+
"version": "1.28.3",
|
|
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",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"webpack-log": "^3.0.1"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@cocreate/actions": "^1.
|
|
62
|
-
"@cocreate/crud-client": "^1.28.
|
|
63
|
-
"@cocreate/element-prototype": "^1.11.
|
|
64
|
-
"@cocreate/elements": "^1.
|
|
65
|
-
"@cocreate/local-storage": "^1.10.
|
|
66
|
-
"@cocreate/render": "^1.
|
|
61
|
+
"@cocreate/actions": "^1.12.0",
|
|
62
|
+
"@cocreate/crud-client": "^1.28.10",
|
|
63
|
+
"@cocreate/element-prototype": "^1.11.7",
|
|
64
|
+
"@cocreate/elements": "^1.25.1",
|
|
65
|
+
"@cocreate/local-storage": "^1.10.7",
|
|
66
|
+
"@cocreate/render": "^1.29.0"
|
|
67
67
|
}
|
|
68
68
|
}
|
package/src/client.js
CHANGED
|
@@ -104,10 +104,8 @@ const CoCreateUser = {
|
|
|
104
104
|
response['success'] = true
|
|
105
105
|
response['status'] = "success"
|
|
106
106
|
response['user_id'] = response.object[0].key
|
|
107
|
-
this.signInResponse(response)
|
|
108
|
-
} else {
|
|
109
|
-
this.signInResponse(response)
|
|
110
107
|
}
|
|
108
|
+
this.signInResponse(response)
|
|
111
109
|
})
|
|
112
110
|
} else {
|
|
113
111
|
request.method = 'signIn'
|
package/src/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd) {
|
|
3
|
-
define(["./client"], function(CoCreateUsers) {
|
|
4
|
-
|
|
3
|
+
define(["./client"], function (CoCreateUsers) {
|
|
4
|
+
return factory(CoCreateUsers)
|
|
5
5
|
});
|
|
6
6
|
} else if (typeof module === 'object' && module.exports) {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const CoCreateUsers = require("./server.js")
|
|
8
|
+
module.exports = factory(CoCreateUsers);
|
|
9
9
|
} else {
|
|
10
10
|
root.returnExports = factory(root["./client.js"]);
|
|
11
|
-
|
|
11
|
+
}
|
|
12
12
|
}(typeof self !== 'undefined' ? self : this, function (CoCreateUsers) {
|
|
13
|
-
|
|
13
|
+
return CoCreateUsers;
|
|
14
14
|
}));
|