apitweet-cli 0.1.4 → 0.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apitweet-cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Command-line client for apitweet APIs with saved app auth and profiles",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/help.js CHANGED
@@ -58,7 +58,7 @@ Examples:
58
58
  apitweet --profile founder tweet like 1900000000000000000
59
59
  apitweet --app prod trending tweets --country "United States" --topic "Sports" --content "NFL" --count 50
60
60
  apitweet --app prod -X POST -d '["1900000000000000000"]' /api/twitter/tweets/lookup # Twitter/X tweet lookup
61
- apitweet auth apps add --name prod --api-key "twitterx_..."
61
+ apitweet auth apps add --name prod --api-key "sk_1d90c878..."
62
62
  apitweet auth profiles add --name founder --cookie "ct0=...; auth_token=..."
63
63
  apitweet auth cookie --auth-token "<auth_token>" --save-as founder
64
64
  apitweet config show
package/src/request.js CHANGED
@@ -7,7 +7,7 @@ export async function performRequest(state, config, request) {
7
7
  const guidance = [
8
8
  "Use --api-key, set APITWEET_KEY, or configure an app with auth apps add.",
9
9
  "Get an API key here: https://apitweet.com/dashboard",
10
- 'Example: apitweet auth apps add --name prod --api-key "twitterx_..."',
10
+ 'Example: apitweet auth apps add --name prod --api-key "sk_1d90c878..."',
11
11
  ].join("\n");
12
12
  exitWithError("Missing API key.", guidance);
13
13
  }