@atproto/bsky 0.0.26 → 0.0.28

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/dist/index.js CHANGED
@@ -105708,7 +105708,7 @@ var require_headers4 = __commonJS({
105708
105708
  return headers;
105709
105709
  }
105710
105710
  };
105711
- var Headers121 = class {
105711
+ var Headers123 = class {
105712
105712
  constructor(init = void 0) {
105713
105713
  if (init === kConstruct) {
105714
105714
  return;
@@ -105721,14 +105721,14 @@ var require_headers4 = __commonJS({
105721
105721
  }
105722
105722
  }
105723
105723
  append(name3, value) {
105724
- webidl.brandCheck(this, Headers121);
105724
+ webidl.brandCheck(this, Headers123);
105725
105725
  webidl.argumentLengthCheck(arguments, 2, { header: "Headers.append" });
105726
105726
  name3 = webidl.converters.ByteString(name3);
105727
105727
  value = webidl.converters.ByteString(value);
105728
105728
  return appendHeader(this, name3, value);
105729
105729
  }
105730
105730
  delete(name3) {
105731
- webidl.brandCheck(this, Headers121);
105731
+ webidl.brandCheck(this, Headers123);
105732
105732
  webidl.argumentLengthCheck(arguments, 1, { header: "Headers.delete" });
105733
105733
  name3 = webidl.converters.ByteString(name3);
105734
105734
  if (!isValidHeaderName(name3)) {
@@ -105748,7 +105748,7 @@ var require_headers4 = __commonJS({
105748
105748
  this[kHeadersList].delete(name3);
105749
105749
  }
105750
105750
  get(name3) {
105751
- webidl.brandCheck(this, Headers121);
105751
+ webidl.brandCheck(this, Headers123);
105752
105752
  webidl.argumentLengthCheck(arguments, 1, { header: "Headers.get" });
105753
105753
  name3 = webidl.converters.ByteString(name3);
105754
105754
  if (!isValidHeaderName(name3)) {
@@ -105761,7 +105761,7 @@ var require_headers4 = __commonJS({
105761
105761
  return this[kHeadersList].get(name3);
105762
105762
  }
105763
105763
  has(name3) {
105764
- webidl.brandCheck(this, Headers121);
105764
+ webidl.brandCheck(this, Headers123);
105765
105765
  webidl.argumentLengthCheck(arguments, 1, { header: "Headers.has" });
105766
105766
  name3 = webidl.converters.ByteString(name3);
105767
105767
  if (!isValidHeaderName(name3)) {
@@ -105774,7 +105774,7 @@ var require_headers4 = __commonJS({
105774
105774
  return this[kHeadersList].contains(name3);
105775
105775
  }
105776
105776
  set(name3, value) {
105777
- webidl.brandCheck(this, Headers121);
105777
+ webidl.brandCheck(this, Headers123);
105778
105778
  webidl.argumentLengthCheck(arguments, 2, { header: "Headers.set" });
105779
105779
  name3 = webidl.converters.ByteString(name3);
105780
105780
  value = webidl.converters.ByteString(value);
@@ -105799,7 +105799,7 @@ var require_headers4 = __commonJS({
105799
105799
  this[kHeadersList].set(name3, value);
105800
105800
  }
105801
105801
  getSetCookie() {
105802
- webidl.brandCheck(this, Headers121);
105802
+ webidl.brandCheck(this, Headers123);
105803
105803
  const list = this[kHeadersList].cookies;
105804
105804
  if (list) {
105805
105805
  return [...list];
@@ -105828,7 +105828,7 @@ var require_headers4 = __commonJS({
105828
105828
  return headers;
105829
105829
  }
105830
105830
  keys() {
105831
- webidl.brandCheck(this, Headers121);
105831
+ webidl.brandCheck(this, Headers123);
105832
105832
  if (this[kGuard] === "immutable") {
105833
105833
  const value = this[kHeadersSortedMap];
105834
105834
  return makeIterator(() => value, "Headers", "key");
@@ -105836,7 +105836,7 @@ var require_headers4 = __commonJS({
105836
105836
  return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "key");
105837
105837
  }
105838
105838
  values() {
105839
- webidl.brandCheck(this, Headers121);
105839
+ webidl.brandCheck(this, Headers123);
105840
105840
  if (this[kGuard] === "immutable") {
105841
105841
  const value = this[kHeadersSortedMap];
105842
105842
  return makeIterator(() => value, "Headers", "value");
@@ -105844,7 +105844,7 @@ var require_headers4 = __commonJS({
105844
105844
  return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "value");
105845
105845
  }
105846
105846
  entries() {
105847
- webidl.brandCheck(this, Headers121);
105847
+ webidl.brandCheck(this, Headers123);
105848
105848
  if (this[kGuard] === "immutable") {
105849
105849
  const value = this[kHeadersSortedMap];
105850
105850
  return makeIterator(() => value, "Headers", "key+value");
@@ -105852,7 +105852,7 @@ var require_headers4 = __commonJS({
105852
105852
  return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "key+value");
105853
105853
  }
105854
105854
  forEach(callbackFn, thisArg = globalThis) {
105855
- webidl.brandCheck(this, Headers121);
105855
+ webidl.brandCheck(this, Headers123);
105856
105856
  webidl.argumentLengthCheck(arguments, 1, { header: "Headers.forEach" });
105857
105857
  if (typeof callbackFn !== "function") {
105858
105858
  throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.");
@@ -105862,12 +105862,12 @@ var require_headers4 = __commonJS({
105862
105862
  }
105863
105863
  }
105864
105864
  [Symbol.for("nodejs.util.inspect.custom")]() {
105865
- webidl.brandCheck(this, Headers121);
105865
+ webidl.brandCheck(this, Headers123);
105866
105866
  return this[kHeadersList];
105867
105867
  }
105868
105868
  };
105869
- Headers121.prototype[Symbol.iterator] = Headers121.prototype.entries;
105870
- Object.defineProperties(Headers121.prototype, {
105869
+ Headers123.prototype[Symbol.iterator] = Headers123.prototype.entries;
105870
+ Object.defineProperties(Headers123.prototype, {
105871
105871
  append: kEnumerableProperty,
105872
105872
  delete: kEnumerableProperty,
105873
105873
  get: kEnumerableProperty,
@@ -105899,7 +105899,7 @@ var require_headers4 = __commonJS({
105899
105899
  };
105900
105900
  module2.exports = {
105901
105901
  fill,
105902
- Headers: Headers121,
105902
+ Headers: Headers123,
105903
105903
  HeadersList
105904
105904
  };
105905
105905
  }
@@ -105909,7 +105909,7 @@ var require_headers4 = __commonJS({
105909
105909
  var require_response2 = __commonJS({
105910
105910
  "../../node_modules/.pnpm/undici@5.28.2/node_modules/undici/lib/fetch/response.js"(exports, module2) {
105911
105911
  "use strict";
105912
- var { Headers: Headers121, HeadersList, fill } = require_headers4();
105912
+ var { Headers: Headers123, HeadersList, fill } = require_headers4();
105913
105913
  var { extractBody, cloneBody, mixinBody } = require_body();
105914
105914
  var util2 = require_util2();
105915
105915
  var { kEnumerableProperty } = util2;
@@ -105995,7 +105995,7 @@ var require_response2 = __commonJS({
105995
105995
  init = webidl.converters.ResponseInit(init);
105996
105996
  this[kRealm] = { settingsObject: {} };
105997
105997
  this[kState] = makeResponse({});
105998
- this[kHeaders] = new Headers121(kConstruct);
105998
+ this[kHeaders] = new Headers123(kConstruct);
105999
105999
  this[kHeaders][kGuard] = "response";
106000
106000
  this[kHeaders][kHeadersList] = this[kState].headersList;
106001
106001
  this[kHeaders][kRealm] = this[kRealm];
@@ -106266,7 +106266,7 @@ var require_request3 = __commonJS({
106266
106266
  "../../node_modules/.pnpm/undici@5.28.2/node_modules/undici/lib/fetch/request.js"(exports, module2) {
106267
106267
  "use strict";
106268
106268
  var { extractBody, mixinBody, cloneBody } = require_body();
106269
- var { Headers: Headers121, fill: fillHeaders, HeadersList } = require_headers4();
106269
+ var { Headers: Headers123, fill: fillHeaders, HeadersList } = require_headers4();
106270
106270
  var { FinalizationRegistry: FinalizationRegistry2 } = require_dispatcher_weakref()();
106271
106271
  var util2 = require_util2();
106272
106272
  var {
@@ -106480,7 +106480,7 @@ var require_request3 = __commonJS({
106480
106480
  requestFinalizer.register(ac, { signal, abort });
106481
106481
  }
106482
106482
  }
106483
- this[kHeaders] = new Headers121(kConstruct);
106483
+ this[kHeaders] = new Headers123(kConstruct);
106484
106484
  this[kHeaders][kHeadersList] = request.headersList;
106485
106485
  this[kHeaders][kGuard] = "request";
106486
106486
  this[kHeaders][kRealm] = this[kRealm];
@@ -106629,7 +106629,7 @@ var require_request3 = __commonJS({
106629
106629
  const clonedRequestObject = new Request2(kConstruct);
106630
106630
  clonedRequestObject[kState] = clonedRequest;
106631
106631
  clonedRequestObject[kRealm] = this[kRealm];
106632
- clonedRequestObject[kHeaders] = new Headers121(kConstruct);
106632
+ clonedRequestObject[kHeaders] = new Headers123(kConstruct);
106633
106633
  clonedRequestObject[kHeaders][kHeadersList] = clonedRequest.headersList;
106634
106634
  clonedRequestObject[kHeaders][kGuard] = this[kHeaders][kGuard];
106635
106635
  clonedRequestObject[kHeaders][kRealm] = this[kHeaders][kRealm];
@@ -106812,7 +106812,7 @@ var require_fetch = __commonJS({
106812
106812
  filterResponse,
106813
106813
  makeResponse
106814
106814
  } = require_response2();
106815
- var { Headers: Headers121 } = require_headers4();
106815
+ var { Headers: Headers123 } = require_headers4();
106816
106816
  var { Request: Request2, makeRequest } = require_request3();
106817
106817
  var zlib = require("zlib");
106818
106818
  var {
@@ -107670,7 +107670,7 @@ var require_fetch = __commonJS({
107670
107670
  }
107671
107671
  let codings = [];
107672
107672
  let location = "";
107673
- const headers = new Headers121();
107673
+ const headers = new Headers123();
107674
107674
  if (Array.isArray(headersList)) {
107675
107675
  for (let n = 0; n < headersList.length; n += 2) {
107676
107676
  const key = headersList[n + 0].toString("latin1");
@@ -107751,7 +107751,7 @@ var require_fetch = __commonJS({
107751
107751
  if (status !== 101) {
107752
107752
  return;
107753
107753
  }
107754
- const headers = new Headers121();
107754
+ const headers = new Headers123();
107755
107755
  for (let n = 0; n < headersList.length; n += 2) {
107756
107756
  const key = headersList[n + 0].toString("latin1");
107757
107757
  const val = headersList[n + 1].toString("latin1");
@@ -109488,10 +109488,10 @@ var require_cookies2 = __commonJS({
109488
109488
  var { parseSetCookie } = require_parse3();
109489
109489
  var { stringify, getHeadersList } = require_util7();
109490
109490
  var { webidl } = require_webidl();
109491
- var { Headers: Headers121 } = require_headers4();
109491
+ var { Headers: Headers123 } = require_headers4();
109492
109492
  function getCookies(headers) {
109493
109493
  webidl.argumentLengthCheck(arguments, 1, { header: "getCookies" });
109494
- webidl.brandCheck(headers, Headers121, { strict: false });
109494
+ webidl.brandCheck(headers, Headers123, { strict: false });
109495
109495
  const cookie = headers.get("cookie");
109496
109496
  const out = {};
109497
109497
  if (!cookie) {
@@ -109505,7 +109505,7 @@ var require_cookies2 = __commonJS({
109505
109505
  }
109506
109506
  function deleteCookie(headers, name3, attributes) {
109507
109507
  webidl.argumentLengthCheck(arguments, 2, { header: "deleteCookie" });
109508
- webidl.brandCheck(headers, Headers121, { strict: false });
109508
+ webidl.brandCheck(headers, Headers123, { strict: false });
109509
109509
  name3 = webidl.converters.DOMString(name3);
109510
109510
  attributes = webidl.converters.DeleteCookieAttributes(attributes);
109511
109511
  setCookie(headers, {
@@ -109517,7 +109517,7 @@ var require_cookies2 = __commonJS({
109517
109517
  }
109518
109518
  function getSetCookies(headers) {
109519
109519
  webidl.argumentLengthCheck(arguments, 1, { header: "getSetCookies" });
109520
- webidl.brandCheck(headers, Headers121, { strict: false });
109520
+ webidl.brandCheck(headers, Headers123, { strict: false });
109521
109521
  const cookies = getHeadersList(headers).cookies;
109522
109522
  if (!cookies) {
109523
109523
  return [];
@@ -109526,7 +109526,7 @@ var require_cookies2 = __commonJS({
109526
109526
  }
109527
109527
  function setCookie(headers, cookie) {
109528
109528
  webidl.argumentLengthCheck(arguments, 2, { header: "setCookie" });
109529
- webidl.brandCheck(headers, Headers121, { strict: false });
109529
+ webidl.brandCheck(headers, Headers123, { strict: false });
109530
109530
  cookie = webidl.converters.Cookie(cookie);
109531
109531
  const str = stringify(cookie);
109532
109532
  if (str) {
@@ -110012,7 +110012,7 @@ var require_connection = __commonJS({
110012
110012
  var { CloseEvent } = require_events();
110013
110013
  var { makeRequest } = require_request3();
110014
110014
  var { fetching } = require_fetch();
110015
- var { Headers: Headers121 } = require_headers4();
110015
+ var { Headers: Headers123 } = require_headers4();
110016
110016
  var { getGlobalDispatcher } = require_global2();
110017
110017
  var { kHeadersList } = require_symbols2();
110018
110018
  var channels = {};
@@ -110037,7 +110037,7 @@ var require_connection = __commonJS({
110037
110037
  redirect: "error"
110038
110038
  });
110039
110039
  if (options.headers) {
110040
- const headersList = new Headers121(options.headers)[kHeadersList];
110040
+ const headersList = new Headers123(options.headers)[kHeadersList];
110041
110041
  request.headersList = headersList;
110042
110042
  }
110043
110043
  const keyValue = crypto4.randomBytes(16).toString("base64");
@@ -153277,6 +153277,34 @@ var schemaDict = {
153277
153277
  }
153278
153278
  }
153279
153279
  },
153280
+ ComAtprotoTempCheckSignupQueue: {
153281
+ lexicon: 1,
153282
+ id: "com.atproto.temp.checkSignupQueue",
153283
+ defs: {
153284
+ main: {
153285
+ type: "query",
153286
+ description: "Check accounts location in signup queue.",
153287
+ output: {
153288
+ encoding: "application/json",
153289
+ schema: {
153290
+ type: "object",
153291
+ required: ["activated"],
153292
+ properties: {
153293
+ activated: {
153294
+ type: "boolean"
153295
+ },
153296
+ placeInQueue: {
153297
+ type: "integer"
153298
+ },
153299
+ estimatedTimeMs: {
153300
+ type: "integer"
153301
+ }
153302
+ }
153303
+ }
153304
+ }
153305
+ }
153306
+ }
153307
+ },
153280
153308
  ComAtprotoTempFetchLabels: {
153281
153309
  lexicon: 1,
153282
153310
  id: "com.atproto.temp.fetchLabels",
@@ -153641,7 +153669,8 @@ var schemaDict = {
153641
153669
  "lex:app.bsky.actor.defs#savedFeedsPref",
153642
153670
  "lex:app.bsky.actor.defs#personalDetailsPref",
153643
153671
  "lex:app.bsky.actor.defs#feedViewPref",
153644
- "lex:app.bsky.actor.defs#threadViewPref"
153672
+ "lex:app.bsky.actor.defs#threadViewPref",
153673
+ "lex:app.bsky.actor.defs#interestsPref"
153645
153674
  ]
153646
153675
  }
153647
153676
  },
@@ -153741,6 +153770,22 @@ var schemaDict = {
153741
153770
  description: "Show followed users at the top of all replies."
153742
153771
  }
153743
153772
  }
153773
+ },
153774
+ interestsPref: {
153775
+ type: "object",
153776
+ required: ["tags"],
153777
+ properties: {
153778
+ tags: {
153779
+ type: "array",
153780
+ maxLength: 100,
153781
+ items: {
153782
+ type: "string",
153783
+ maxLength: 640,
153784
+ maxGraphemes: 64
153785
+ },
153786
+ description: "A list of tags which describe the account owner's interests gathered during onboarding."
153787
+ }
153788
+ }
153744
153789
  }
153745
153790
  }
153746
153791
  },
@@ -155934,6 +155979,42 @@ var schemaDict = {
155934
155979
  format: "at-uri"
155935
155980
  }
155936
155981
  }
155982
+ },
155983
+ notFoundActor: {
155984
+ type: "object",
155985
+ description: "indicates that a handle or DID could not be resolved",
155986
+ required: ["actor", "notFound"],
155987
+ properties: {
155988
+ actor: {
155989
+ type: "string",
155990
+ format: "at-identifier"
155991
+ },
155992
+ notFound: {
155993
+ type: "boolean",
155994
+ const: true
155995
+ }
155996
+ }
155997
+ },
155998
+ relationship: {
155999
+ type: "object",
156000
+ description: "lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)",
156001
+ required: ["did"],
156002
+ properties: {
156003
+ did: {
156004
+ type: "string",
156005
+ format: "did"
156006
+ },
156007
+ following: {
156008
+ type: "string",
156009
+ format: "at-uri",
156010
+ description: "if the actor follows this DID, this is the AT-URI of the follow record"
156011
+ },
156012
+ followedBy: {
156013
+ type: "string",
156014
+ format: "at-uri",
156015
+ description: "if the actor is followed by this DID, contains the AT-URI of the follow record"
156016
+ }
156017
+ }
155937
156018
  }
155938
156019
  }
155939
156020
  },
@@ -156338,6 +156419,63 @@ var schemaDict = {
156338
156419
  }
156339
156420
  }
156340
156421
  },
156422
+ AppBskyGraphGetRelationships: {
156423
+ lexicon: 1,
156424
+ id: "app.bsky.graph.getRelationships",
156425
+ defs: {
156426
+ main: {
156427
+ type: "query",
156428
+ description: "Enumerates public relationships between one account, and a list of other accounts",
156429
+ parameters: {
156430
+ type: "params",
156431
+ required: ["actor"],
156432
+ properties: {
156433
+ actor: {
156434
+ type: "string",
156435
+ format: "at-identifier"
156436
+ },
156437
+ others: {
156438
+ type: "array",
156439
+ maxLength: 30,
156440
+ items: {
156441
+ type: "string",
156442
+ format: "at-identifier"
156443
+ }
156444
+ }
156445
+ }
156446
+ },
156447
+ output: {
156448
+ encoding: "application/json",
156449
+ schema: {
156450
+ type: "object",
156451
+ required: ["relationships"],
156452
+ properties: {
156453
+ actor: {
156454
+ type: "string",
156455
+ format: "did"
156456
+ },
156457
+ relationships: {
156458
+ type: "array",
156459
+ items: {
156460
+ type: "union",
156461
+ refs: [
156462
+ "lex:app.bsky.graph.defs#relationship",
156463
+ "lex:app.bsky.graph.defs#notFoundActor"
156464
+ ]
156465
+ }
156466
+ }
156467
+ }
156468
+ }
156469
+ },
156470
+ errors: [
156471
+ {
156472
+ name: "ActorNotFound",
156473
+ description: "the primary actor at-identifier could not be resolved"
156474
+ }
156475
+ ]
156476
+ }
156477
+ }
156478
+ },
156341
156479
  AppBskyGraphGetSuggestedFollowsByActor: {
156342
156480
  lexicon: 1,
156343
156481
  id: "app.bsky.graph.getSuggestedFollowsByActor",
@@ -157833,34 +157971,41 @@ function toKnownErr67(e) {
157833
157971
  return e;
157834
157972
  }
157835
157973
 
157836
- // ../api/src/client/types/com/atproto/temp/fetchLabels.ts
157974
+ // ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
157837
157975
  function toKnownErr68(e) {
157838
157976
  if (e instanceof XRPCError) {
157839
157977
  }
157840
157978
  return e;
157841
157979
  }
157842
157980
 
157843
- // ../api/src/client/types/com/atproto/temp/importRepo.ts
157981
+ // ../api/src/client/types/com/atproto/temp/fetchLabels.ts
157844
157982
  function toKnownErr69(e) {
157845
157983
  if (e instanceof XRPCError) {
157846
157984
  }
157847
157985
  return e;
157848
157986
  }
157849
157987
 
157850
- // ../api/src/client/types/com/atproto/temp/pushBlob.ts
157988
+ // ../api/src/client/types/com/atproto/temp/importRepo.ts
157851
157989
  function toKnownErr70(e) {
157852
157990
  if (e instanceof XRPCError) {
157853
157991
  }
157854
157992
  return e;
157855
157993
  }
157856
157994
 
157857
- // ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
157995
+ // ../api/src/client/types/com/atproto/temp/pushBlob.ts
157858
157996
  function toKnownErr71(e) {
157859
157997
  if (e instanceof XRPCError) {
157860
157998
  }
157861
157999
  return e;
157862
158000
  }
157863
158001
 
158002
+ // ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
158003
+ function toKnownErr72(e) {
158004
+ if (e instanceof XRPCError) {
158005
+ }
158006
+ return e;
158007
+ }
158008
+
157864
158009
  // ../api/src/client/types/com/atproto/temp/transferAccount.ts
157865
158010
  var InvalidHandleError3 = class extends XRPCError {
157866
158011
  constructor(src3) {
@@ -157897,7 +158042,7 @@ var IncompatibleDidDocError2 = class extends XRPCError {
157897
158042
  super(src3.status, src3.error, src3.message, src3.headers);
157898
158043
  }
157899
158044
  };
157900
- function toKnownErr72(e) {
158045
+ function toKnownErr73(e) {
157901
158046
  if (e instanceof XRPCError) {
157902
158047
  if (e.error === "InvalidHandle")
157903
158048
  return new InvalidHandleError3(e);
@@ -157918,63 +158063,63 @@ function toKnownErr72(e) {
157918
158063
  }
157919
158064
 
157920
158065
  // ../api/src/client/types/app/bsky/actor/getPreferences.ts
157921
- function toKnownErr73(e) {
158066
+ function toKnownErr74(e) {
157922
158067
  if (e instanceof XRPCError) {
157923
158068
  }
157924
158069
  return e;
157925
158070
  }
157926
158071
 
157927
158072
  // ../api/src/client/types/app/bsky/actor/getProfile.ts
157928
- function toKnownErr74(e) {
158073
+ function toKnownErr75(e) {
157929
158074
  if (e instanceof XRPCError) {
157930
158075
  }
157931
158076
  return e;
157932
158077
  }
157933
158078
 
157934
158079
  // ../api/src/client/types/app/bsky/actor/getProfiles.ts
157935
- function toKnownErr75(e) {
158080
+ function toKnownErr76(e) {
157936
158081
  if (e instanceof XRPCError) {
157937
158082
  }
157938
158083
  return e;
157939
158084
  }
157940
158085
 
157941
158086
  // ../api/src/client/types/app/bsky/actor/getSuggestions.ts
157942
- function toKnownErr76(e) {
158087
+ function toKnownErr77(e) {
157943
158088
  if (e instanceof XRPCError) {
157944
158089
  }
157945
158090
  return e;
157946
158091
  }
157947
158092
 
157948
158093
  // ../api/src/client/types/app/bsky/actor/putPreferences.ts
157949
- function toKnownErr77(e) {
158094
+ function toKnownErr78(e) {
157950
158095
  if (e instanceof XRPCError) {
157951
158096
  }
157952
158097
  return e;
157953
158098
  }
157954
158099
 
157955
158100
  // ../api/src/client/types/app/bsky/actor/searchActors.ts
157956
- function toKnownErr78(e) {
158101
+ function toKnownErr79(e) {
157957
158102
  if (e instanceof XRPCError) {
157958
158103
  }
157959
158104
  return e;
157960
158105
  }
157961
158106
 
157962
158107
  // ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
157963
- function toKnownErr79(e) {
158108
+ function toKnownErr80(e) {
157964
158109
  if (e instanceof XRPCError) {
157965
158110
  }
157966
158111
  return e;
157967
158112
  }
157968
158113
 
157969
158114
  // ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
157970
- function toKnownErr80(e) {
158115
+ function toKnownErr81(e) {
157971
158116
  if (e instanceof XRPCError) {
157972
158117
  }
157973
158118
  return e;
157974
158119
  }
157975
158120
 
157976
158121
  // ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
157977
- function toKnownErr81(e) {
158122
+ function toKnownErr82(e) {
157978
158123
  if (e instanceof XRPCError) {
157979
158124
  }
157980
158125
  return e;
@@ -157991,7 +158136,7 @@ var BlockedByActorError = class extends XRPCError {
157991
158136
  super(src3.status, src3.error, src3.message, src3.headers);
157992
158137
  }
157993
158138
  };
157994
- function toKnownErr82(e) {
158139
+ function toKnownErr83(e) {
157995
158140
  if (e instanceof XRPCError) {
157996
158141
  if (e.error === "BlockedActor")
157997
158142
  return new BlockedActorError(e);
@@ -158012,7 +158157,7 @@ var BlockedByActorError2 = class extends XRPCError {
158012
158157
  super(src3.status, src3.error, src3.message, src3.headers);
158013
158158
  }
158014
158159
  };
158015
- function toKnownErr83(e) {
158160
+ function toKnownErr84(e) {
158016
158161
  if (e instanceof XRPCError) {
158017
158162
  if (e.error === "BlockedActor")
158018
158163
  return new BlockedActorError2(e);
@@ -158028,7 +158173,7 @@ var UnknownFeedError = class extends XRPCError {
158028
158173
  super(src3.status, src3.error, src3.message, src3.headers);
158029
158174
  }
158030
158175
  };
158031
- function toKnownErr84(e) {
158176
+ function toKnownErr85(e) {
158032
158177
  if (e instanceof XRPCError) {
158033
158178
  if (e.error === "UnknownFeed")
158034
158179
  return new UnknownFeedError(e);
@@ -158037,14 +158182,14 @@ function toKnownErr84(e) {
158037
158182
  }
158038
158183
 
158039
158184
  // ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
158040
- function toKnownErr85(e) {
158185
+ function toKnownErr86(e) {
158041
158186
  if (e instanceof XRPCError) {
158042
158187
  }
158043
158188
  return e;
158044
158189
  }
158045
158190
 
158046
158191
  // ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
158047
- function toKnownErr86(e) {
158192
+ function toKnownErr87(e) {
158048
158193
  if (e instanceof XRPCError) {
158049
158194
  }
158050
158195
  return e;
@@ -158054,14 +158199,14 @@ function toKnownErr86(e) {
158054
158199
  var getFeedSkeleton_exports = {};
158055
158200
  __export(getFeedSkeleton_exports, {
158056
158201
  UnknownFeedError: () => UnknownFeedError2,
158057
- toKnownErr: () => toKnownErr87
158202
+ toKnownErr: () => toKnownErr88
158058
158203
  });
158059
158204
  var UnknownFeedError2 = class extends XRPCError {
158060
158205
  constructor(src3) {
158061
158206
  super(src3.status, src3.error, src3.message, src3.headers);
158062
158207
  }
158063
158208
  };
158064
- function toKnownErr87(e) {
158209
+ function toKnownErr88(e) {
158065
158210
  if (e instanceof XRPCError) {
158066
158211
  if (e.error === "UnknownFeed")
158067
158212
  return new UnknownFeedError2(e);
@@ -158070,7 +158215,7 @@ function toKnownErr87(e) {
158070
158215
  }
158071
158216
 
158072
158217
  // ../api/src/client/types/app/bsky/feed/getLikes.ts
158073
- function toKnownErr88(e) {
158218
+ function toKnownErr89(e) {
158074
158219
  if (e instanceof XRPCError) {
158075
158220
  }
158076
158221
  return e;
@@ -158082,7 +158227,7 @@ var UnknownListError = class extends XRPCError {
158082
158227
  super(src3.status, src3.error, src3.message, src3.headers);
158083
158228
  }
158084
158229
  };
158085
- function toKnownErr89(e) {
158230
+ function toKnownErr90(e) {
158086
158231
  if (e instanceof XRPCError) {
158087
158232
  if (e.error === "UnknownList")
158088
158233
  return new UnknownListError(e);
@@ -158096,7 +158241,7 @@ var NotFoundError = class extends XRPCError {
158096
158241
  super(src3.status, src3.error, src3.message, src3.headers);
158097
158242
  }
158098
158243
  };
158099
- function toKnownErr90(e) {
158244
+ function toKnownErr91(e) {
158100
158245
  if (e instanceof XRPCError) {
158101
158246
  if (e.error === "NotFound")
158102
158247
  return new NotFoundError(e);
@@ -158105,28 +158250,28 @@ function toKnownErr90(e) {
158105
158250
  }
158106
158251
 
158107
158252
  // ../api/src/client/types/app/bsky/feed/getPosts.ts
158108
- function toKnownErr91(e) {
158253
+ function toKnownErr92(e) {
158109
158254
  if (e instanceof XRPCError) {
158110
158255
  }
158111
158256
  return e;
158112
158257
  }
158113
158258
 
158114
158259
  // ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
158115
- function toKnownErr92(e) {
158260
+ function toKnownErr93(e) {
158116
158261
  if (e instanceof XRPCError) {
158117
158262
  }
158118
158263
  return e;
158119
158264
  }
158120
158265
 
158121
158266
  // ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
158122
- function toKnownErr93(e) {
158267
+ function toKnownErr94(e) {
158123
158268
  if (e instanceof XRPCError) {
158124
158269
  }
158125
158270
  return e;
158126
158271
  }
158127
158272
 
158128
158273
  // ../api/src/client/types/app/bsky/feed/getTimeline.ts
158129
- function toKnownErr94(e) {
158274
+ function toKnownErr95(e) {
158130
158275
  if (e instanceof XRPCError) {
158131
158276
  }
158132
158277
  return e;
@@ -158138,7 +158283,7 @@ var BadQueryStringError = class extends XRPCError {
158138
158283
  super(src3.status, src3.error, src3.message, src3.headers);
158139
158284
  }
158140
158285
  };
158141
- function toKnownErr95(e) {
158286
+ function toKnownErr96(e) {
158142
158287
  if (e instanceof XRPCError) {
158143
158288
  if (e.error === "BadQueryString")
158144
158289
  return new BadQueryStringError(e);
@@ -158147,133 +158292,147 @@ function toKnownErr95(e) {
158147
158292
  }
158148
158293
 
158149
158294
  // ../api/src/client/types/app/bsky/graph/getBlocks.ts
158150
- function toKnownErr96(e) {
158295
+ function toKnownErr97(e) {
158151
158296
  if (e instanceof XRPCError) {
158152
158297
  }
158153
158298
  return e;
158154
158299
  }
158155
158300
 
158156
158301
  // ../api/src/client/types/app/bsky/graph/getFollowers.ts
158157
- function toKnownErr97(e) {
158302
+ function toKnownErr98(e) {
158158
158303
  if (e instanceof XRPCError) {
158159
158304
  }
158160
158305
  return e;
158161
158306
  }
158162
158307
 
158163
158308
  // ../api/src/client/types/app/bsky/graph/getFollows.ts
158164
- function toKnownErr98(e) {
158309
+ function toKnownErr99(e) {
158165
158310
  if (e instanceof XRPCError) {
158166
158311
  }
158167
158312
  return e;
158168
158313
  }
158169
158314
 
158170
158315
  // ../api/src/client/types/app/bsky/graph/getList.ts
158171
- function toKnownErr99(e) {
158316
+ function toKnownErr100(e) {
158172
158317
  if (e instanceof XRPCError) {
158173
158318
  }
158174
158319
  return e;
158175
158320
  }
158176
158321
 
158177
158322
  // ../api/src/client/types/app/bsky/graph/getListBlocks.ts
158178
- function toKnownErr100(e) {
158323
+ function toKnownErr101(e) {
158179
158324
  if (e instanceof XRPCError) {
158180
158325
  }
158181
158326
  return e;
158182
158327
  }
158183
158328
 
158184
158329
  // ../api/src/client/types/app/bsky/graph/getListMutes.ts
158185
- function toKnownErr101(e) {
158330
+ function toKnownErr102(e) {
158186
158331
  if (e instanceof XRPCError) {
158187
158332
  }
158188
158333
  return e;
158189
158334
  }
158190
158335
 
158191
158336
  // ../api/src/client/types/app/bsky/graph/getLists.ts
158192
- function toKnownErr102(e) {
158337
+ function toKnownErr103(e) {
158193
158338
  if (e instanceof XRPCError) {
158194
158339
  }
158195
158340
  return e;
158196
158341
  }
158197
158342
 
158198
158343
  // ../api/src/client/types/app/bsky/graph/getMutes.ts
158199
- function toKnownErr103(e) {
158344
+ function toKnownErr104(e) {
158345
+ if (e instanceof XRPCError) {
158346
+ }
158347
+ return e;
158348
+ }
158349
+
158350
+ // ../api/src/client/types/app/bsky/graph/getRelationships.ts
158351
+ var ActorNotFoundError = class extends XRPCError {
158352
+ constructor(src3) {
158353
+ super(src3.status, src3.error, src3.message, src3.headers);
158354
+ }
158355
+ };
158356
+ function toKnownErr105(e) {
158200
158357
  if (e instanceof XRPCError) {
158358
+ if (e.error === "ActorNotFound")
158359
+ return new ActorNotFoundError(e);
158201
158360
  }
158202
158361
  return e;
158203
158362
  }
158204
158363
 
158205
158364
  // ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
158206
- function toKnownErr104(e) {
158365
+ function toKnownErr106(e) {
158207
158366
  if (e instanceof XRPCError) {
158208
158367
  }
158209
158368
  return e;
158210
158369
  }
158211
158370
 
158212
158371
  // ../api/src/client/types/app/bsky/graph/muteActor.ts
158213
- function toKnownErr105(e) {
158372
+ function toKnownErr107(e) {
158214
158373
  if (e instanceof XRPCError) {
158215
158374
  }
158216
158375
  return e;
158217
158376
  }
158218
158377
 
158219
158378
  // ../api/src/client/types/app/bsky/graph/muteActorList.ts
158220
- function toKnownErr106(e) {
158379
+ function toKnownErr108(e) {
158221
158380
  if (e instanceof XRPCError) {
158222
158381
  }
158223
158382
  return e;
158224
158383
  }
158225
158384
 
158226
158385
  // ../api/src/client/types/app/bsky/graph/unmuteActor.ts
158227
- function toKnownErr107(e) {
158386
+ function toKnownErr109(e) {
158228
158387
  if (e instanceof XRPCError) {
158229
158388
  }
158230
158389
  return e;
158231
158390
  }
158232
158391
 
158233
158392
  // ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
158234
- function toKnownErr108(e) {
158393
+ function toKnownErr110(e) {
158235
158394
  if (e instanceof XRPCError) {
158236
158395
  }
158237
158396
  return e;
158238
158397
  }
158239
158398
 
158240
158399
  // ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
158241
- function toKnownErr109(e) {
158400
+ function toKnownErr111(e) {
158242
158401
  if (e instanceof XRPCError) {
158243
158402
  }
158244
158403
  return e;
158245
158404
  }
158246
158405
 
158247
158406
  // ../api/src/client/types/app/bsky/notification/listNotifications.ts
158248
- function toKnownErr110(e) {
158407
+ function toKnownErr112(e) {
158249
158408
  if (e instanceof XRPCError) {
158250
158409
  }
158251
158410
  return e;
158252
158411
  }
158253
158412
 
158254
158413
  // ../api/src/client/types/app/bsky/notification/registerPush.ts
158255
- function toKnownErr111(e) {
158414
+ function toKnownErr113(e) {
158256
158415
  if (e instanceof XRPCError) {
158257
158416
  }
158258
158417
  return e;
158259
158418
  }
158260
158419
 
158261
158420
  // ../api/src/client/types/app/bsky/notification/updateSeen.ts
158262
- function toKnownErr112(e) {
158421
+ function toKnownErr114(e) {
158263
158422
  if (e instanceof XRPCError) {
158264
158423
  }
158265
158424
  return e;
158266
158425
  }
158267
158426
 
158268
158427
  // ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
158269
- function toKnownErr113(e) {
158428
+ function toKnownErr115(e) {
158270
158429
  if (e instanceof XRPCError) {
158271
158430
  }
158272
158431
  return e;
158273
158432
  }
158274
158433
 
158275
158434
  // ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
158276
- function toKnownErr114(e) {
158435
+ function toKnownErr116(e) {
158277
158436
  if (e instanceof XRPCError) {
158278
158437
  }
158279
158438
  return e;
@@ -158285,7 +158444,7 @@ var UnknownFeedError3 = class extends XRPCError {
158285
158444
  super(src3.status, src3.error, src3.message, src3.headers);
158286
158445
  }
158287
158446
  };
158288
- function toKnownErr115(e) {
158447
+ function toKnownErr117(e) {
158289
158448
  if (e instanceof XRPCError) {
158290
158449
  if (e.error === "UnknownFeed")
158291
158450
  return new UnknownFeedError3(e);
@@ -158299,7 +158458,7 @@ var BadQueryStringError2 = class extends XRPCError {
158299
158458
  super(src3.status, src3.error, src3.message, src3.headers);
158300
158459
  }
158301
158460
  };
158302
- function toKnownErr116(e) {
158461
+ function toKnownErr118(e) {
158303
158462
  if (e instanceof XRPCError) {
158304
158463
  if (e.error === "BadQueryString")
158305
158464
  return new BadQueryStringError2(e);
@@ -158313,7 +158472,7 @@ var BadQueryStringError3 = class extends XRPCError {
158313
158472
  super(src3.status, src3.error, src3.message, src3.headers);
158314
158473
  }
158315
158474
  };
158316
- function toKnownErr117(e) {
158475
+ function toKnownErr119(e) {
158317
158476
  if (e instanceof XRPCError) {
158318
158477
  if (e.error === "BadQueryString")
158319
158478
  return new BadQueryStringError3(e);
@@ -158735,29 +158894,34 @@ var ComAtprotoTempNS = class {
158735
158894
  constructor(service2) {
158736
158895
  this._service = service2;
158737
158896
  }
158897
+ checkSignupQueue(params2, opts) {
158898
+ return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
158899
+ throw toKnownErr68(e);
158900
+ });
158901
+ }
158738
158902
  fetchLabels(params2, opts) {
158739
158903
  return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
158740
- throw toKnownErr68(e);
158904
+ throw toKnownErr69(e);
158741
158905
  });
158742
158906
  }
158743
158907
  importRepo(data, opts) {
158744
158908
  return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
158745
- throw toKnownErr69(e);
158909
+ throw toKnownErr70(e);
158746
158910
  });
158747
158911
  }
158748
158912
  pushBlob(data, opts) {
158749
158913
  return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
158750
- throw toKnownErr70(e);
158914
+ throw toKnownErr71(e);
158751
158915
  });
158752
158916
  }
158753
158917
  requestPhoneVerification(data, opts) {
158754
158918
  return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
158755
- throw toKnownErr71(e);
158919
+ throw toKnownErr72(e);
158756
158920
  });
158757
158921
  }
158758
158922
  transferAccount(data, opts) {
158759
158923
  return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
158760
- throw toKnownErr72(e);
158924
+ throw toKnownErr73(e);
158761
158925
  });
158762
158926
  }
158763
158927
  };
@@ -158786,37 +158950,37 @@ var AppBskyActorNS = class {
158786
158950
  }
158787
158951
  getPreferences(params2, opts) {
158788
158952
  return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
158789
- throw toKnownErr73(e);
158953
+ throw toKnownErr74(e);
158790
158954
  });
158791
158955
  }
158792
158956
  getProfile(params2, opts) {
158793
158957
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
158794
- throw toKnownErr74(e);
158958
+ throw toKnownErr75(e);
158795
158959
  });
158796
158960
  }
158797
158961
  getProfiles(params2, opts) {
158798
158962
  return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
158799
- throw toKnownErr75(e);
158963
+ throw toKnownErr76(e);
158800
158964
  });
158801
158965
  }
158802
158966
  getSuggestions(params2, opts) {
158803
158967
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
158804
- throw toKnownErr76(e);
158968
+ throw toKnownErr77(e);
158805
158969
  });
158806
158970
  }
158807
158971
  putPreferences(data, opts) {
158808
158972
  return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
158809
- throw toKnownErr77(e);
158973
+ throw toKnownErr78(e);
158810
158974
  });
158811
158975
  }
158812
158976
  searchActors(params2, opts) {
158813
158977
  return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
158814
- throw toKnownErr78(e);
158978
+ throw toKnownErr79(e);
158815
158979
  });
158816
158980
  }
158817
158981
  searchActorsTypeahead(params2, opts) {
158818
158982
  return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
158819
- throw toKnownErr79(e);
158983
+ throw toKnownErr80(e);
158820
158984
  });
158821
158985
  }
158822
158986
  };
@@ -158863,82 +159027,82 @@ var AppBskyFeedNS = class {
158863
159027
  }
158864
159028
  describeFeedGenerator(params2, opts) {
158865
159029
  return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
158866
- throw toKnownErr80(e);
159030
+ throw toKnownErr81(e);
158867
159031
  });
158868
159032
  }
158869
159033
  getActorFeeds(params2, opts) {
158870
159034
  return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
158871
- throw toKnownErr81(e);
159035
+ throw toKnownErr82(e);
158872
159036
  });
158873
159037
  }
158874
159038
  getActorLikes(params2, opts) {
158875
159039
  return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
158876
- throw toKnownErr82(e);
159040
+ throw toKnownErr83(e);
158877
159041
  });
158878
159042
  }
158879
159043
  getAuthorFeed(params2, opts) {
158880
159044
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
158881
- throw toKnownErr83(e);
159045
+ throw toKnownErr84(e);
158882
159046
  });
158883
159047
  }
158884
159048
  getFeed(params2, opts) {
158885
159049
  return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
158886
- throw toKnownErr84(e);
159050
+ throw toKnownErr85(e);
158887
159051
  });
158888
159052
  }
158889
159053
  getFeedGenerator(params2, opts) {
158890
159054
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
158891
- throw toKnownErr85(e);
159055
+ throw toKnownErr86(e);
158892
159056
  });
158893
159057
  }
158894
159058
  getFeedGenerators(params2, opts) {
158895
159059
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
158896
- throw toKnownErr86(e);
159060
+ throw toKnownErr87(e);
158897
159061
  });
158898
159062
  }
158899
159063
  getFeedSkeleton(params2, opts) {
158900
159064
  return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
158901
- throw toKnownErr87(e);
159065
+ throw toKnownErr88(e);
158902
159066
  });
158903
159067
  }
158904
159068
  getLikes(params2, opts) {
158905
159069
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
158906
- throw toKnownErr88(e);
159070
+ throw toKnownErr89(e);
158907
159071
  });
158908
159072
  }
158909
159073
  getListFeed(params2, opts) {
158910
159074
  return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
158911
- throw toKnownErr89(e);
159075
+ throw toKnownErr90(e);
158912
159076
  });
158913
159077
  }
158914
159078
  getPostThread(params2, opts) {
158915
159079
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
158916
- throw toKnownErr90(e);
159080
+ throw toKnownErr91(e);
158917
159081
  });
158918
159082
  }
158919
159083
  getPosts(params2, opts) {
158920
159084
  return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
158921
- throw toKnownErr91(e);
159085
+ throw toKnownErr92(e);
158922
159086
  });
158923
159087
  }
158924
159088
  getRepostedBy(params2, opts) {
158925
159089
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
158926
- throw toKnownErr92(e);
159090
+ throw toKnownErr93(e);
158927
159091
  });
158928
159092
  }
158929
159093
  getSuggestedFeeds(params2, opts) {
158930
159094
  return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
158931
- throw toKnownErr93(e);
159095
+ throw toKnownErr94(e);
158932
159096
  });
158933
159097
  }
158934
159098
  getTimeline(params2, opts) {
158935
159099
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
158936
- throw toKnownErr94(e);
159100
+ throw toKnownErr95(e);
158937
159101
  });
158938
159102
  }
158939
159103
  searchPosts(params2, opts) {
158940
159104
  return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
158941
- throw toKnownErr95(e);
159105
+ throw toKnownErr96(e);
158942
159106
  });
158943
159107
  }
158944
159108
  };
@@ -159088,67 +159252,72 @@ var AppBskyGraphNS = class {
159088
159252
  }
159089
159253
  getBlocks(params2, opts) {
159090
159254
  return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
159091
- throw toKnownErr96(e);
159255
+ throw toKnownErr97(e);
159092
159256
  });
159093
159257
  }
159094
159258
  getFollowers(params2, opts) {
159095
159259
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
159096
- throw toKnownErr97(e);
159260
+ throw toKnownErr98(e);
159097
159261
  });
159098
159262
  }
159099
159263
  getFollows(params2, opts) {
159100
159264
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
159101
- throw toKnownErr98(e);
159265
+ throw toKnownErr99(e);
159102
159266
  });
159103
159267
  }
159104
159268
  getList(params2, opts) {
159105
159269
  return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
159106
- throw toKnownErr99(e);
159270
+ throw toKnownErr100(e);
159107
159271
  });
159108
159272
  }
159109
159273
  getListBlocks(params2, opts) {
159110
159274
  return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
159111
- throw toKnownErr100(e);
159275
+ throw toKnownErr101(e);
159112
159276
  });
159113
159277
  }
159114
159278
  getListMutes(params2, opts) {
159115
159279
  return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
159116
- throw toKnownErr101(e);
159280
+ throw toKnownErr102(e);
159117
159281
  });
159118
159282
  }
159119
159283
  getLists(params2, opts) {
159120
159284
  return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
159121
- throw toKnownErr102(e);
159285
+ throw toKnownErr103(e);
159122
159286
  });
159123
159287
  }
159124
159288
  getMutes(params2, opts) {
159125
159289
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
159126
- throw toKnownErr103(e);
159290
+ throw toKnownErr104(e);
159291
+ });
159292
+ }
159293
+ getRelationships(params2, opts) {
159294
+ return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
159295
+ throw toKnownErr105(e);
159127
159296
  });
159128
159297
  }
159129
159298
  getSuggestedFollowsByActor(params2, opts) {
159130
159299
  return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
159131
- throw toKnownErr104(e);
159300
+ throw toKnownErr106(e);
159132
159301
  });
159133
159302
  }
159134
159303
  muteActor(data, opts) {
159135
159304
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
159136
- throw toKnownErr105(e);
159305
+ throw toKnownErr107(e);
159137
159306
  });
159138
159307
  }
159139
159308
  muteActorList(data, opts) {
159140
159309
  return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
159141
- throw toKnownErr106(e);
159310
+ throw toKnownErr108(e);
159142
159311
  });
159143
159312
  }
159144
159313
  unmuteActor(data, opts) {
159145
159314
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
159146
- throw toKnownErr107(e);
159315
+ throw toKnownErr109(e);
159147
159316
  });
159148
159317
  }
159149
159318
  unmuteActorList(data, opts) {
159150
159319
  return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
159151
- throw toKnownErr108(e);
159320
+ throw toKnownErr110(e);
159152
159321
  });
159153
159322
  }
159154
159323
  };
@@ -159293,22 +159462,22 @@ var AppBskyNotificationNS = class {
159293
159462
  }
159294
159463
  getUnreadCount(params2, opts) {
159295
159464
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
159296
- throw toKnownErr109(e);
159465
+ throw toKnownErr111(e);
159297
159466
  });
159298
159467
  }
159299
159468
  listNotifications(params2, opts) {
159300
159469
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
159301
- throw toKnownErr110(e);
159470
+ throw toKnownErr112(e);
159302
159471
  });
159303
159472
  }
159304
159473
  registerPush(data, opts) {
159305
159474
  return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
159306
- throw toKnownErr111(e);
159475
+ throw toKnownErr113(e);
159307
159476
  });
159308
159477
  }
159309
159478
  updateSeen(data, opts) {
159310
159479
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
159311
- throw toKnownErr112(e);
159480
+ throw toKnownErr114(e);
159312
159481
  });
159313
159482
  }
159314
159483
  };
@@ -159323,27 +159492,27 @@ var AppBskyUnspeccedNS = class {
159323
159492
  }
159324
159493
  getPopularFeedGenerators(params2, opts) {
159325
159494
  return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
159326
- throw toKnownErr113(e);
159495
+ throw toKnownErr115(e);
159327
159496
  });
159328
159497
  }
159329
159498
  getTaggedSuggestions(params2, opts) {
159330
159499
  return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
159331
- throw toKnownErr114(e);
159500
+ throw toKnownErr116(e);
159332
159501
  });
159333
159502
  }
159334
159503
  getTimelineSkeleton(params2, opts) {
159335
159504
  return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
159336
- throw toKnownErr115(e);
159505
+ throw toKnownErr117(e);
159337
159506
  });
159338
159507
  }
159339
159508
  searchActorsSkeleton(params2, opts) {
159340
159509
  return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
159341
- throw toKnownErr116(e);
159510
+ throw toKnownErr118(e);
159342
159511
  });
159343
159512
  }
159344
159513
  searchPostsSkeleton(params2, opts) {
159345
159514
  return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
159346
- throw toKnownErr117(e);
159515
+ throw toKnownErr119(e);
159347
159516
  });
159348
159517
  }
159349
159518
  };
@@ -159468,12 +159637,12 @@ var _AtpAgent = class {
159468
159637
  await this._refreshSessionPromise;
159469
159638
  let res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
159470
159639
  if (isErrorResponse(res, ["ExpiredToken"]) && this.session?.refreshJwt) {
159471
- await this._refreshSession();
159640
+ await this.refreshSession();
159472
159641
  res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
159473
159642
  }
159474
159643
  return res;
159475
159644
  }
159476
- async _refreshSession() {
159645
+ async refreshSession() {
159477
159646
  if (this._refreshSessionPromise) {
159478
159647
  return this._refreshSessionPromise;
159479
159648
  }
@@ -165092,6 +165261,34 @@ var schemaDict2 = {
165092
165261
  }
165093
165262
  }
165094
165263
  },
165264
+ ComAtprotoTempCheckSignupQueue: {
165265
+ lexicon: 1,
165266
+ id: "com.atproto.temp.checkSignupQueue",
165267
+ defs: {
165268
+ main: {
165269
+ type: "query",
165270
+ description: "Check accounts location in signup queue.",
165271
+ output: {
165272
+ encoding: "application/json",
165273
+ schema: {
165274
+ type: "object",
165275
+ required: ["activated"],
165276
+ properties: {
165277
+ activated: {
165278
+ type: "boolean"
165279
+ },
165280
+ placeInQueue: {
165281
+ type: "integer"
165282
+ },
165283
+ estimatedTimeMs: {
165284
+ type: "integer"
165285
+ }
165286
+ }
165287
+ }
165288
+ }
165289
+ }
165290
+ }
165291
+ },
165095
165292
  ComAtprotoTempFetchLabels: {
165096
165293
  lexicon: 1,
165097
165294
  id: "com.atproto.temp.fetchLabels",
@@ -165456,7 +165653,8 @@ var schemaDict2 = {
165456
165653
  "lex:app.bsky.actor.defs#savedFeedsPref",
165457
165654
  "lex:app.bsky.actor.defs#personalDetailsPref",
165458
165655
  "lex:app.bsky.actor.defs#feedViewPref",
165459
- "lex:app.bsky.actor.defs#threadViewPref"
165656
+ "lex:app.bsky.actor.defs#threadViewPref",
165657
+ "lex:app.bsky.actor.defs#interestsPref"
165460
165658
  ]
165461
165659
  }
165462
165660
  },
@@ -165556,6 +165754,22 @@ var schemaDict2 = {
165556
165754
  description: "Show followed users at the top of all replies."
165557
165755
  }
165558
165756
  }
165757
+ },
165758
+ interestsPref: {
165759
+ type: "object",
165760
+ required: ["tags"],
165761
+ properties: {
165762
+ tags: {
165763
+ type: "array",
165764
+ maxLength: 100,
165765
+ items: {
165766
+ type: "string",
165767
+ maxLength: 640,
165768
+ maxGraphemes: 64
165769
+ },
165770
+ description: "A list of tags which describe the account owner's interests gathered during onboarding."
165771
+ }
165772
+ }
165559
165773
  }
165560
165774
  }
165561
165775
  },
@@ -167749,6 +167963,42 @@ var schemaDict2 = {
167749
167963
  format: "at-uri"
167750
167964
  }
167751
167965
  }
167966
+ },
167967
+ notFoundActor: {
167968
+ type: "object",
167969
+ description: "indicates that a handle or DID could not be resolved",
167970
+ required: ["actor", "notFound"],
167971
+ properties: {
167972
+ actor: {
167973
+ type: "string",
167974
+ format: "at-identifier"
167975
+ },
167976
+ notFound: {
167977
+ type: "boolean",
167978
+ const: true
167979
+ }
167980
+ }
167981
+ },
167982
+ relationship: {
167983
+ type: "object",
167984
+ description: "lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)",
167985
+ required: ["did"],
167986
+ properties: {
167987
+ did: {
167988
+ type: "string",
167989
+ format: "did"
167990
+ },
167991
+ following: {
167992
+ type: "string",
167993
+ format: "at-uri",
167994
+ description: "if the actor follows this DID, this is the AT-URI of the follow record"
167995
+ },
167996
+ followedBy: {
167997
+ type: "string",
167998
+ format: "at-uri",
167999
+ description: "if the actor is followed by this DID, contains the AT-URI of the follow record"
168000
+ }
168001
+ }
167752
168002
  }
167753
168003
  }
167754
168004
  },
@@ -168153,6 +168403,63 @@ var schemaDict2 = {
168153
168403
  }
168154
168404
  }
168155
168405
  },
