@livechat/developer-studio-api 2.3.62 → 2.3.63

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
@@ -2158,9 +2158,9 @@ var vercelClientInstance = import_axios8.default.create({
2158
2158
  vercelClientInstance.interceptors.response.use(
2159
2159
  (r) => r,
2160
2160
  (error) => {
2161
- var _a;
2161
+ var _a, _b;
2162
2162
  if (import_axios8.default.isAxiosError(error)) {
2163
- if (((_a = error.response) == null ? void 0 : _a.status) === 401) {
2163
+ if (((_a = error.response) == null ? void 0 : _a.status) === 401 || ((_b = error.response) == null ? void 0 : _b.status) === 403) {
2164
2164
  throw new UnauthorizeApiError("vercel");
2165
2165
  }
2166
2166
  }
package/dist/index.mjs CHANGED
@@ -2062,9 +2062,9 @@ var vercelClientInstance = axios8.create({
2062
2062
  vercelClientInstance.interceptors.response.use(
2063
2063
  (r) => r,
2064
2064
  (error) => {
2065
- var _a;
2065
+ var _a, _b;
2066
2066
  if (axios8.isAxiosError(error)) {
2067
- if (((_a = error.response) == null ? void 0 : _a.status) === 401) {
2067
+ if (((_a = error.response) == null ? void 0 : _a.status) === 401 || ((_b = error.response) == null ? void 0 : _b.status) === 403) {
2068
2068
  throw new UnauthorizeApiError("vercel");
2069
2069
  }
2070
2070
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "2.3.62",
3
+ "version": "2.3.63",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,8 +17,8 @@
17
17
  "@types/node": "^17.0.12",
18
18
  "tsup": "^7.1.0",
19
19
  "typescript": "^5.1.6",
20
- "config": "0.0.1",
21
20
  "eslint-config-custom": "0.0.2",
21
+ "config": "0.0.1",
22
22
  "tsconfig": "0.0.1"
23
23
  },
24
24
  "scripts": {