react-redux-django-auth 1.4.2 → 1.4.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/dist/index.js CHANGED
@@ -1223,8 +1223,10 @@ var useSignup = function(initialFields, apiUrl) {
1223
1223
  });
1224
1224
  var isStatus201 = status === 201;
1225
1225
  (0, import_react4.useEffect)(function() {
1226
+ console.log("Clearing errors on mount...");
1226
1227
  dispatch(clearErrors());
1227
1228
  return function() {
1229
+ console.log("Clearing errors on unmount...");
1228
1230
  dispatch(clearErrors());
1229
1231
  };
1230
1232
  }, [
package/dist/index.mjs CHANGED
@@ -424,8 +424,10 @@ var useSignup = (initialFields, apiUrl) => {
424
424
  const status = useSelector3((state) => state.auth.status);
425
425
  const isStatus201 = status === 201;
426
426
  useEffect3(() => {
427
+ console.log("Clearing errors on mount...");
427
428
  dispatch(clearErrors());
428
429
  return () => {
430
+ console.log("Clearing errors on unmount...");
429
431
  dispatch(clearErrors());
430
432
  };
431
433
  }, [dispatch]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-redux-django-auth",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "A React Redux Authentication system for django app built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",