168406
+ AppBskyGraphGetRelationships: {
168407
+ lexicon: 1,
168408
+ id: "app.bsky.graph.getRelationships",
168409
+ defs: {
168410
+ main: {
168411
+ type: "query",
168412
+ description: "Enumerates public relationships between one account, and a list of other accounts",
168413
+ parameters: {
168414
+ type: "params",
168415
+ required: ["actor"],
168416
+ properties: {
168417
+ actor: {
168418
+ type: "string",
168419
+ format: "at-identifier"
168420
+ },
168421
+ others: {
168422
+ type: "array",
168423
+ maxLength: 30,
168424
+ items: {
168425
+ type: "string",
168426
+ format: "at-identifier"
168427
+ }
168428
+ }
168429
+ }
168430
+ },
168431
+ output: {
168432
+ encoding: "application/json",
168433
+ schema: {
168434
+ type: "object",
168435
+ required: ["relationships"],
168436
+ properties: {
168437
+ actor: {
168438
+ type: "string",
168439
+ format: "did"
168440
+ },
168441
+ relationships: {
168442
+ type: "array",
168443
+ items: {
168444
+ type: "union",
168445
+ refs: [
168446
+ "lex:app.bsky.graph.defs#relationship",
168447
+ "lex:app.bsky.graph.defs#notFoundActor"
168448
+ ]
168449
+ }
168450
+ }
168451
+ }
168452
+ }
168453
+ },
168454
+ errors: [
168455
+ {
168456
+ name: "ActorNotFound",
168457
+ description: "the primary actor at-identifier could not be resolved"
168458
+ }
168459
+ ]
168460
+ }
168461
+ }
168462
+ },
168156
168463
  AppBskyGraphGetSuggestedFollowsByActor: {
168157
168464
  lexicon: 1,
168158
168465
  id: "app.bsky.graph.getSuggestedFollowsByActor",
@@ -169024,6 +169331,7 @@ var ids = {
169024
169331
  ComAtprotoSyncNotifyOfUpdate: "com.atproto.sync.notifyOfUpdate",
169025
169332
  ComAtprotoSyncRequestCrawl: "com.atproto.sync.requestCrawl",
169026
169333
  ComAtprotoSyncSubscribeRepos: "com.atproto.sync.subscribeRepos",
169334
+ ComAtprotoTempCheckSignupQueue: "com.atproto.temp.checkSignupQueue",
169027
169335
  ComAtprotoTempFetchLabels: "com.atproto.temp.fetchLabels",
169028
169336
  ComAtprotoTempImportRepo: "com.atproto.temp.importRepo",
169029
169337
  ComAtprotoTempPushBlob: "com.atproto.temp.pushBlob",
@@ -169075,6 +169383,7 @@ var ids = {
169075
169383
  AppBskyGraphGetListMutes: "app.bsky.graph.getListMutes",
169076
169384
  AppBskyGraphGetLists: "app.bsky.graph.getLists",
169077
169385
  AppBskyGraphGetMutes: "app.bsky.graph.getMutes",
169386
+ AppBskyGraphGetRelationships: "app.bsky.graph.getRelationships",
169078
169387
  AppBskyGraphGetSuggestedFollowsByActor: "app.bsky.graph.getSuggestedFollowsByActor",
169079
169388
  AppBskyGraphList: "app.bsky.graph.list",
169080
169389
  AppBskyGraphListblock: "app.bsky.graph.listblock",
@@ -170089,6 +170398,56 @@ var CreatedAtDidKeyset = class extends TimeCidKeyset {
170089
170398
  }
170090
170399
  };
170091
170400
 
170401
+ // src/api/app/bsky/graph/getRelationships.ts
170402
+ function getRelationships_default(server, ctx) {
170403
+ server.app.bsky.graph.getRelationships({
170404
+ handler: async ({ params: params2 }) => {
170405
+ const { actor, others = [] } = params2;
170406
+ if (others.length < 1) {
170407
+ return {
170408
+ encoding: "application/json",
170409
+ body: {
170410
+ actor,
170411
+ relationships: []
170412
+ }
170413
+ };
170414
+ }
170415
+ const db = ctx.db.getPrimary();
170416
+ const { ref } = db.db.dynamic;
170417
+ const res = await db.db.selectFrom("actor").select([
170418
+ "actor.did",
170419
+ db.db.selectFrom("follow").where("creator", "=", actor).whereRef("subjectDid", "=", ref("actor.did")).select("uri").as("following"),
170420
+ db.db.selectFrom("follow").whereRef("creator", "=", ref("actor.did")).where("subjectDid", "=", actor).select("uri").as("followedBy")
170421
+ ]).where("actor.did", "in", others).execute();
170422
+ const relationshipsMap = res.reduce((acc, cur) => {
170423
+ return acc.set(cur.did, {
170424
+ did: cur.did,
170425
+ following: cur.following ?? void 0,
170426
+ followedBy: cur.followedBy ?? void 0
170427
+ });
170428
+ }, /* @__PURE__ */ new Map());
170429
+ const relationships = others.map((did2) => {
170430
+ const relationship = relationshipsMap.get(did2);
170431
+ return relationship ? {
170432
+ $type: "app.bsky.graph.defs#relationship",
170433
+ ...relationship
170434
+ } : {
170435
+ $type: "app.bsky.graph.defs#notFoundActor",
170436
+ actor: did2,
170437
+ notFound: true
170438
+ };
170439
+ });
170440
+ return {
170441
+ encoding: "application/json",
170442
+ body: {
170443
+ actor,
170444
+ relationships
170445
+ }
170446
+ };
170447
+ }
170448
+ });
170449
+ }
170450
+
170092
170451
  // src/api/app/bsky/graph/muteActor.ts
170093
170452
  var import_node_assert = __toESM(require("node:assert"));
170094
170453
 
@@ -172048,6 +172407,7 @@ function api_default(server, ctx) {
172048
172407
  getLists_default(server, ctx);
172049
172408
  getListMutes_default(server, ctx);
172050
172409
  getMutes_default(server, ctx);
172410
+ getRelationships_default(server, ctx);
172051
172411
  muteActor_default(server, ctx);
172052
172412
  unmuteActor_default(server, ctx);
172053
172413
  muteActorList_default(server, ctx);
@@ -172427,6 +172787,10 @@ var ComAtprotoTempNS2 = class {
172427
172787
  constructor(server) {
172428
172788
  this._server = server;
172429
172789
  }
172790
+ checkSignupQueue(cfg) {
172791
+ const nsid2 = "com.atproto.temp.checkSignupQueue";
172792
+ return this._server.xrpc.method(nsid2, cfg);
172793
+ }
172430
172794
  fetchLabels(cfg) {
172431
172795
  const nsid2 = "com.atproto.temp.fetchLabels";
172432
172796
  return this._server.xrpc.method(nsid2, cfg);
@@ -172609,6 +172973,10 @@ var AppBskyGraphNS2 = class {
172609
172973
  const nsid2 = "app.bsky.graph.getMutes";
172610
172974
  return this._server.xrpc.method(nsid2, cfg);
172611
172975
  }
172976
+ getRelationships(cfg) {
172977
+ const nsid2 = "app.bsky.graph.getRelationships";
172978
+ return this._server.xrpc.method(nsid2, cfg);
172979
+ }
172612
172980
  getSuggestedFollowsByActor(cfg) {
172613
172981
  const nsid2 = "app.bsky.graph.getSuggestedFollowsByActor";
172614
172982
  return this._server.xrpc.method(nsid2, cfg);