@govuk-pay/pay-js-commons 7.0.53 → 7.0.54

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.
@@ -84,8 +84,8 @@ var Client = /*#__PURE__*/function () {
84
84
  }
85
85
  });
86
86
  });
87
- this._axios.interceptors.response.use( /*#__PURE__*/function () {
88
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
87
+ this._axios.interceptors.response.use(/*#__PURE__*/function () {
88
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
89
89
  var responseContext, retryCount;
90
90
  return _regeneratorRuntime().wrap(function _callee$(_context) {
91
91
  while (1) switch (_context.prev = _context.next) {
@@ -138,7 +138,7 @@ var Client = /*#__PURE__*/function () {
138
138
  return _ref3.apply(this, arguments);
139
139
  };
140
140
  }(), /*#__PURE__*/function () {
141
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(error) {
141
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(error) {
142
142
  var config, message, errorContext, errorCode, retryCount;
143
143
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
144
144
  while (1) switch (_context2.prev = _context2.next) {
@@ -30,7 +30,7 @@ var RESTClientError = /*#__PURE__*/function (_Error) {
30
30
  }
31
31
  _inherits(RESTClientError, _Error);
32
32
  return _createClass(RESTClientError);
33
- }( /*#__PURE__*/_wrapNativeSuper(Error));
33
+ }(/*#__PURE__*/_wrapNativeSuper(Error));
34
34
  module.exports = {
35
35
  RESTClientError: RESTClientError
36
36
  };
@@ -27,7 +27,7 @@ var CsrfError = /*#__PURE__*/function (_Error) {
27
27
  }
28
28
  _inherits(CsrfError, _Error);
29
29
  return _createClass(CsrfError);
30
- }( /*#__PURE__*/_wrapNativeSuper(Error));
30
+ }(/*#__PURE__*/_wrapNativeSuper(Error));
31
31
  /**
32
32
  * @param logger {Logger}
33
33
  * @param sessionName {string} the name of the object on the request where the secret key will be stored
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govuk-pay/pay-js-commons",
3
- "version": "7.0.53",
3
+ "version": "7.0.54",
4
4
  "description": "Reusable js scripts for GOV.UK Pay Node.js projects",
5
5
  "engines": {
6
6
  "node": "^22.22.0",