@whop/cli 0.16.1 → 0.16.3

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/README.md CHANGED
@@ -81,6 +81,18 @@ whop apps deploy # build, typecheck, upload, promote to product
81
81
 
82
82
  The rest is plain REST: `whop apps list|create|get|update`, `whop apps builds list|get|promote`, `whop apps secrets list|set|unset`. The `whop()` Vite build plugin ships as `@whop/cli/vite`.
83
83
 
84
+ App secrets are encrypted at rest and injected into the hosted runtime. `whop apps dev` also injects them locally, except names that control the local runtime.
85
+
86
+ Manage them with:
87
+
88
+ ```bash
89
+ whop apps secrets list
90
+ whop apps secrets set --secret MAIL_API_KEY=mail-key-123
91
+ whop apps secrets unset --key MAIL_API_KEY
92
+ ```
93
+
94
+ Run these inside a linked project or pass `--app app_xxxxxxxx`. App secrets are runtime configuration; they are separate from the app API key exposed as `WHOP_API_KEY` in the dashboard.
95
+
84
96
  After a deploy, read your app's server logs (kept for 7 days):
85
97
 
86
98
  ```bash
@@ -88,7 +100,7 @@ whop apps logs app_xxxxxxxx --level error
88
100
  whop apps logs app_xxxxxxxx --query "checkout"
89
101
  ```
90
102
 
91
-
103
+ App logs cover the hosted server runtime. Use your browser's developer console for client-side JavaScript errors.
92
104
 
93
105
  ## Sell and get paid
94
106
 
@@ -179,6 +191,8 @@ WHOP_API_KEY=whop_xxx whop login --method api-key # API key from the environme
179
191
 
180
192
  List your businesses with `whop auth account --list` and switch with `whop auth account <biz_id>`.
181
193
 
194
+ `whop api-keys permissions` lists the permissions that can be assigned to API keys. Creating, listing, updating, rotating, and revoking keys requires a first-party dashboard session, so those operations are not exposed by the CLI. Manage keys in the [Whop dashboard](https://whop.com/dashboard).
195
+
182
196
  The OAuth flow redirects to `localhost:13337`, so the browser must run on the same host as the CLI (or forward that port).
183
197
 
184
198
  ## Invocation logs