@atproto/lex-client 0.3.0 → 0.3.1
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 +11 -0
- package/README.md +19 -0
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atproto/lex-client
|
|
2
2
|
|
|
3
|
+
## 0.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5287](https://github.com/bluesky-social/atproto/pull/5287) [`95aa1d6`](https://github.com/bluesky-social/atproto/commit/95aa1d6dfea71316d5f30dd8bd4ed48afac31c81) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Add README.md file
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`95aa1d6`](https://github.com/bluesky-social/atproto/commit/95aa1d6dfea71316d5f30dd8bd4ed48afac31c81)]:
|
|
10
|
+
- @atproto/lex-schema@0.2.3
|
|
11
|
+
- @atproto/lex-data@0.1.6
|
|
12
|
+
- @atproto/lex-json@0.1.5
|
|
13
|
+
|
|
3
14
|
## 0.3.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
package/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @atproto/lex-client
|
|
2
|
+
|
|
3
|
+
- [Changelog](./CHANGELOG.md)
|
|
4
|
+
- [`@atproto/lex` documentation](https://github.com/bluesky-social/atproto/blob/main/packages/lex/lex/README.md)
|
|
5
|
+
|
|
6
|
+
Type-safe HTTP ([XRPC](https://atproto.com/specs/xrpc)) client for Lexicon-defined APIs: the `Client` class for working with records in the context of an authenticated session, and the lower-level `xrpc()` / `xrpcSafe()` functions.
|
|
7
|
+
|
|
8
|
+
Requests are validated against schemas generated by `lex build`. Authentication is supplied through an `Agent`, implemented by [`@atproto/oauth-client`](https://github.com/bluesky-social/atproto/tree/main/packages/oauth/oauth-client) or, for scripts and bots, [`@atproto/lex-password-session`](https://github.com/bluesky-social/atproto/tree/main/packages/lex/lex-password-session).
|
|
9
|
+
|
|
10
|
+
This is a building block of [`@atproto/lex`](https://github.com/bluesky-social/atproto/tree/main/packages/lex/lex), which re-exports it — prefer depending on that package.
|
|
11
|
+
|
|
12
|
+
## License
|
|
13
|
+
|
|
14
|
+
This project is dual-licensed under MIT and Apache 2.0 terms:
|
|
15
|
+
|
|
16
|
+
- MIT license ([LICENSE-MIT.txt](https://github.com/bluesky-social/atproto/blob/main/LICENSE-MIT.txt) or http://opensource.org/licenses/MIT)
|
|
17
|
+
- Apache License, Version 2.0, ([LICENSE-APACHE.txt](https://github.com/bluesky-social/atproto/blob/main/LICENSE-APACHE.txt) or http://www.apache.org/licenses/LICENSE-2.0)
|
|
18
|
+
|
|
19
|
+
Downstream projects and end users may chose either license individually, or both together, at their discretion. The motivation for this dual-licensing is the additional software patent assurance provided by Apache 2.0.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/lex-client",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "HTTP client for interacting with Lexicon based APIs",
|
|
6
6
|
"keywords": [
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"./dist",
|
|
20
|
+
"./README.md",
|
|
20
21
|
"./CHANGELOG.md"
|
|
21
22
|
],
|
|
22
23
|
"sideEffects": false,
|
|
@@ -32,14 +33,14 @@
|
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
34
35
|
"tslib": "^2.8.1",
|
|
35
|
-
"@atproto/lex-data": "^0.1.
|
|
36
|
-
"@atproto/lex-schema": "^0.2.
|
|
37
|
-
"@atproto/lex-json": "^0.1.
|
|
36
|
+
"@atproto/lex-data": "^0.1.6",
|
|
37
|
+
"@atproto/lex-schema": "^0.2.3",
|
|
38
|
+
"@atproto/lex-json": "^0.1.5"
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|
|
40
41
|
"vitest": "^4.0.16",
|
|
41
|
-
"@atproto/lex-
|
|
42
|
-
"@atproto/lex-
|
|
42
|
+
"@atproto/lex-cbor": "^0.1.5",
|
|
43
|
+
"@atproto/lex-builder": "^0.1.9"
|
|
43
44
|
},
|
|
44
45
|
"scripts": {
|
|
45
46
|
"codegen:lex": "node ./scripts/lex-build.mjs",
|