@livechat/developer-studio-api 2.3.62 → 2.3.64
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.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1136,8 +1136,11 @@ type LinkAppStorageNeonData = {
|
|
|
1136
1136
|
branchId: string;
|
|
1137
1137
|
databaseType: "new" | "existing";
|
|
1138
1138
|
};
|
|
1139
|
-
|
|
1140
|
-
|
|
1139
|
+
type LinkAppStorageVercelData = {
|
|
1140
|
+
type: "new";
|
|
1141
|
+
} | {
|
|
1142
|
+
type: "existing";
|
|
1143
|
+
};
|
|
1141
1144
|
type LinkAppStorageData = ({
|
|
1142
1145
|
provider: "planetscale";
|
|
1143
1146
|
} & LinkAppStoragePlanetScaleData) | ({
|
package/dist/index.d.ts
CHANGED
|
@@ -1136,8 +1136,11 @@ type LinkAppStorageNeonData = {
|
|
|
1136
1136
|
branchId: string;
|
|
1137
1137
|
databaseType: "new" | "existing";
|
|
1138
1138
|
};
|
|
1139
|
-
|
|
1140
|
-
|
|
1139
|
+
type LinkAppStorageVercelData = {
|
|
1140
|
+
type: "new";
|
|
1141
|
+
} | {
|
|
1142
|
+
type: "existing";
|
|
1143
|
+
};
|
|
1141
1144
|
type LinkAppStorageData = ({
|
|
1142
1145
|
provider: "planetscale";
|
|
1143
1146
|
} & LinkAppStoragePlanetScaleData) | ({
|
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
|
}
|