@livechat/developer-studio-api 2.1.3 → 2.1.4
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -4947,8 +4947,8 @@ var platformAdapterAppVariablesApi = {
|
|
|
4947
4947
|
},
|
|
4948
4948
|
editVariable(appId, data, authorization) {
|
|
4949
4949
|
return __async(this, null, function* () {
|
|
4950
|
-
const response = yield platformAdapterClientInstance.
|
|
4951
|
-
`/console/app/${appId}/variables/${data.key}`,
|
|
4950
|
+
const response = yield platformAdapterClientInstance.post(
|
|
4951
|
+
`/console/app/${appId}/variables/${data.key}/edit`,
|
|
4952
4952
|
data,
|
|
4953
4953
|
getPlatformAdapterClientConfig(authorization)
|
|
4954
4954
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -4859,8 +4859,8 @@ var platformAdapterAppVariablesApi = {
|
|
|
4859
4859
|
},
|
|
4860
4860
|
editVariable(appId, data, authorization) {
|
|
4861
4861
|
return __async(this, null, function* () {
|
|
4862
|
-
const response = yield platformAdapterClientInstance.
|
|
4863
|
-
`/console/app/${appId}/variables/${data.key}`,
|
|
4862
|
+
const response = yield platformAdapterClientInstance.post(
|
|
4863
|
+
`/console/app/${appId}/variables/${data.key}/edit`,
|
|
4864
4864
|
data,
|
|
4865
4865
|
getPlatformAdapterClientConfig(authorization)
|
|
4866
4866
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"@types/node": "^17.0.12",
|
|
18
18
|
"tsup": "^7.1.0",
|
|
19
19
|
"typescript": "^5.1.6",
|
|
20
|
-
"eslint-config-custom-lib": "0.0.1",
|
|
21
|
-
"types": "0.0.1",
|
|
22
20
|
"config": "0.0.0",
|
|
23
|
-
"tsconfig": "0.0.0"
|
|
21
|
+
"tsconfig": "0.0.0",
|
|
22
|
+
"types": "0.0.1",
|
|
23
|
+
"eslint-config-custom-lib": "0.0.1"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|