eservices-core 1.0.350 → 1.0.351

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.350
2
+ * eservices-core v1.0.351
3
3
  * (c) 2022 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -4760,7 +4760,7 @@ class authService {
4760
4760
  .catch(authService.parseError);
4761
4761
  }
4762
4762
  static parseProcessAnswer(answer) {
4763
- if (answer.statusCode >= 4)
4763
+ if (answer.statusCode > 4)
4764
4764
  throw CoreError.UndefinedError(answer.statusName.replace(/([A-Z][a-z])/g, ' $1').replace(/(\d)/g, ' $1'));
4765
4765
  return answer;
4766
4766
  }
@@ -4818,7 +4818,7 @@ class authService {
4818
4818
  .then(authService.parseLoginProcessAnswer);
4819
4819
  }
4820
4820
  static parseLoginProcessAnswer(answer) {
4821
- if (answer.statusCode > 4)
4821
+ if (answer.statusCode > 3)
4822
4822
  throw CoreError.UndefinedError(answer.statusName.replace(/([A-Z][a-z])/g, ' $1').replace(/(\d)/g, ' $1'));
4823
4823
  return answer;
4824
4824
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.350",
3
+ "version": "1.0.351",
4
4
  "description": "----",
5
5
  "author": "",
6
6
  "scripts": {