@levr-one/sdk 1.0.2 → 1.0.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 +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,8 +42,9 @@ Each function has matching request and response types. `client` and
|
|
|
42
42
|
## Authenticate
|
|
43
43
|
|
|
44
44
|
Create a personal access token in Levr (Settings → Access tokens) and keep it
|
|
45
|
-
in `LEVR_TOKEN`.
|
|
46
|
-
`LEVR_WORKSPACE_ID
|
|
45
|
+
in `LEVR_TOKEN`. A personal access token is bound to the workspace it was
|
|
46
|
+
created in, so `LEVR_WORKSPACE_ID` is optional: leave it unset, or set it to
|
|
47
|
+
that same workspace. Naming a different workspace is refused.
|
|
47
48
|
|
|
48
49
|
```ts
|
|
49
50
|
import { client } from '@levr-one/sdk';
|