@atproto/bsky 0.0.12 → 0.0.14
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 +23 -0
- package/LICENSE.txt +7 -0
- package/README.md +6 -1
- package/dist/index.js +35 -4
- package/dist/index.js.map +2 -2
- package/dist/lexicon/lexicons.d.ts +15 -0
- package/dist/lexicon/types/com/atproto/server/createAccount.d.ts +3 -3
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/server/reserveSigningKey.d.ts +8 -2
- package/package.json +14 -14
- package/src/lexicon/lexicons.ts +17 -2
- package/src/lexicon/types/com/atproto/server/createAccount.ts +3 -3
- package/src/lexicon/types/com/atproto/server/getSession.ts +1 -0
- package/src/lexicon/types/com/atproto/server/reserveSigningKey.ts +9 -2
- package/LICENSE +0 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atproto/bsky
|
|
2
2
|
|
|
3
|
+
## 0.0.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`772736a0`](https://github.com/bluesky-social/atproto/commit/772736a01081f39504e1b19a1b3687783bb78f07)]:
|
|
8
|
+
- @atproto/api@0.6.23
|
|
9
|
+
|
|
10
|
+
## 0.0.13
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#1788](https://github.com/bluesky-social/atproto/pull/1788) [`84e2d4d2`](https://github.com/bluesky-social/atproto/commit/84e2d4d2b6694f344d80c18672c78b650189d423) Thanks [@bnewbold](https://github.com/bnewbold)! - update license to "MIT or Apache2"
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`ce49743d`](https://github.com/bluesky-social/atproto/commit/ce49743d7f8800d33116b88001d7b512553c2c89), [`84e2d4d2`](https://github.com/bluesky-social/atproto/commit/84e2d4d2b6694f344d80c18672c78b650189d423)]:
|
|
17
|
+
- @atproto/lexicon@0.3.0
|
|
18
|
+
- @atproto/xrpc-server@0.4.0
|
|
19
|
+
- @atproto/identity@0.3.1
|
|
20
|
+
- @atproto/common@0.3.3
|
|
21
|
+
- @atproto/crypto@0.2.3
|
|
22
|
+
- @atproto/syntax@0.1.4
|
|
23
|
+
- @atproto/repo@0.3.4
|
|
24
|
+
- @atproto/api@0.6.22
|
|
25
|
+
|
|
3
26
|
## 0.0.12
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Dual MIT/Apache-2.0 License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022-2023 Bluesky PBC, and Contributors
|
|
4
|
+
|
|
5
|
+
Except as otherwise noted in individual files, this software is licensed under the MIT license (<http://opensource.org/licenses/MIT>), or the Apache License, Version 2.0 (<http://www.apache.org/licenses/LICENSE-2.0>).
|
|
6
|
+
|
|
7
|
+
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/README.md
CHANGED
|
@@ -7,4 +7,9 @@ TypeScript implementation of the `app.bsky` Lexicons backing the https://bsky.ap
|
|
|
7
7
|
|
|
8
8
|
## License
|
|
9
9
|
|
|
10
|
-
MIT
|
|
10
|
+
This project is dual-licensed under MIT and Apache 2.0 terms:
|
|
11
|
+
|
|
12
|
+
- MIT license ([LICENSE-MIT.txt](https://github.com/bluesky-social/atproto/blob/main/LICENSE-MIT.txt) or http://opensource.org/licenses/MIT)
|
|
13
|
+
- 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)
|
|
14
|
+
|
|
15
|
+
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/dist/index.js
CHANGED
|
@@ -121307,7 +121307,7 @@ var schemaDict = {
|
|
|
121307
121307
|
encoding: "application/json",
|
|
121308
121308
|
schema: {
|
|
121309
121309
|
type: "object",
|
|
121310
|
-
required: ["handle"
|
|
121310
|
+
required: ["handle"],
|
|
121311
121311
|
properties: {
|
|
121312
121312
|
email: {
|
|
121313
121313
|
type: "string"
|
|
@@ -121330,7 +121330,7 @@ var schemaDict = {
|
|
|
121330
121330
|
type: "string"
|
|
121331
121331
|
},
|
|
121332
121332
|
plcOp: {
|
|
121333
|
-
type: "
|
|
121333
|
+
type: "unknown"
|
|
121334
121334
|
}
|
|
121335
121335
|
}
|
|
121336
121336
|
}
|
|
@@ -121822,6 +121822,9 @@ var schemaDict = {
|
|
|
121822
121822
|
},
|
|
121823
121823
|
emailConfirmed: {
|
|
121824
121824
|
type: "boolean"
|
|
121825
|
+
},
|
|
121826
|
+
didDoc: {
|
|
121827
|
+
type: "unknown"
|
|
121825
121828
|
}
|
|
121826
121829
|
}
|
|
121827
121830
|
}
|
|
@@ -121985,6 +121988,18 @@ var schemaDict = {
|
|
|
121985
121988
|
main: {
|
|
121986
121989
|
type: "procedure",
|
|
121987
121990
|
description: "Reserve a repo signing key for account creation.",
|
|
121991
|
+
input: {
|
|
121992
|
+
encoding: "application/json",
|
|
121993
|
+
schema: {
|
|
121994
|
+
type: "object",
|
|
121995
|
+
properties: {
|
|
121996
|
+
did: {
|
|
121997
|
+
type: "string",
|
|
121998
|
+
description: "The did to reserve a new did:key for"
|
|
121999
|
+
}
|
|
122000
|
+
}
|
|
122001
|
+
}
|
|
122002
|
+
},
|
|
121988
122003
|
output: {
|
|
121989
122004
|
encoding: "application/json",
|
|
121990
122005
|
schema: {
|
|
@@ -128491,6 +128506,7 @@ var _AtpAgent = class {
|
|
|
128491
128506
|
this.session.email = res.data.email;
|
|
128492
128507
|
this.session.handle = res.data.handle;
|
|
128493
128508
|
this.session.emailConfirmed = res.data.emailConfirmed;
|
|
128509
|
+
this._updateApiEndpoint(res.data.didDoc);
|
|
128494
128510
|
return res;
|
|
128495
128511
|
} catch (e) {
|
|
128496
128512
|
this.session = void 0;
|
|
@@ -132358,7 +132374,7 @@ var schemaDict2 = {
|
|
|
132358
132374
|
encoding: "application/json",
|
|
132359
132375
|
schema: {
|
|
132360
132376
|
type: "object",
|
|
132361
|
-
required: ["handle"
|
|
132377
|
+
required: ["handle"],
|
|
132362
132378
|
properties: {
|
|
132363
132379
|
email: {
|
|
132364
132380
|
type: "string"
|
|
@@ -132381,7 +132397,7 @@ var schemaDict2 = {
|
|
|
132381
132397
|
type: "string"
|
|
132382
132398
|
},
|
|
132383
132399
|
plcOp: {
|
|
132384
|
-
type: "
|
|
132400
|
+
type: "unknown"
|
|
132385
132401
|
}
|
|
132386
132402
|
}
|
|
132387
132403
|
}
|
|
@@ -132873,6 +132889,9 @@ var schemaDict2 = {
|
|
|
132873
132889
|
},
|
|
132874
132890
|
emailConfirmed: {
|
|
132875
132891
|
type: "boolean"
|
|
132892
|
+
},
|
|
132893
|
+
didDoc: {
|
|
132894
|
+
type: "unknown"
|
|
132876
132895
|
}
|
|
132877
132896
|
}
|
|
132878
132897
|
}
|
|
@@ -133036,6 +133055,18 @@ var schemaDict2 = {
|
|
|
133036
133055
|
main: {
|
|
133037
133056
|
type: "procedure",
|
|
133038
133057
|
description: "Reserve a repo signing key for account creation.",
|
|
133058
|
+
input: {
|
|
133059
|
+
encoding: "application/json",
|
|
133060
|
+
schema: {
|
|
133061
|
+
type: "object",
|
|
133062
|
+
properties: {
|
|
133063
|
+
did: {
|
|
133064
|
+
type: "string",
|
|
133065
|
+
description: "The did to reserve a new did:key for"
|
|
133066
|
+
}
|
|
133067
|
+
}
|
|
133068
|
+
}
|
|
133069
|
+
},
|
|
133039
133070
|
output: {
|
|
133040
133071
|
encoding: "application/json",
|
|
133041
133072
|
schema: {
|