vestauth 0.8.0 → 0.8.2
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/CHANGELOG.md +13 -1
- package/README.md +6 -3
- package/package.json +1 -1
- package/src/cli/commands/agent.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
[Unreleased](https://github.com/vestauth/vestauth/compare/v0.8.
|
|
5
|
+
[Unreleased](https://github.com/vestauth/vestauth/compare/v0.8.2...main)
|
|
6
|
+
|
|
7
|
+
## [0.8.2](https://github.com/vestauth/vestauth/compare/v0.8.1...v0.8.2) (2026-02-05)
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
* Fix `privateJwk` flag to `--private-jwk`
|
|
12
|
+
|
|
13
|
+
## [0.8.1](https://github.com/vestauth/vestauth/compare/v0.8.0...v0.8.1) (2026-02-05)
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
* README changes for clarity
|
|
6
18
|
|
|
7
19
|
## [0.8.0](https://github.com/vestauth/vestauth/compare/v0.7.4...v0.8.0) (2026-02-05)
|
|
8
20
|
|
package/README.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
[](https://vestauth.com)
|
|
2
2
|
|
|
3
|
-
*auth for agents*–from the creator of [`dotenvx`](https://github.com/dotenvx/dotenvx).
|
|
3
|
+
*auth for agents*–from the creator of [`dotenv`](https://github.com/motdotla/dotenv) and [`dotenvx`](https://github.com/dotenvx/dotenvx).
|
|
4
4
|
|
|
5
5
|
* identity (cryptographic)
|
|
6
6
|
* authentication
|
|
7
7
|
* verification
|
|
8
8
|
|
|
9
|
+
[Watch demo video 📺](https://www.youtube.com/watch?v=cHARyULr_qk)
|
|
10
|
+
|
|
9
11
|
|
|
10
12
|
|
|
11
13
|
### Quickstart [](https://www.npmjs.com/package/vestauth) [](https://www.npmjs.com/package/vestauth) [](https://datatracker.ietf.org/doc/rfc9421/) [](https://datatracker.ietf.org/doc/html/draft-meunier-web-bot-auth-architecture)
|
|
@@ -16,6 +18,7 @@ npm i -g vestauth
|
|
|
16
18
|
|
|
17
19
|
```sh
|
|
18
20
|
vestauth agent init
|
|
21
|
+
vestauth agent curl https://PROVIDER.com/TOOL
|
|
19
22
|
```
|
|
20
23
|
|
|
21
24
|
<details><summary>with curl 🌐 </summary><br>
|
|
@@ -142,7 +145,7 @@ app.get('/whoami', async (req, res) => {
|
|
|
142
145
|
|
|
143
146
|
res.json(agent)
|
|
144
147
|
} catch (err) {
|
|
145
|
-
res.status(401).json({ error: { message: err.message }})
|
|
148
|
+
res.status(401).json({ code: 401, error: { message: err.message }})
|
|
146
149
|
}
|
|
147
150
|
})
|
|
148
151
|
|
|
@@ -157,7 +160,7 @@ listening on http://localhost:3000
|
|
|
157
160
|
|
|
158
161
|
```sh
|
|
159
162
|
$ vestauth agent curl http://localhost:3000/whoami
|
|
160
|
-
{"
|
|
163
|
+
{"uid":"agent-4b94ccd425e939fac5016b6b",...}
|
|
161
164
|
```
|
|
162
165
|
|
|
163
166
|
<details><summary>learn more</summary><br>
|
package/package.json
CHANGED
|
@@ -32,7 +32,7 @@ agent.command('headers')
|
|
|
32
32
|
.argument('<httpMethod>', 'GET (default)')
|
|
33
33
|
.argument('<uri>', '')
|
|
34
34
|
.option('--id <id>', 'id (string)', env('AGENT_ID'))
|
|
35
|
-
.option('--
|
|
35
|
+
.option('--private-jwk <privateJwk>', 'AGENT_PRIVATE_JWK (default)', env('AGENT_PRIVATE_JWK'))
|
|
36
36
|
.option('--tag <tag>', 'web-bot-auth (default) | web-bot-auth', 'web-bot-auth')
|
|
37
37
|
.option('--nonce <nonce>', 'null (default)')
|
|
38
38
|
.option('--pp, --pretty-print', 'pretty print output')
|