@livechat/developer-studio-api 2.3.30 → 2.3.31

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
@@ -3381,6 +3381,7 @@ var platformAccountsTokenApi = {
3381
3381
  exchangeCode(code, clientId, clientSecret, redirectUrl) {
3382
3382
  return __async(this, null, function* () {
3383
3383
  const data = new URLSearchParams({
3384
+ grant_type: "authorization_code",
3384
3385
  code,
3385
3386
  client_id: clientId,
3386
3387
  client_secret: clientSecret,
package/dist/index.mjs CHANGED
@@ -3290,6 +3290,7 @@ var platformAccountsTokenApi = {
3290
3290
  exchangeCode(code, clientId, clientSecret, redirectUrl) {
3291
3291
  return __async(this, null, function* () {
3292
3292
  const data = new URLSearchParams({
3293
+ grant_type: "authorization_code",
3293
3294
  code,
3294
3295
  client_id: clientId,
3295
3296
  client_secret: clientSecret,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "2.3.30",
3
+ "version": "2.3.31",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "tsup": "^7.1.0",
19
19
  "typescript": "^5.1.6",
20
20
  "eslint-config-custom": "0.0.2",
21
- "config": "0.0.1",
22
- "tsconfig": "0.0.1"
21
+ "tsconfig": "0.0.1",
22
+ "config": "0.0.1"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsup src/index.ts --format esm,cjs --dts",