@livechat/developer-studio-api 3.1.5 → 3.1.6

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
@@ -4697,7 +4697,7 @@ declare const api: {
4697
4697
  getReport(params: GetTextPlatformDashboardReportParams, authorization?: PlatformClientAuthorization | undefined): Promise<TextPlatformDashboardReportDto>;
4698
4698
  getCredits(authorization?: PlatformClientAuthorization | undefined): Promise<TextPlatformDashboardCreditsDto>;
4699
4699
  getPayment(authorization?: PlatformClientAuthorization | undefined): Promise<TextPlatformDashboardPaymentDto>;
4700
- registerDeveloper(authorization?: PlatformClientAuthorization | undefined): Promise<any>;
4700
+ registerDeveloper(authorization?: PlatformClientAuthorization | undefined): Promise<void>;
4701
4701
  };
4702
4702
  workflow: {
4703
4703
  workflows: {
package/dist/index.d.ts CHANGED
@@ -4697,7 +4697,7 @@ declare const api: {
4697
4697
  getReport(params: GetTextPlatformDashboardReportParams, authorization?: PlatformClientAuthorization | undefined): Promise<TextPlatformDashboardReportDto>;
4698
4698
  getCredits(authorization?: PlatformClientAuthorization | undefined): Promise<TextPlatformDashboardCreditsDto>;
4699
4699
  getPayment(authorization?: PlatformClientAuthorization | undefined): Promise<TextPlatformDashboardPaymentDto>;
4700
- registerDeveloper(authorization?: PlatformClientAuthorization | undefined): Promise<any>;
4700
+ registerDeveloper(authorization?: PlatformClientAuthorization | undefined): Promise<void>;
4701
4701
  };
4702
4702
  workflow: {
4703
4703
  workflows: {
package/dist/index.js CHANGED
@@ -1474,7 +1474,7 @@ function getTextClientConfig(option = {}) {
1474
1474
  }
1475
1475
  function initTextClient(baseUrl, token) {
1476
1476
  if (baseUrl && token) {
1477
- updateTextClient(token);
1477
+ updateTextClient(baseUrl, token);
1478
1478
  }
1479
1479
  }
1480
1480
  function updateTextClient(baseUrl, token) {
package/dist/index.mjs CHANGED
@@ -1344,7 +1344,7 @@ function getTextClientConfig(option = {}) {
1344
1344
  }
1345
1345
  function initTextClient(baseUrl, token) {
1346
1346
  if (baseUrl && token) {
1347
- updateTextClient(token);
1347
+ updateTextClient(baseUrl, token);
1348
1348
  }
1349
1349
  }
1350
1350
  function updateTextClient(baseUrl, token) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.1.5",
3
+ "version": "3.1.6",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "tsup": "^7.1.0",
22
22
  "typescript": "^5.1.6",
23
23
  "eslint-config-custom": "0.0.8",
24
- "tsconfig": "0.0.1",
25
- "utils": "0.0.4"
24
+ "utils": "0.0.4",
25
+ "tsconfig": "0.0.1"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsup",