@livechat/developer-studio-api 3.0.12 → 3.0.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.js CHANGED
@@ -795,7 +795,7 @@ var netlifyAccountApi = {
795
795
  if (!targetAccountId) {
796
796
  targetAccountId = yield this.getAccount(authorization);
797
797
  }
798
- if (!accountId) {
798
+ if (!targetAccountId) {
799
799
  throw new import_axios5.AxiosError("No account", "404");
800
800
  }
801
801
  yield netlifyClientInstance.delete(
package/dist/index.mjs CHANGED
@@ -693,7 +693,7 @@ var netlifyAccountApi = {
693
693
  if (!targetAccountId) {
694
694
  targetAccountId = yield this.getAccount(authorization);
695
695
  }
696
- if (!accountId) {
696
+ if (!targetAccountId) {
697
697
  throw new AxiosError2("No account", "404");
698
698
  }
699
699
  yield netlifyClientInstance.delete(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.0.12",
3
+ "version": "3.0.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",
@@ -17,8 +17,8 @@
17
17
  "@types/node": "^17.0.12",
18
18
  "tsup": "^7.1.0",
19
19
  "typescript": "^5.1.6",
20
- "utils": "0.0.1",
21
20
  "eslint-config-custom": "0.0.6",
21
+ "utils": "0.0.1",
22
22
  "tsconfig": "0.0.1"
23
23
  },
24
24
  "scripts": {