4
0
forked from crowetic/commerce

16 Commits

Author SHA1 Message Date
Luis Alvarez
dca8f281ab Hook fixes and update the customer after an operation 2020-10-23 21:49:33 -05:00
Luis Alvarez
444456d376 Updated types, hooks, useCustomer sample 2020-10-23 19:21:37 -05:00
Luis Alvarez
1d7365bc38 Updated logout API to remove the cookie 2020-10-22 18:44:35 -05:00
Luis Alvarez
b81d04b952 Added logout API 2020-10-22 18:02:41 -05:00
Luis Alvarez
7c91f8a80f Login should work now! 2020-10-22 17:13:28 -05:00
Luis Alvarez
a72c6e49de Updated login handler 2020-10-22 16:28:22 -05:00
Luis Alvarez
e4a99601f5 Updated types, API, and make the signup work 2020-10-22 13:25:44 -05:00
Luis Alvarez
316801627b Fixed type 2020-10-21 15:21:31 -05:00
Luis Alvarez
2aae613f1b Added op to get the logged in customer 2020-10-21 09:53:19 -05:00
Luis Alvarez
f0a2c744e8 Moved create customer API to signup method 2020-10-21 09:15:14 -05:00
Luis Alvarez
a1e47a73d2 Added useLogin hook and API endpoint 2020-10-20 22:27:38 -05:00
Luis Alvarez
ef81a968af Fix potential body bug 2020-10-20 13:49:17 -05:00
Luis Alvarez
ed879f8b2c Run login after creating the customer 2020-10-20 13:18:38 -05:00
Luis Alvarez
7db006f64a Added login operation 2020-10-20 12:51:35 -05:00
Luis Alvarez
0922c87621 Handle validation for duplicated emails 2020-10-19 22:08:01 -05:00
Luis Alvarez
20c08fcbb4 Allow the API to create customers 2020-10-19 21:29:27 -05:00