@atproto/api 0.6.22 → 0.6.23
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 +6 -0
- package/dist/client/lexicons.d.ts +3 -0
- package/dist/client/types/com/atproto/server/getSession.d.ts +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
- package/src/agent.ts +1 -0
- package/src/client/lexicons.ts +3 -0
- package/src/client/types/com/atproto/server/getSession.ts +1 -0
- package/src/moderation/accumulator.ts +0 -1
- package/tests/agent.test.ts +14 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.6.23
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1806](https://github.com/bluesky-social/atproto/pull/1806) [`772736a0`](https://github.com/bluesky-social/atproto/commit/772736a01081f39504e1b19a1b3687783bb78f07) Thanks [@devinivy](https://github.com/devinivy)! - respect pds endpoint during session resumption
|
|
8
|
+
|
|
3
9
|
## 0.6.22
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -18634,6 +18634,9 @@ var schemaDict = {
|
|
|
18634
18634
|
},
|
|
18635
18635
|
emailConfirmed: {
|
|
18636
18636
|
type: "boolean"
|
|
18637
|
+
},
|
|
18638
|
+
didDoc: {
|
|
18639
|
+
type: "unknown"
|
|
18637
18640
|
}
|
|
18638
18641
|
}
|
|
18639
18642
|
}
|
|
@@ -26908,6 +26911,7 @@ var _AtpAgent = class {
|
|
|
26908
26911
|
this.session.email = res.data.email;
|
|
26909
26912
|
this.session.handle = res.data.handle;
|
|
26910
26913
|
this.session.emailConfirmed = res.data.emailConfirmed;
|
|
26914
|
+
this._updateApiEndpoint(res.data.didDoc);
|
|
26911
26915
|
return res;
|
|
26912
26916
|
} catch (e) {
|
|
26913
26917
|
this.session = void 0;
|