@adkit/cli 1.12.23 → 1.12.24

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.
Files changed (2) hide show
  1. package/dist/cli.js +1 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -216,8 +216,8 @@ var AdkitClient = class {
216
216
  try {
217
217
  const json = await response.json();
218
218
  if (isErrorResponse(json)) {
219
- serverMessage = json.statusMessage ?? json.message ?? "";
220
219
  dataMessage = json.data?.message ?? "";
220
+ serverMessage = dataMessage || json.message || json.statusMessage || "";
221
221
  retryable = json.data?.retryable;
222
222
  retryAfterSeconds = json.data?.retryAfterSeconds ?? void 0;
223
223
  batchSummary = readBatchDraftSummary(json.data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adkit/cli",
3
- "version": "1.12.23",
3
+ "version": "1.12.24",
4
4
  "description": "The Ads CLI for AI agents — manage Meta & Google ad campaigns, browse the ad library, and generate creatives from your terminal.",
5
5
  "keywords": [
6
6
  "ads cli",