@livechat/developer-studio-api 3.1.22 → 3.1.23

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
@@ -2040,7 +2040,7 @@ var textPlatformWorkflowsCredentialsApi = {
2040
2040
  },
2041
2041
  update(id, payload, authorization) {
2042
2042
  return __async(this, null, function* () {
2043
- return textClientInstance.post(
2043
+ return textClientInstance.put(
2044
2044
  `/workflow_platform/credentials/${encodeURIComponent(id)}`,
2045
2045
  payload,
2046
2046
  getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
package/dist/index.mjs CHANGED
@@ -1897,7 +1897,7 @@ var textPlatformWorkflowsCredentialsApi = {
1897
1897
  },
1898
1898
  update(id, payload, authorization) {
1899
1899
  return __async(this, null, function* () {
1900
- return textClientInstance.post(
1900
+ return textClientInstance.put(
1901
1901
  `/workflow_platform/credentials/${encodeURIComponent(id)}`,
1902
1902
  payload,
1903
1903
  getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.1.22",
3
+ "version": "3.1.23",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -20,8 +20,8 @@
20
20
  "@types/node": "^17.0.12",
21
21
  "tsup": "^7.1.0",
22
22
  "typescript": "^5.1.6",
23
- "tsconfig": "0.0.1",
24
23
  "eslint-config-custom": "0.0.8",
24
+ "tsconfig": "0.0.1",
25
25
  "utils": "0.0.4"
26
26
  },
27
27
  "scripts": {