@cocreate/users 1.4.32 → 1.4.33

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.4.33](https://github.com/CoCreate-app/CoCreate-users/compare/v1.4.32...v1.4.33) (2022-02-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update action param to name ([274b50f](https://github.com/CoCreate-app/CoCreate-users/commit/274b50f4bb2092d88a50c3e46bbce9540573a9dc))
7
+
1
8
  ## [1.4.32](https://github.com/CoCreate-app/CoCreate-users/compare/v1.4.31...v1.4.32) (2022-02-10)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/users",
3
- "version": "1.4.32",
3
+ "version": "1.4.33",
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",
package/src/index.js CHANGED
@@ -317,7 +317,7 @@ const CoCreateUser = {
317
317
 
318
318
 
319
319
  action.init({
320
- action: "createUserNew",
320
+ name: "createUserNew",
321
321
  endEvent: "createUserNew",
322
322
  callback: (btn, data) => {
323
323
  CoCreateUser.createUser(btn);
@@ -325,7 +325,7 @@ action.init({
325
325
  });
326
326
 
327
327
  action.init({
328
- action: "createUser",
328
+ name: "createUser",
329
329
  endEvent: "createUser",
330
330
  callback: (btn, data) => {
331
331
  CoCreateUser.createUser(btn);
@@ -333,7 +333,7 @@ action.init({
333
333
  });
334
334
 
335
335
  action.init({
336
- action: "login",
336
+ name: "login",
337
337
  endEvent: "login",
338
338
  callback: (btn, data) => {
339
339
  CoCreateUser.requestLogin(btn, data);
@@ -341,7 +341,7 @@ action.init({
341
341
  });
342
342
 
343
343
  action.init({
344
- action: "logout",
344
+ name: "logout",
345
345
  endEvent: "logout",
346
346
  callback: (btn, data) => {
347
347
  CoCreateUser.logout(btn, data);