prior-cli 1.4.4 → 1.4.5

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/lib/tools.js +3 -3
  2. package/package.json +1 -1
package/lib/tools.js CHANGED
@@ -328,10 +328,10 @@ const TOOLS = {
328
328
  return {
329
329
  output: [
330
330
  `Username : @${u.username || '?'}`,
331
- `Display Name : ${u.display_name || u.username || '?'}`,
331
+ `Display Name : ${u.display_name || u.displayName || u.username || '?'}`,
332
332
  `Bio : ${u.bio || '(none)'}`,
333
- `Posts : ${u.post_count ?? 0}`,
334
- `Friends : ${u.friend_count ?? 0}`,
333
+ `Posts : ${u.post_count ?? u.posts_count ?? 0}`,
334
+ `Friends : ${u.friend_count ?? u.friends_count ?? 0}`,
335
335
  `Joined : ${u.created_at ? new Date(u.created_at).toLocaleDateString() : 'unknown'}`,
336
336
  ].join('\n'),
337
337
  summary: `@${u.username || '?'}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prior-cli",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "Prior Network AI — command-line interface",
5
5
  "bin": {
6
6
  "prior": "bin/prior.js"