jwtbutler 2.0.0 → 2.0.1

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.
@@ -658,6 +658,7 @@ class jwtbutler {
658
658
  });
659
659
  } else {
660
660
  this.removeLoadingStates();
661
+ this.addLoadingState('login-form-visible');
661
662
  this.captchaReset(form);
662
663
  form.insertAdjacentHTML('afterbegin', '<div class="' + this.config.login_form_class + '__error">' + this.responseMessage(response) + '</div>');
663
664
  }
@@ -678,6 +679,7 @@ class jwtbutler {
678
679
  resolve();
679
680
  }).catch(response => {
680
681
  this.removeLoadingStates();
682
+ this.addLoadingState('login-form-visible');
681
683
  form.insertAdjacentHTML('afterbegin', '<div class="' + this.config.login_form_class + '__error">' + this.responseMessage(response) + '</div>');
682
684
  });
683
685
  e.preventDefault();
package/package.json CHANGED
@@ -81,7 +81,7 @@
81
81
  "jest-environment-node": "30.4.1"
82
82
  },
83
83
  "name": "jwtbutler",
84
- "version": "2.0.0",
84
+ "version": "2.0.1",
85
85
  "description": "",
86
86
  "main": "_js/_build/script.js",
87
87
  "files": [