Commit 7595ba9
authored
chore(js): Deprecate
### Description
Deprecate the `apiKey` field, which is used to set the
already-deprecated `SENTRY_API_KEY` environment variable. Also, update
the docstrings for `apiKey` and `authToken` to clarify that the two
options are not interchangeable. `apiKey` only takes a legacy API key;
`authToken` takes auth tokens.
### Issues
- Resolves #2936
- Resolves CLI-223apiKey field (#2937)1 parent b850dc9 commit 7595ba9
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
0 commit comments