@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 CHANGED
@@ -1148,7 +1148,7 @@ declare function updatePlatformAdapterClientInstance(tokens?: {
1148
1148
  platform?: {
1149
1149
  dps?: string;
1150
1150
  };
1151
- github: {
1151
+ github?: {
1152
1152
  app?: string;
1153
1153
  oauth?: string;
1154
1154
  };
package/dist/index.d.ts CHANGED
@@ -1148,7 +1148,7 @@ declare function updatePlatformAdapterClientInstance(tokens?: {
1148
1148
  platform?: {
1149
1149
  dps?: string;
1150
1150
  };
1151
- github: {
1151
+ github?: {
1152
1152
  app?: string;
1153
1153
  oauth?: string;
1154
1154
  };
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "2.3.12",
3
+ "version": "2.3.13",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",