@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 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
@@ -2758,6 +2758,9 @@ export declare const schemaDict: {
2758
2758
  emailConfirmed: {
2759
2759
  type: string;
2760
2760
  };
2761
+ didDoc: {
2762
+ type: string;
2763
+ };
2761
2764
  };
2762
2765
  };
2763
2766
  };
@@ -7,6 +7,7 @@ export interface OutputSchema {
7
7
  did: string;
8
8
  email?: string;
9
9
  emailConfirmed?: boolean;
10
+ didDoc?: {};
10
11
  [k: string]: unknown;
11
12
  }
12
13
  export interface CallOptions {
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;