@myapihq/cli 2.5.0 → 2.5.1

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.
@@ -336,12 +336,11 @@ export async function buildLogs(id, flags) {
336
336
  if (!id)
337
337
  error('Missing id.\nUsage: myapi container build-logs <id> [--tail N]');
338
338
  const tail = typeof flags.tail === 'number' ? flags.tail : undefined;
339
- const res = await sdkContainer.buildLogs(config.api_key, orgId, id, tail);
339
+ const lines = await sdkContainer.buildLogs(config.api_key, orgId, id, tail);
340
340
  if (flags.json) {
341
- printJson(res);
341
+ printJson(lines);
342
342
  return;
343
343
  }
344
- const lines = res.logs ?? [];
345
344
  if (lines.length === 0) {
346
345
  info('No build logs yet — has this container been deployed with --source?');
347
346
  return;
@@ -4,6 +4,7 @@ import { success, error, printTable, info, printJson } from '../output.js';
4
4
  import { requireOrg } from '../helpers.js';
5
5
  export const SCHEMA = {
6
6
  'external-id': 'string',
7
+ email: 'string',
7
8
  org: 'string',
8
9
  website: 'string',
9
10
  'campaign-id': 'string',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@myapihq/cli",
3
3
  "license": "Apache-2.0",
4
- "version": "2.5.0",
4
+ "version": "2.5.1",
5
5
  "description": "MyAPI command-line interface",
6
6
  "repository": {
7
7
  "type": "git",
@@ -39,7 +39,7 @@
39
39
  "lint:skills:strict": "node scripts/copy-skills.js && node scripts/lint-skills.js --strict"
40
40
  },
41
41
  "dependencies": {
42
- "@myapihq/sdk": "^2.5.0"
42
+ "@myapihq/sdk": "^2.5.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^25.6.0",