chirpie 1.0.33 → 1.0.34

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/index.js +6 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -418,7 +418,9 @@ var accountsCommand = new Command6("accounts").description("List connected socia
418
418
  table(
419
419
  accounts.map((a) => ({
420
420
  id: a.id.slice(0, 8),
421
- platform: a.platform,
421
+ // A LinkedIn row is either your profile or a Page you administer,
422
+ // and the two read identically without saying which.
423
+ platform: a.account_type === "organization" ? `${a.platform} (page)` : a.platform,
422
424
  username: a.platform === "x" ? `@${a.username}` : a.username,
423
425
  name: a.display_name ?? "",
424
426
  active: a.is_active ? "\u2713" : "\u2717",
@@ -519,7 +521,9 @@ accountsCommand.command("connect-bluesky").description("Connect a Bluesky accoun
519
521
  process.exit(1);
520
522
  }
521
523
  });
522
- accountsCommand.command("connect-linkedin").description("Connect a LinkedIn account via OAuth").option("--json", "Output raw JSON").action(async (opts, cmd) => {
524
+ accountsCommand.command("connect-linkedin").description(
525
+ "Connect LinkedIn via OAuth. Connects your profile, plus any LinkedIn Pages you administer where Page posting is available"
526
+ ).option("--json", "Output raw JSON").action(async (opts, cmd) => {
523
527
  const client = getClient();
524
528
  try {
525
529
  const result = await client.connectLinkedInAccount();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chirpie",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "Chirpie CLI: post to social media from the command line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,7 +44,7 @@
44
44
  ],
45
45
  "license": "MIT",
46
46
  "dependencies": {
47
- "@chirpie/sdk": "^1.0.30",
47
+ "@chirpie/sdk": "^1.0.31",
48
48
  "commander": "^13"
49
49
  },
50
50
  "devDependencies": {