@atproto/bsky 0.0.27 → 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/CHANGELOG.md +7 -0
- package/dist/index.js +208 -135
- package/dist/index.js.map +3 -3
- package/dist/lexicon/index.d.ts +2 -0
- package/dist/lexicon/lexicons.d.ts +29 -0
- package/dist/lexicon/types/com/atproto/temp/checkSignupQueue.d.ts +32 -0
- package/package.json +6 -6
- package/src/lexicon/index.ts +12 -0
- package/src/lexicon/lexicons.ts +29 -0
- package/src/lexicon/types/com/atproto/temp/checkSignupQueue.ts +45 -0
package/dist/index.js
CHANGED
|
@@ -105708,7 +105708,7 @@ var require_headers4 = __commonJS({
|
|
|
105708
105708
|
return headers;
|
|
105709
105709
|
}
|
|
105710
105710
|
};
|
|
105711
|
-
var
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
105865
|
+
webidl.brandCheck(this, Headers123);
|
|
105866
105866
|
return this[kHeadersList];
|
|
105867
105867
|
}
|
|
105868
105868
|
};
|
|
105869
|
-
|
|
105870
|
-
Object.defineProperties(
|
|
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:
|
|
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:
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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:
|
|
109491
|
+
var { Headers: Headers123 } = require_headers4();
|
|
109492
109492
|
function getCookies(headers) {
|
|
109493
109493
|
webidl.argumentLengthCheck(arguments, 1, { header: "getCookies" });
|
|
109494
|
-
webidl.brandCheck(headers,
|
|
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,
|
|
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,
|
|
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,
|
|
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:
|
|
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
|
|
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",
|
|
@@ -157943,34 +157971,41 @@ function toKnownErr67(e) {
|
|
|
157943
157971
|
return e;
|
|
157944
157972
|
}
|
|
157945
157973
|
|
|
157946
|
-
// ../api/src/client/types/com/atproto/temp/
|
|
157974
|
+
// ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
|
|
157947
157975
|
function toKnownErr68(e) {
|
|
157948
157976
|
if (e instanceof XRPCError) {
|
|
157949
157977
|
}
|
|
157950
157978
|
return e;
|
|
157951
157979
|
}
|
|
157952
157980
|
|
|
157953
|
-
// ../api/src/client/types/com/atproto/temp/
|
|
157981
|
+
// ../api/src/client/types/com/atproto/temp/fetchLabels.ts
|
|
157954
157982
|
function toKnownErr69(e) {
|
|
157955
157983
|
if (e instanceof XRPCError) {
|
|
157956
157984
|
}
|
|
157957
157985
|
return e;
|
|
157958
157986
|
}
|
|
157959
157987
|
|
|
157960
|
-
// ../api/src/client/types/com/atproto/temp/
|
|
157988
|
+
// ../api/src/client/types/com/atproto/temp/importRepo.ts
|
|
157961
157989
|
function toKnownErr70(e) {
|
|
157962
157990
|
if (e instanceof XRPCError) {
|
|
157963
157991
|
}
|
|
157964
157992
|
return e;
|
|
157965
157993
|
}
|
|
157966
157994
|
|
|
157967
|
-
// ../api/src/client/types/com/atproto/temp/
|
|
157995
|
+
// ../api/src/client/types/com/atproto/temp/pushBlob.ts
|
|
157968
157996
|
function toKnownErr71(e) {
|
|
157969
157997
|
if (e instanceof XRPCError) {
|
|
157970
157998
|
}
|
|
157971
157999
|
return e;
|
|
157972
158000
|
}
|
|
157973
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
|
+
|
|
157974
158009
|
// ../api/src/client/types/com/atproto/temp/transferAccount.ts
|
|
157975
158010
|
var InvalidHandleError3 = class extends XRPCError {
|
|
157976
158011
|
constructor(src3) {
|
|
@@ -158007,7 +158042,7 @@ var IncompatibleDidDocError2 = class extends XRPCError {
|
|
|
158007
158042
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158008
158043
|
}
|
|
158009
158044
|
};
|
|
158010
|
-
function
|
|
158045
|
+
function toKnownErr73(e) {
|
|
158011
158046
|
if (e instanceof XRPCError) {
|
|
158012
158047
|
if (e.error === "InvalidHandle")
|
|
158013
158048
|
return new InvalidHandleError3(e);
|
|
@@ -158028,63 +158063,63 @@ function toKnownErr72(e) {
|
|
|
158028
158063
|
}
|
|
158029
158064
|
|
|
158030
158065
|
// ../api/src/client/types/app/bsky/actor/getPreferences.ts
|
|
158031
|
-
function
|
|
158066
|
+
function toKnownErr74(e) {
|
|
158032
158067
|
if (e instanceof XRPCError) {
|
|
158033
158068
|
}
|
|
158034
158069
|
return e;
|
|
158035
158070
|
}
|
|
158036
158071
|
|
|
158037
158072
|
// ../api/src/client/types/app/bsky/actor/getProfile.ts
|
|
158038
|
-
function
|
|
158073
|
+
function toKnownErr75(e) {
|
|
158039
158074
|
if (e instanceof XRPCError) {
|
|
158040
158075
|
}
|
|
158041
158076
|
return e;
|
|
158042
158077
|
}
|
|
158043
158078
|
|
|
158044
158079
|
// ../api/src/client/types/app/bsky/actor/getProfiles.ts
|
|
158045
|
-
function
|
|
158080
|
+
function toKnownErr76(e) {
|
|
158046
158081
|
if (e instanceof XRPCError) {
|
|
158047
158082
|
}
|
|
158048
158083
|
return e;
|
|
158049
158084
|
}
|
|
158050
158085
|
|
|
158051
158086
|
// ../api/src/client/types/app/bsky/actor/getSuggestions.ts
|
|
158052
|
-
function
|
|
158087
|
+
function toKnownErr77(e) {
|
|
158053
158088
|
if (e instanceof XRPCError) {
|
|
158054
158089
|
}
|
|
158055
158090
|
return e;
|
|
158056
158091
|
}
|
|
158057
158092
|
|
|
158058
158093
|
// ../api/src/client/types/app/bsky/actor/putPreferences.ts
|
|
158059
|
-
function
|
|
158094
|
+
function toKnownErr78(e) {
|
|
158060
158095
|
if (e instanceof XRPCError) {
|
|
158061
158096
|
}
|
|
158062
158097
|
return e;
|
|
158063
158098
|
}
|
|
158064
158099
|
|
|
158065
158100
|
// ../api/src/client/types/app/bsky/actor/searchActors.ts
|
|
158066
|
-
function
|
|
158101
|
+
function toKnownErr79(e) {
|
|
158067
158102
|
if (e instanceof XRPCError) {
|
|
158068
158103
|
}
|
|
158069
158104
|
return e;
|
|
158070
158105
|
}
|
|
158071
158106
|
|
|
158072
158107
|
// ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
158073
|
-
function
|
|
158108
|
+
function toKnownErr80(e) {
|
|
158074
158109
|
if (e instanceof XRPCError) {
|
|
158075
158110
|
}
|
|
158076
158111
|
return e;
|
|
158077
158112
|
}
|
|
158078
158113
|
|
|
158079
158114
|
// ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
|
|
158080
|
-
function
|
|
158115
|
+
function toKnownErr81(e) {
|
|
158081
158116
|
if (e instanceof XRPCError) {
|
|
158082
158117
|
}
|
|
158083
158118
|
return e;
|
|
158084
158119
|
}
|
|
158085
158120
|
|
|
158086
158121
|
// ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
158087
|
-
function
|
|
158122
|
+
function toKnownErr82(e) {
|
|
158088
158123
|
if (e instanceof XRPCError) {
|
|
158089
158124
|
}
|
|
158090
158125
|
return e;
|
|
@@ -158101,7 +158136,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
158101
158136
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158102
158137
|
}
|
|
158103
158138
|
};
|
|
158104
|
-
function
|
|
158139
|
+
function toKnownErr83(e) {
|
|
158105
158140
|
if (e instanceof XRPCError) {
|
|
158106
158141
|
if (e.error === "BlockedActor")
|
|
158107
158142
|
return new BlockedActorError(e);
|
|
@@ -158122,7 +158157,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
158122
158157
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158123
158158
|
}
|
|
158124
158159
|
};
|
|
158125
|
-
function
|
|
158160
|
+
function toKnownErr84(e) {
|
|
158126
158161
|
if (e instanceof XRPCError) {
|
|
158127
158162
|
if (e.error === "BlockedActor")
|
|
158128
158163
|
return new BlockedActorError2(e);
|
|
@@ -158138,7 +158173,7 @@ var UnknownFeedError = class extends XRPCError {
|
|
|
158138
158173
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158139
158174
|
}
|
|
158140
158175
|
};
|
|
158141
|
-
function
|
|
158176
|
+
function toKnownErr85(e) {
|
|
158142
158177
|
if (e instanceof XRPCError) {
|
|
158143
158178
|
if (e.error === "UnknownFeed")
|
|
158144
158179
|
return new UnknownFeedError(e);
|
|
@@ -158147,14 +158182,14 @@ function toKnownErr84(e) {
|
|
|
158147
158182
|
}
|
|
158148
158183
|
|
|
158149
158184
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
158150
|
-
function
|
|
158185
|
+
function toKnownErr86(e) {
|
|
158151
158186
|
if (e instanceof XRPCError) {
|
|
158152
158187
|
}
|
|
158153
158188
|
return e;
|
|
158154
158189
|
}
|
|
158155
158190
|
|
|
158156
158191
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
158157
|
-
function
|
|
158192
|
+
function toKnownErr87(e) {
|
|
158158
158193
|
if (e instanceof XRPCError) {
|
|
158159
158194
|
}
|
|
158160
158195
|
return e;
|
|
@@ -158164,14 +158199,14 @@ function toKnownErr86(e) {
|
|
|
158164
158199
|
var getFeedSkeleton_exports = {};
|
|
158165
158200
|
__export(getFeedSkeleton_exports, {
|
|
158166
158201
|
UnknownFeedError: () => UnknownFeedError2,
|
|
158167
|
-
toKnownErr: () =>
|
|
158202
|
+
toKnownErr: () => toKnownErr88
|
|
158168
158203
|
});
|
|
158169
158204
|
var UnknownFeedError2 = class extends XRPCError {
|
|
158170
158205
|
constructor(src3) {
|
|
158171
158206
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158172
158207
|
}
|
|
158173
158208
|
};
|
|
158174
|
-
function
|
|
158209
|
+
function toKnownErr88(e) {
|
|
158175
158210
|
if (e instanceof XRPCError) {
|
|
158176
158211
|
if (e.error === "UnknownFeed")
|
|
158177
158212
|
return new UnknownFeedError2(e);
|
|
@@ -158180,7 +158215,7 @@ function toKnownErr87(e) {
|
|
|
158180
158215
|
}
|
|
158181
158216
|
|
|
158182
158217
|
// ../api/src/client/types/app/bsky/feed/getLikes.ts
|
|
158183
|
-
function
|
|
158218
|
+
function toKnownErr89(e) {
|
|
158184
158219
|
if (e instanceof XRPCError) {
|
|
158185
158220
|
}
|
|
158186
158221
|
return e;
|
|
@@ -158192,7 +158227,7 @@ var UnknownListError = class extends XRPCError {
|
|
|
158192
158227
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158193
158228
|
}
|
|
158194
158229
|
};
|
|
158195
|
-
function
|
|
158230
|
+
function toKnownErr90(e) {
|
|
158196
158231
|
if (e instanceof XRPCError) {
|
|
158197
158232
|
if (e.error === "UnknownList")
|
|
158198
158233
|
return new UnknownListError(e);
|
|
@@ -158206,7 +158241,7 @@ var NotFoundError = class extends XRPCError {
|
|
|
158206
158241
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158207
158242
|
}
|
|
158208
158243
|
};
|
|
158209
|
-
function
|
|
158244
|
+
function toKnownErr91(e) {
|
|
158210
158245
|
if (e instanceof XRPCError) {
|
|
158211
158246
|
if (e.error === "NotFound")
|
|
158212
158247
|
return new NotFoundError(e);
|
|
@@ -158215,28 +158250,28 @@ function toKnownErr90(e) {
|
|
|
158215
158250
|
}
|
|
158216
158251
|
|
|
158217
158252
|
// ../api/src/client/types/app/bsky/feed/getPosts.ts
|
|
158218
|
-
function
|
|
158253
|
+
function toKnownErr92(e) {
|
|
158219
158254
|
if (e instanceof XRPCError) {
|
|
158220
158255
|
}
|
|
158221
158256
|
return e;
|
|
158222
158257
|
}
|
|
158223
158258
|
|
|
158224
158259
|
// ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
158225
|
-
function
|
|
158260
|
+
function toKnownErr93(e) {
|
|
158226
158261
|
if (e instanceof XRPCError) {
|
|
158227
158262
|
}
|
|
158228
158263
|
return e;
|
|
158229
158264
|
}
|
|
158230
158265
|
|
|
158231
158266
|
// ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
158232
|
-
function
|
|
158267
|
+
function toKnownErr94(e) {
|
|
158233
158268
|
if (e instanceof XRPCError) {
|
|
158234
158269
|
}
|
|
158235
158270
|
return e;
|
|
158236
158271
|
}
|
|
158237
158272
|
|
|
158238
158273
|
// ../api/src/client/types/app/bsky/feed/getTimeline.ts
|
|
158239
|
-
function
|
|
158274
|
+
function toKnownErr95(e) {
|
|
158240
158275
|
if (e instanceof XRPCError) {
|
|
158241
158276
|
}
|
|
158242
158277
|
return e;
|
|
@@ -158248,7 +158283,7 @@ var BadQueryStringError = class extends XRPCError {
|
|
|
158248
158283
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158249
158284
|
}
|
|
158250
158285
|
};
|
|
158251
|
-
function
|
|
158286
|
+
function toKnownErr96(e) {
|
|
158252
158287
|
if (e instanceof XRPCError) {
|
|
158253
158288
|
if (e.error === "BadQueryString")
|
|
158254
158289
|
return new BadQueryStringError(e);
|
|
@@ -158257,56 +158292,56 @@ function toKnownErr95(e) {
|
|
|
158257
158292
|
}
|
|
158258
158293
|
|
|
158259
158294
|
// ../api/src/client/types/app/bsky/graph/getBlocks.ts
|
|
158260
|
-
function
|
|
158295
|
+
function toKnownErr97(e) {
|
|
158261
158296
|
if (e instanceof XRPCError) {
|
|
158262
158297
|
}
|
|
158263
158298
|
return e;
|
|
158264
158299
|
}
|
|
158265
158300
|
|
|
158266
158301
|
// ../api/src/client/types/app/bsky/graph/getFollowers.ts
|
|
158267
|
-
function
|
|
158302
|
+
function toKnownErr98(e) {
|
|
158268
158303
|
if (e instanceof XRPCError) {
|
|
158269
158304
|
}
|
|
158270
158305
|
return e;
|
|
158271
158306
|
}
|
|
158272
158307
|
|
|
158273
158308
|
// ../api/src/client/types/app/bsky/graph/getFollows.ts
|
|
158274
|
-
function
|
|
158309
|
+
function toKnownErr99(e) {
|
|
158275
158310
|
if (e instanceof XRPCError) {
|
|
158276
158311
|
}
|
|
158277
158312
|
return e;
|
|
158278
158313
|
}
|
|
158279
158314
|
|
|
158280
158315
|
// ../api/src/client/types/app/bsky/graph/getList.ts
|
|
158281
|
-
function
|
|
158316
|
+
function toKnownErr100(e) {
|
|
158282
158317
|
if (e instanceof XRPCError) {
|
|
158283
158318
|
}
|
|
158284
158319
|
return e;
|
|
158285
158320
|
}
|
|
158286
158321
|
|
|
158287
158322
|
// ../api/src/client/types/app/bsky/graph/getListBlocks.ts
|
|
158288
|
-
function
|
|
158323
|
+
function toKnownErr101(e) {
|
|
158289
158324
|
if (e instanceof XRPCError) {
|
|
158290
158325
|
}
|
|
158291
158326
|
return e;
|
|
158292
158327
|
}
|
|
158293
158328
|
|
|
158294
158329
|
// ../api/src/client/types/app/bsky/graph/getListMutes.ts
|
|
158295
|
-
function
|
|
158330
|
+
function toKnownErr102(e) {
|
|
158296
158331
|
if (e instanceof XRPCError) {
|
|
158297
158332
|
}
|
|
158298
158333
|
return e;
|
|
158299
158334
|
}
|
|
158300
158335
|
|
|
158301
158336
|
// ../api/src/client/types/app/bsky/graph/getLists.ts
|
|
158302
|
-
function
|
|
158337
|
+
function toKnownErr103(e) {
|
|
158303
158338
|
if (e instanceof XRPCError) {
|
|
158304
158339
|
}
|
|
158305
158340
|
return e;
|
|
158306
158341
|
}
|
|
158307
158342
|
|
|
158308
158343
|
// ../api/src/client/types/app/bsky/graph/getMutes.ts
|
|
158309
|
-
function
|
|
158344
|
+
function toKnownErr104(e) {
|
|
158310
158345
|
if (e instanceof XRPCError) {
|
|
158311
158346
|
}
|
|
158312
158347
|
return e;
|
|
@@ -158318,7 +158353,7 @@ var ActorNotFoundError = class extends XRPCError {
|
|
|
158318
158353
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158319
158354
|
}
|
|
158320
158355
|
};
|
|
158321
|
-
function
|
|
158356
|
+
function toKnownErr105(e) {
|
|
158322
158357
|
if (e instanceof XRPCError) {
|
|
158323
158358
|
if (e.error === "ActorNotFound")
|
|
158324
158359
|
return new ActorNotFoundError(e);
|
|
@@ -158327,77 +158362,77 @@ function toKnownErr104(e) {
|
|
|
158327
158362
|
}
|
|
158328
158363
|
|
|
158329
158364
|
// ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
158330
|
-
function
|
|
158365
|
+
function toKnownErr106(e) {
|
|
158331
158366
|
if (e instanceof XRPCError) {
|
|
158332
158367
|
}
|
|
158333
158368
|
return e;
|
|
158334
158369
|
}
|
|
158335
158370
|
|
|
158336
158371
|
// ../api/src/client/types/app/bsky/graph/muteActor.ts
|
|
158337
|
-
function
|
|
158372
|
+
function toKnownErr107(e) {
|
|
158338
158373
|
if (e instanceof XRPCError) {
|
|
158339
158374
|
}
|
|
158340
158375
|
return e;
|
|
158341
158376
|
}
|
|
158342
158377
|
|
|
158343
158378
|
// ../api/src/client/types/app/bsky/graph/muteActorList.ts
|
|
158344
|
-
function
|
|
158379
|
+
function toKnownErr108(e) {
|
|
158345
158380
|
if (e instanceof XRPCError) {
|
|
158346
158381
|
}
|
|
158347
158382
|
return e;
|
|
158348
158383
|
}
|
|
158349
158384
|
|
|
158350
158385
|
// ../api/src/client/types/app/bsky/graph/unmuteActor.ts
|
|
158351
|
-
function
|
|
158386
|
+
function toKnownErr109(e) {
|
|
158352
158387
|
if (e instanceof XRPCError) {
|
|
158353
158388
|
}
|
|
158354
158389
|
return e;
|
|
158355
158390
|
}
|
|
158356
158391
|
|
|
158357
158392
|
// ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
158358
|
-
function
|
|
158393
|
+
function toKnownErr110(e) {
|
|
158359
158394
|
if (e instanceof XRPCError) {
|
|
158360
158395
|
}
|
|
158361
158396
|
return e;
|
|
158362
158397
|
}
|
|
158363
158398
|
|
|
158364
158399
|
// ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
158365
|
-
function
|
|
158400
|
+
function toKnownErr111(e) {
|
|
158366
158401
|
if (e instanceof XRPCError) {
|
|
158367
158402
|
}
|
|
158368
158403
|
return e;
|
|
158369
158404
|
}
|
|
158370
158405
|
|
|
158371
158406
|
// ../api/src/client/types/app/bsky/notification/listNotifications.ts
|
|
158372
|
-
function
|
|
158407
|
+
function toKnownErr112(e) {
|
|
158373
158408
|
if (e instanceof XRPCError) {
|
|
158374
158409
|
}
|
|
158375
158410
|
return e;
|
|
158376
158411
|
}
|
|
158377
158412
|
|
|
158378
158413
|
// ../api/src/client/types/app/bsky/notification/registerPush.ts
|
|
158379
|
-
function
|
|
158414
|
+
function toKnownErr113(e) {
|
|
158380
158415
|
if (e instanceof XRPCError) {
|
|
158381
158416
|
}
|
|
158382
158417
|
return e;
|
|
158383
158418
|
}
|
|
158384
158419
|
|
|
158385
158420
|
// ../api/src/client/types/app/bsky/notification/updateSeen.ts
|
|
158386
|
-
function
|
|
158421
|
+
function toKnownErr114(e) {
|
|
158387
158422
|
if (e instanceof XRPCError) {
|
|
158388
158423
|
}
|
|
158389
158424
|
return e;
|
|
158390
158425
|
}
|
|
158391
158426
|
|
|
158392
158427
|
// ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
158393
|
-
function
|
|
158428
|
+
function toKnownErr115(e) {
|
|
158394
158429
|
if (e instanceof XRPCError) {
|
|
158395
158430
|
}
|
|
158396
158431
|
return e;
|
|
158397
158432
|
}
|
|
158398
158433
|
|
|
158399
158434
|
// ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
|
|
158400
|
-
function
|
|
158435
|
+
function toKnownErr116(e) {
|
|
158401
158436
|
if (e instanceof XRPCError) {
|
|
158402
158437
|
}
|
|
158403
158438
|
return e;
|
|
@@ -158409,7 +158444,7 @@ var UnknownFeedError3 = class extends XRPCError {
|
|
|
158409
158444
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158410
158445
|
}
|
|
158411
158446
|
};
|
|
158412
|
-
function
|
|
158447
|
+
function toKnownErr117(e) {
|
|
158413
158448
|
if (e instanceof XRPCError) {
|
|
158414
158449
|
if (e.error === "UnknownFeed")
|
|
158415
158450
|
return new UnknownFeedError3(e);
|
|
@@ -158423,7 +158458,7 @@ var BadQueryStringError2 = class extends XRPCError {
|
|
|
158423
158458
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158424
158459
|
}
|
|
158425
158460
|
};
|
|
158426
|
-
function
|
|
158461
|
+
function toKnownErr118(e) {
|
|
158427
158462
|
if (e instanceof XRPCError) {
|
|
158428
158463
|
if (e.error === "BadQueryString")
|
|
158429
158464
|
return new BadQueryStringError2(e);
|
|
@@ -158437,7 +158472,7 @@ var BadQueryStringError3 = class extends XRPCError {
|
|
|
158437
158472
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158438
158473
|
}
|
|
158439
158474
|
};
|
|
158440
|
-
function
|
|
158475
|
+
function toKnownErr119(e) {
|
|
158441
158476
|
if (e instanceof XRPCError) {
|
|
158442
158477
|
if (e.error === "BadQueryString")
|
|
158443
158478
|
return new BadQueryStringError3(e);
|
|
@@ -158859,29 +158894,34 @@ var ComAtprotoTempNS = class {
|
|
|
158859
158894
|
constructor(service2) {
|
|
158860
158895
|
this._service = service2;
|
|
158861
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
|
+
}
|
|
158862
158902
|
fetchLabels(params2, opts) {
|
|
158863
158903
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
158864
|
-
throw
|
|
158904
|
+
throw toKnownErr69(e);
|
|
158865
158905
|
});
|
|
158866
158906
|
}
|
|
158867
158907
|
importRepo(data, opts) {
|
|
158868
158908
|
return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
158869
|
-
throw
|
|
158909
|
+
throw toKnownErr70(e);
|
|
158870
158910
|
});
|
|
158871
158911
|
}
|
|
158872
158912
|
pushBlob(data, opts) {
|
|
158873
158913
|
return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
|
|
158874
|
-
throw
|
|
158914
|
+
throw toKnownErr71(e);
|
|
158875
158915
|
});
|
|
158876
158916
|
}
|
|
158877
158917
|
requestPhoneVerification(data, opts) {
|
|
158878
158918
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
158879
|
-
throw
|
|
158919
|
+
throw toKnownErr72(e);
|
|
158880
158920
|
});
|
|
158881
158921
|
}
|
|
158882
158922
|
transferAccount(data, opts) {
|
|
158883
158923
|
return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
|
|
158884
|
-
throw
|
|
158924
|
+
throw toKnownErr73(e);
|
|
158885
158925
|
});
|
|
158886
158926
|
}
|
|
158887
158927
|
};
|
|
@@ -158910,37 +158950,37 @@ var AppBskyActorNS = class {
|
|
|
158910
158950
|
}
|
|
158911
158951
|
getPreferences(params2, opts) {
|
|
158912
158952
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
158913
|
-
throw
|
|
158953
|
+
throw toKnownErr74(e);
|
|
158914
158954
|
});
|
|
158915
158955
|
}
|
|
158916
158956
|
getProfile(params2, opts) {
|
|
158917
158957
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
158918
|
-
throw
|
|
158958
|
+
throw toKnownErr75(e);
|
|
158919
158959
|
});
|
|
158920
158960
|
}
|
|
158921
158961
|
getProfiles(params2, opts) {
|
|
158922
158962
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
158923
|
-
throw
|
|
158963
|
+
throw toKnownErr76(e);
|
|
158924
158964
|
});
|
|
158925
158965
|
}
|
|
158926
158966
|
getSuggestions(params2, opts) {
|
|
158927
158967
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
158928
|
-
throw
|
|
158968
|
+
throw toKnownErr77(e);
|
|
158929
158969
|
});
|
|
158930
158970
|
}
|
|
158931
158971
|
putPreferences(data, opts) {
|
|
158932
158972
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
158933
|
-
throw
|
|
158973
|
+
throw toKnownErr78(e);
|
|
158934
158974
|
});
|
|
158935
158975
|
}
|
|
158936
158976
|
searchActors(params2, opts) {
|
|
158937
158977
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
158938
|
-
throw
|
|
158978
|
+
throw toKnownErr79(e);
|
|
158939
158979
|
});
|
|
158940
158980
|
}
|
|
158941
158981
|
searchActorsTypeahead(params2, opts) {
|
|
158942
158982
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
158943
|
-
throw
|
|
158983
|
+
throw toKnownErr80(e);
|
|
158944
158984
|
});
|
|
158945
158985
|
}
|
|
158946
158986
|
};
|
|
@@ -158987,82 +159027,82 @@ var AppBskyFeedNS = class {
|
|
|
158987
159027
|
}
|
|
158988
159028
|
describeFeedGenerator(params2, opts) {
|
|
158989
159029
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
158990
|
-
throw
|
|
159030
|
+
throw toKnownErr81(e);
|
|
158991
159031
|
});
|
|
158992
159032
|
}
|
|
158993
159033
|
getActorFeeds(params2, opts) {
|
|
158994
159034
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
158995
|
-
throw
|
|
159035
|
+
throw toKnownErr82(e);
|
|
158996
159036
|
});
|
|
158997
159037
|
}
|
|
158998
159038
|
getActorLikes(params2, opts) {
|
|
158999
159039
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
159000
|
-
throw
|
|
159040
|
+
throw toKnownErr83(e);
|
|
159001
159041
|
});
|
|
159002
159042
|
}
|
|
159003
159043
|
getAuthorFeed(params2, opts) {
|
|
159004
159044
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
159005
|
-
throw
|
|
159045
|
+
throw toKnownErr84(e);
|
|
159006
159046
|
});
|
|
159007
159047
|
}
|
|
159008
159048
|
getFeed(params2, opts) {
|
|
159009
159049
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
159010
|
-
throw
|
|
159050
|
+
throw toKnownErr85(e);
|
|
159011
159051
|
});
|
|
159012
159052
|
}
|
|
159013
159053
|
getFeedGenerator(params2, opts) {
|
|
159014
159054
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
159015
|
-
throw
|
|
159055
|
+
throw toKnownErr86(e);
|
|
159016
159056
|
});
|
|
159017
159057
|
}
|
|
159018
159058
|
getFeedGenerators(params2, opts) {
|
|
159019
159059
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
159020
|
-
throw
|
|
159060
|
+
throw toKnownErr87(e);
|
|
159021
159061
|
});
|
|
159022
159062
|
}
|
|
159023
159063
|
getFeedSkeleton(params2, opts) {
|
|
159024
159064
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
159025
|
-
throw
|
|
159065
|
+
throw toKnownErr88(e);
|
|
159026
159066
|
});
|
|
159027
159067
|
}
|
|
159028
159068
|
getLikes(params2, opts) {
|
|
159029
159069
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
159030
|
-
throw
|
|
159070
|
+
throw toKnownErr89(e);
|
|
159031
159071
|
});
|
|
159032
159072
|
}
|
|
159033
159073
|
getListFeed(params2, opts) {
|
|
159034
159074
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
159035
|
-
throw
|
|
159075
|
+
throw toKnownErr90(e);
|
|
159036
159076
|
});
|
|
159037
159077
|
}
|
|
159038
159078
|
getPostThread(params2, opts) {
|
|
159039
159079
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
159040
|
-
throw
|
|
159080
|
+
throw toKnownErr91(e);
|
|
159041
159081
|
});
|
|
159042
159082
|
}
|
|
159043
159083
|
getPosts(params2, opts) {
|
|
159044
159084
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
159045
|
-
throw
|
|
159085
|
+
throw toKnownErr92(e);
|
|
159046
159086
|
});
|
|
159047
159087
|
}
|
|
159048
159088
|
getRepostedBy(params2, opts) {
|
|
159049
159089
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
159050
|
-
throw
|
|
159090
|
+
throw toKnownErr93(e);
|
|
159051
159091
|
});
|
|
159052
159092
|
}
|
|
159053
159093
|
getSuggestedFeeds(params2, opts) {
|
|
159054
159094
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
159055
|
-
throw
|
|
159095
|
+
throw toKnownErr94(e);
|
|
159056
159096
|
});
|
|
159057
159097
|
}
|
|
159058
159098
|
getTimeline(params2, opts) {
|
|
159059
159099
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
159060
|
-
throw
|
|
159100
|
+
throw toKnownErr95(e);
|
|
159061
159101
|
});
|
|
159062
159102
|
}
|
|
159063
159103
|
searchPosts(params2, opts) {
|
|
159064
159104
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
159065
|
-
throw
|
|
159105
|
+
throw toKnownErr96(e);
|
|
159066
159106
|
});
|
|
159067
159107
|
}
|
|
159068
159108
|
};
|
|
@@ -159212,72 +159252,72 @@ var AppBskyGraphNS = class {
|
|
|
159212
159252
|
}
|
|
159213
159253
|
getBlocks(params2, opts) {
|
|
159214
159254
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
159215
|
-
throw
|
|
159255
|
+
throw toKnownErr97(e);
|
|
159216
159256
|
});
|
|
159217
159257
|
}
|
|
159218
159258
|
getFollowers(params2, opts) {
|
|
159219
159259
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
159220
|
-
throw
|
|
159260
|
+
throw toKnownErr98(e);
|
|
159221
159261
|
});
|
|
159222
159262
|
}
|
|
159223
159263
|
getFollows(params2, opts) {
|
|
159224
159264
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
159225
|
-
throw
|
|
159265
|
+
throw toKnownErr99(e);
|
|
159226
159266
|
});
|
|
159227
159267
|
}
|
|
159228
159268
|
getList(params2, opts) {
|
|
159229
159269
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
159230
|
-
throw
|
|
159270
|
+
throw toKnownErr100(e);
|
|
159231
159271
|
});
|
|
159232
159272
|
}
|
|
159233
159273
|
getListBlocks(params2, opts) {
|
|
159234
159274
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
159235
|
-
throw
|
|
159275
|
+
throw toKnownErr101(e);
|
|
159236
159276
|
});
|
|
159237
159277
|
}
|
|
159238
159278
|
getListMutes(params2, opts) {
|
|
159239
159279
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
159240
|
-
throw
|
|
159280
|
+
throw toKnownErr102(e);
|
|
159241
159281
|
});
|
|
159242
159282
|
}
|
|
159243
159283
|
getLists(params2, opts) {
|
|
159244
159284
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
159245
|
-
throw
|
|
159285
|
+
throw toKnownErr103(e);
|
|
159246
159286
|
});
|
|
159247
159287
|
}
|
|
159248
159288
|
getMutes(params2, opts) {
|
|
159249
159289
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
159250
|
-
throw
|
|
159290
|
+
throw toKnownErr104(e);
|
|
159251
159291
|
});
|
|
159252
159292
|
}
|
|
159253
159293
|
getRelationships(params2, opts) {
|
|
159254
159294
|
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
159255
|
-
throw
|
|
159295
|
+
throw toKnownErr105(e);
|
|
159256
159296
|
});
|
|
159257
159297
|
}
|
|
159258
159298
|
getSuggestedFollowsByActor(params2, opts) {
|
|
159259
159299
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
159260
|
-
throw
|
|
159300
|
+
throw toKnownErr106(e);
|
|
159261
159301
|
});
|
|
159262
159302
|
}
|
|
159263
159303
|
muteActor(data, opts) {
|
|
159264
159304
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
159265
|
-
throw
|
|
159305
|
+
throw toKnownErr107(e);
|
|
159266
159306
|
});
|
|
159267
159307
|
}
|
|
159268
159308
|
muteActorList(data, opts) {
|
|
159269
159309
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
159270
|
-
throw
|
|
159310
|
+
throw toKnownErr108(e);
|
|
159271
159311
|
});
|
|
159272
159312
|
}
|
|
159273
159313
|
unmuteActor(data, opts) {
|
|
159274
159314
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
159275
|
-
throw
|
|
159315
|
+
throw toKnownErr109(e);
|
|
159276
159316
|
});
|
|
159277
159317
|
}
|
|
159278
159318
|
unmuteActorList(data, opts) {
|
|
159279
159319
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
159280
|
-
throw
|
|
159320
|
+
throw toKnownErr110(e);
|
|
159281
159321
|
});
|
|
159282
159322
|
}
|
|
159283
159323
|
};
|
|
@@ -159422,22 +159462,22 @@ var AppBskyNotificationNS = class {
|
|
|
159422
159462
|
}
|
|
159423
159463
|
getUnreadCount(params2, opts) {
|
|
159424
159464
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
159425
|
-
throw
|
|
159465
|
+
throw toKnownErr111(e);
|
|
159426
159466
|
});
|
|
159427
159467
|
}
|
|
159428
159468
|
listNotifications(params2, opts) {
|
|
159429
159469
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
159430
|
-
throw
|
|
159470
|
+
throw toKnownErr112(e);
|
|
159431
159471
|
});
|
|
159432
159472
|
}
|
|
159433
159473
|
registerPush(data, opts) {
|
|
159434
159474
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
159435
|
-
throw
|
|
159475
|
+
throw toKnownErr113(e);
|
|
159436
159476
|
});
|
|
159437
159477
|
}
|
|
159438
159478
|
updateSeen(data, opts) {
|
|
159439
159479
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
159440
|
-
throw
|
|
159480
|
+
throw toKnownErr114(e);
|
|
159441
159481
|
});
|
|
159442
159482
|
}
|
|
159443
159483
|
};
|
|
@@ -159452,27 +159492,27 @@ var AppBskyUnspeccedNS = class {
|
|
|
159452
159492
|
}
|
|
159453
159493
|
getPopularFeedGenerators(params2, opts) {
|
|
159454
159494
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
159455
|
-
throw
|
|
159495
|
+
throw toKnownErr115(e);
|
|
159456
159496
|
});
|
|
159457
159497
|
}
|
|
159458
159498
|
getTaggedSuggestions(params2, opts) {
|
|
159459
159499
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
159460
|
-
throw
|
|
159500
|
+
throw toKnownErr116(e);
|
|
159461
159501
|
});
|
|
159462
159502
|
}
|
|
159463
159503
|
getTimelineSkeleton(params2, opts) {
|
|
159464
159504
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
159465
|
-
throw
|
|
159505
|
+
throw toKnownErr117(e);
|
|
159466
159506
|
});
|
|
159467
159507
|
}
|
|
159468
159508
|
searchActorsSkeleton(params2, opts) {
|
|
159469
159509
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
159470
|
-
throw
|
|
159510
|
+
throw toKnownErr118(e);
|
|
159471
159511
|
});
|
|
159472
159512
|
}
|
|
159473
159513
|
searchPostsSkeleton(params2, opts) {
|
|
159474
159514
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
159475
|
-
throw
|
|
159515
|
+
throw toKnownErr119(e);
|
|
159476
159516
|
});
|
|
159477
159517
|
}
|
|
159478
159518
|
};
|
|
@@ -159597,12 +159637,12 @@ var _AtpAgent = class {
|
|
|
159597
159637
|
await this._refreshSessionPromise;
|
|
159598
159638
|
let res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
|
|
159599
159639
|
if (isErrorResponse(res, ["ExpiredToken"]) && this.session?.refreshJwt) {
|
|
159600
|
-
await this.
|
|
159640
|
+
await this.refreshSession();
|
|
159601
159641
|
res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
|
|
159602
159642
|
}
|
|
159603
159643
|
return res;
|
|
159604
159644
|
}
|
|
159605
|
-
async
|
|
159645
|
+
async refreshSession() {
|
|
159606
159646
|
if (this._refreshSessionPromise) {
|
|
159607
159647
|
return this._refreshSessionPromise;
|
|
159608
159648
|
}
|
|
@@ -165221,6 +165261,34 @@ var schemaDict2 = {
|
|
|
165221
165261
|
}
|
|
165222
165262
|
}
|
|
165223
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
|
+
},
|
|
165224
165292
|
ComAtprotoTempFetchLabels: {
|
|
165225
165293
|
lexicon: 1,
|
|
165226
165294
|
id: "com.atproto.temp.fetchLabels",
|
|
@@ -169263,6 +169331,7 @@ var ids = {
|
|
|
169263
169331
|
ComAtprotoSyncNotifyOfUpdate: "com.atproto.sync.notifyOfUpdate",
|
|
169264
169332
|
ComAtprotoSyncRequestCrawl: "com.atproto.sync.requestCrawl",
|
|
169265
169333
|
ComAtprotoSyncSubscribeRepos: "com.atproto.sync.subscribeRepos",
|
|
169334
|
+
ComAtprotoTempCheckSignupQueue: "com.atproto.temp.checkSignupQueue",
|
|
169266
169335
|
ComAtprotoTempFetchLabels: "com.atproto.temp.fetchLabels",
|
|
169267
169336
|
ComAtprotoTempImportRepo: "com.atproto.temp.importRepo",
|
|
169268
169337
|
ComAtprotoTempPushBlob: "com.atproto.temp.pushBlob",
|
|
@@ -172718,6 +172787,10 @@ var ComAtprotoTempNS2 = class {
|
|
|
172718
172787
|
constructor(server) {
|
|
172719
172788
|
this._server = server;
|
|
172720
172789
|
}
|
|
172790
|
+
checkSignupQueue(cfg) {
|
|
172791
|
+
const nsid2 = "com.atproto.temp.checkSignupQueue";
|
|
172792
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
172793
|
+
}
|
|
172721
172794
|
fetchLabels(cfg) {
|
|
172722
172795
|
const nsid2 = "com.atproto.temp.fetchLabels";
|
|
172723
172796
|
return this._server.xrpc.method(nsid2, cfg);
|