@livechat/developer-studio-api 2.3.12 → 2.3.13
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -5010,15 +5010,15 @@ function initPlatformAdapterClientInstance(baseUrl, tokens) {
|
|
|
5010
5010
|
}
|
|
5011
5011
|
}
|
|
5012
5012
|
function updatePlatformAdapterClientInstance(tokens) {
|
|
5013
|
-
var _a;
|
|
5013
|
+
var _a, _b, _c;
|
|
5014
5014
|
const headers = platformAdapterClientInstance.defaults.headers;
|
|
5015
5015
|
if ((_a = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _a.dps) {
|
|
5016
5016
|
headers["platform-dps-token"] = tokens.platform.dps;
|
|
5017
5017
|
}
|
|
5018
|
-
if (tokens == null ? void 0 : tokens.github.app) {
|
|
5018
|
+
if ((_b = tokens == null ? void 0 : tokens.github) == null ? void 0 : _b.app) {
|
|
5019
5019
|
headers["github-app-token"] = tokens.github.app;
|
|
5020
5020
|
}
|
|
5021
|
-
if (tokens == null ? void 0 : tokens.github.oauth) {
|
|
5021
|
+
if ((_c = tokens == null ? void 0 : tokens.github) == null ? void 0 : _c.oauth) {
|
|
5022
5022
|
headers["github-oauth-token"] = tokens.github.oauth;
|
|
5023
5023
|
}
|
|
5024
5024
|
if (tokens == null ? void 0 : tokens.netlify) {
|
package/dist/index.mjs
CHANGED
|
@@ -4919,15 +4919,15 @@ function initPlatformAdapterClientInstance(baseUrl, tokens) {
|
|
|
4919
4919
|
}
|
|
4920
4920
|
}
|
|
4921
4921
|
function updatePlatformAdapterClientInstance(tokens) {
|
|
4922
|
-
var _a;
|
|
4922
|
+
var _a, _b, _c;
|
|
4923
4923
|
const headers = platformAdapterClientInstance.defaults.headers;
|
|
4924
4924
|
if ((_a = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _a.dps) {
|
|
4925
4925
|
headers["platform-dps-token"] = tokens.platform.dps;
|
|
4926
4926
|
}
|
|
4927
|
-
if (tokens == null ? void 0 : tokens.github.app) {
|
|
4927
|
+
if ((_b = tokens == null ? void 0 : tokens.github) == null ? void 0 : _b.app) {
|
|
4928
4928
|
headers["github-app-token"] = tokens.github.app;
|
|
4929
4929
|
}
|
|
4930
|
-
if (tokens == null ? void 0 : tokens.github.oauth) {
|
|
4930
|
+
if ((_c = tokens == null ? void 0 : tokens.github) == null ? void 0 : _c.oauth) {
|
|
4931
4931
|
headers["github-oauth-token"] = tokens.github.oauth;
|
|
4932
4932
|
}
|
|
4933
4933
|
if (tokens == null ? void 0 : tokens.netlify) {
|