ebay-api 9.1.0 → 9.1.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.
package/README.md CHANGED
@@ -22,7 +22,7 @@ It supports `client credentials grant` and `authorization code grant` \(Auth'N'A
22
22
 
23
23
  ## Changelog
24
24
 
25
- * `v9.1.0` is the latest release.
25
+ * `v9.1.1` is the latest release.
26
26
  * See [here](https://github.com/hendt/ebay-api/blob/master/CHANGELOG.md) for the full changelog.
27
27
 
28
28
  ## Implementation status
@@ -1,5 +1,5 @@
1
1
  import { stringify } from 'qs';
2
- import { EBayAuthTokenIsHardExpired, EBayIAFTokenExpired, EBayIAFTokenInvalid, handleEBayError } from '../../errors/index.js';
2
+ import { EBayAuthTokenIsHardExpired, EBayAuthTokenIsInvalid, EBayIAFTokenExpired, EBayIAFTokenInvalid, handleEBayError } from '../../errors/index.js';
3
3
  import Api from '../index.js';
4
4
  import ClientAlertsCalls from './clientAlerts/index.js';
5
5
  import FindingCalls from './finding/index.js';
@@ -146,7 +146,8 @@ export default class Traditional extends Api {
146
146
  }
147
147
  return error.name === EBayIAFTokenExpired.name
148
148
  || error.name === EBayIAFTokenInvalid.name
149
- || error.name === EBayAuthTokenIsHardExpired.name;
149
+ || error.name === EBayAuthTokenIsHardExpired.name
150
+ || error.name === EBayAuthTokenIsInvalid.name;
150
151
  }
151
152
  async request(apiConfig, api, callName, fields, refreshToken = false) {
152
153
  try {