@atproto/ozone 0.0.6 → 0.0.7

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
@@ -105784,6 +105784,34 @@ var schemaDict = {
105784
105784
  }
105785
105785
  }
105786
105786
  },
105787
+ ComAtprotoTempCheckSignupQueue: {
105788
+ lexicon: 1,
105789
+ id: "com.atproto.temp.checkSignupQueue",
105790
+ defs: {
105791
+ main: {
105792
+ type: "query",
105793
+ description: "Check accounts location in signup queue.",
105794
+ output: {
105795
+ encoding: "application/json",
105796
+ schema: {
105797
+ type: "object",
105798
+ required: ["activated"],
105799
+ properties: {
105800
+ activated: {
105801
+ type: "boolean"
105802
+ },
105803
+ placeInQueue: {
105804
+ type: "integer"
105805
+ },
105806
+ estimatedTimeMs: {
105807
+ type: "integer"
105808
+ }
105809
+ }
105810
+ }
105811
+ }
105812
+ }
105813
+ }
105814
+ },
105787
105815
  ComAtprotoTempFetchLabels: {
105788
105816
  lexicon: 1,
105789
105817
  id: "com.atproto.temp.fetchLabels",
@@ -118354,6 +118382,10 @@ var ComAtprotoTempNS = class {
118354
118382
  constructor(server) {
118355
118383
  this._server = server;
118356
118384
  }
118385
+ checkSignupQueue(cfg) {
118386
+ const nsid2 = "com.atproto.temp.checkSignupQueue";
118387
+ return this._server.xrpc.method(nsid2, cfg);
118388
+ }
118357
118389
  fetchLabels(cfg) {
118358
118390
  const nsid2 = "com.atproto.temp.fetchLabels";
118359
118391
  return this._server.xrpc.method(nsid2, cfg);
@@ -123139,6 +123171,34 @@ var schemaDict2 = {
123139
123171
  }
123140
123172
  }
123141
123173
  },
123174
+ ComAtprotoTempCheckSignupQueue: {
123175
+ lexicon: 1,
123176
+ id: "com.atproto.temp.checkSignupQueue",
123177
+ defs: {
123178
+ main: {
123179
+ type: "query",
123180
+ description: "Check accounts location in signup queue.",
123181
+ output: {
123182
+ encoding: "application/json",
123183
+ schema: {
123184
+ type: "object",
123185
+ required: ["activated"],
123186
+ properties: {
123187
+ activated: {
123188
+ type: "boolean"
123189
+ },
123190
+ placeInQueue: {
123191
+ type: "integer"
123192
+ },
123193
+ estimatedTimeMs: {
123194
+ type: "integer"
123195
+ }
123196
+ }
123197
+ }
123198
+ }
123199
+ }
123200
+ }
123201
+ },
123142
123202
  ComAtprotoTempFetchLabels: {
123143
123203
  lexicon: 1,
123144
123204
  id: "com.atproto.temp.fetchLabels",
@@ -127800,34 +127860,41 @@ function toKnownErr67(e) {
127800
127860
  return e;
127801
127861
  }
127802
127862
 
127803
- // ../api/src/client/types/com/atproto/temp/fetchLabels.ts
127863
+ // ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
127804
127864
  function toKnownErr68(e) {
127805
127865
  if (e instanceof XRPCError) {
127806
127866
  }
127807
127867
  return e;
127808
127868
  }
127809
127869
 
127810
- // ../api/src/client/types/com/atproto/temp/importRepo.ts
127870
+ // ../api/src/client/types/com/atproto/temp/fetchLabels.ts
127811
127871
  function toKnownErr69(e) {
127812
127872
  if (e instanceof XRPCError) {
127813
127873
  }
127814
127874
  return e;
127815
127875
  }
127816
127876
 
127817
- // ../api/src/client/types/com/atproto/temp/pushBlob.ts
127877
+ // ../api/src/client/types/com/atproto/temp/importRepo.ts
127818
127878
  function toKnownErr70(e) {
127819
127879
  if (e instanceof XRPCError) {
127820
127880
  }
127821
127881
  return e;
127822
127882
  }
127823
127883
 
127824
- // ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
127884
+ // ../api/src/client/types/com/atproto/temp/pushBlob.ts
127825
127885
  function toKnownErr71(e) {
127826
127886
  if (e instanceof XRPCError) {
127827
127887
  }
127828
127888
  return e;
127829
127889
  }
127830
127890
 
127891
+ // ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
127892
+ function toKnownErr72(e) {
127893
+ if (e instanceof XRPCError) {
127894
+ }
127895
+ return e;
127896
+ }
127897
+
127831
127898
  // ../api/src/client/types/com/atproto/temp/transferAccount.ts
127832
127899
  var InvalidHandleError3 = class extends XRPCError {
127833
127900
  constructor(src3) {
@@ -127864,7 +127931,7 @@ var IncompatibleDidDocError2 = class extends XRPCError {
127864
127931
  super(src3.status, src3.error, src3.message, src3.headers);
127865
127932
  }
127866
127933
  };
127867
- function toKnownErr72(e) {
127934
+ function toKnownErr73(e) {
127868
127935
  if (e instanceof XRPCError) {
127869
127936
  if (e.error === "InvalidHandle")
127870
127937
  return new InvalidHandleError3(e);
@@ -127885,63 +127952,63 @@ function toKnownErr72(e) {
127885
127952
  }
127886
127953
 
127887
127954
  // ../api/src/client/types/app/bsky/actor/getPreferences.ts
127888
- function toKnownErr73(e) {
127955
+ function toKnownErr74(e) {
127889
127956
  if (e instanceof XRPCError) {
127890
127957
  }
127891
127958
  return e;
127892
127959
  }
127893
127960
 
127894
127961
  // ../api/src/client/types/app/bsky/actor/getProfile.ts
127895
- function toKnownErr74(e) {
127962
+ function toKnownErr75(e) {
127896
127963
  if (e instanceof XRPCError) {
127897
127964
  }
127898
127965
  return e;
127899
127966
  }
127900
127967
 
127901
127968
  // ../api/src/client/types/app/bsky/actor/getProfiles.ts
127902
- function toKnownErr75(e) {
127969
+ function toKnownErr76(e) {
127903
127970
  if (e instanceof XRPCError) {
127904
127971
  }
127905
127972
  return e;
127906
127973
  }
127907
127974
 
127908
127975
  // ../api/src/client/types/app/bsky/actor/getSuggestions.ts
127909
- function toKnownErr76(e) {
127976
+ function toKnownErr77(e) {
127910
127977
  if (e instanceof XRPCError) {
127911
127978
  }
127912
127979
  return e;
127913
127980
  }
127914
127981
 
127915
127982
  // ../api/src/client/types/app/bsky/actor/putPreferences.ts
127916
- function toKnownErr77(e) {
127983
+ function toKnownErr78(e) {
127917
127984
  if (e instanceof XRPCError) {
127918
127985
  }
127919
127986
  return e;
127920
127987
  }
127921
127988
 
127922
127989
  // ../api/src/client/types/app/bsky/actor/searchActors.ts
127923
- function toKnownErr78(e) {
127990
+ function toKnownErr79(e) {
127924
127991
  if (e instanceof XRPCError) {
127925
127992
  }
127926
127993
  return e;
127927
127994
  }
127928
127995
 
127929
127996
  // ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
127930
- function toKnownErr79(e) {
127997
+ function toKnownErr80(e) {
127931
127998
  if (e instanceof XRPCError) {
127932
127999
  }
127933
128000
  return e;
127934
128001
  }
127935
128002
 
127936
128003
  // ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
127937
- function toKnownErr80(e) {
128004
+ function toKnownErr81(e) {
127938
128005
  if (e instanceof XRPCError) {
127939
128006
  }
127940
128007
  return e;
127941
128008
  }
127942
128009
 
127943
128010
  // ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
127944
- function toKnownErr81(e) {
128011
+ function toKnownErr82(e) {
127945
128012
  if (e instanceof XRPCError) {
127946
128013
  }
127947
128014
  return e;
@@ -127958,7 +128025,7 @@ var BlockedByActorError = class extends XRPCError {
127958
128025
  super(src3.status, src3.error, src3.message, src3.headers);
127959
128026
  }
127960
128027
  };
127961
- function toKnownErr82(e) {
128028
+ function toKnownErr83(e) {
127962
128029
  if (e instanceof XRPCError) {
127963
128030
  if (e.error === "BlockedActor")
127964
128031
  return new BlockedActorError(e);
@@ -127979,7 +128046,7 @@ var BlockedByActorError2 = class extends XRPCError {
127979
128046
  super(src3.status, src3.error, src3.message, src3.headers);
127980
128047
  }
127981
128048
  };
127982
- function toKnownErr83(e) {
128049
+ function toKnownErr84(e) {
127983
128050
  if (e instanceof XRPCError) {
127984
128051
  if (e.error === "BlockedActor")
127985
128052
  return new BlockedActorError2(e);
@@ -127995,7 +128062,7 @@ var UnknownFeedError = class extends XRPCError {
127995
128062
  super(src3.status, src3.error, src3.message, src3.headers);
127996
128063
  }
127997
128064
  };
127998
- function toKnownErr84(e) {
128065
+ function toKnownErr85(e) {
127999
128066
  if (e instanceof XRPCError) {
128000
128067
  if (e.error === "UnknownFeed")
128001
128068
  return new UnknownFeedError(e);
@@ -128004,14 +128071,14 @@ function toKnownErr84(e) {
128004
128071
  }
128005
128072
 
128006
128073
  // ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
128007
- function toKnownErr85(e) {
128074
+ function toKnownErr86(e) {
128008
128075
  if (e instanceof XRPCError) {
128009
128076
  }
128010
128077
  return e;
128011
128078
  }
128012
128079
 
128013
128080
  // ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
128014
- function toKnownErr86(e) {
128081
+ function toKnownErr87(e) {
128015
128082
  if (e instanceof XRPCError) {
128016
128083
  }
128017
128084
  return e;
@@ -128023,7 +128090,7 @@ var UnknownFeedError2 = class extends XRPCError {
128023
128090
  super(src3.status, src3.error, src3.message, src3.headers);
128024
128091
  }
128025
128092
  };
128026
- function toKnownErr87(e) {
128093
+ function toKnownErr88(e) {
128027
128094
  if (e instanceof XRPCError) {
128028
128095
  if (e.error === "UnknownFeed")
128029
128096
  return new UnknownFeedError2(e);
@@ -128032,7 +128099,7 @@ function toKnownErr87(e) {
128032
128099
  }
128033
128100
 
128034
128101
  // ../api/src/client/types/app/bsky/feed/getLikes.ts
128035
- function toKnownErr88(e) {
128102
+ function toKnownErr89(e) {
128036
128103
  if (e instanceof XRPCError) {
128037
128104
  }
128038
128105
  return e;
@@ -128044,7 +128111,7 @@ var UnknownListError = class extends XRPCError {
128044
128111
  super(src3.status, src3.error, src3.message, src3.headers);
128045
128112
  }
128046
128113
  };
128047
- function toKnownErr89(e) {
128114
+ function toKnownErr90(e) {
128048
128115
  if (e instanceof XRPCError) {
128049
128116
  if (e.error === "UnknownList")
128050
128117
  return new UnknownListError(e);
@@ -128058,7 +128125,7 @@ var NotFoundError = class extends XRPCError {
128058
128125
  super(src3.status, src3.error, src3.message, src3.headers);
128059
128126
  }
128060
128127
  };
128061
- function toKnownErr90(e) {
128128
+ function toKnownErr91(e) {
128062
128129
  if (e instanceof XRPCError) {
128063
128130
  if (e.error === "NotFound")
128064
128131
  return new NotFoundError(e);
@@ -128067,28 +128134,28 @@ function toKnownErr90(e) {
128067
128134
  }
128068
128135
 
128069
128136
  // ../api/src/client/types/app/bsky/feed/getPosts.ts
128070
- function toKnownErr91(e) {
128137
+ function toKnownErr92(e) {
128071
128138
  if (e instanceof XRPCError) {
128072
128139
  }
128073
128140
  return e;
128074
128141
  }
128075
128142
 
128076
128143
  // ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
128077
- function toKnownErr92(e) {
128144
+ function toKnownErr93(e) {
128078
128145
  if (e instanceof XRPCError) {
128079
128146
  }
128080
128147
  return e;
128081
128148
  }
128082
128149
 
128083
128150
  // ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
128084
- function toKnownErr93(e) {
128151
+ function toKnownErr94(e) {
128085
128152
  if (e instanceof XRPCError) {
128086
128153
  }
128087
128154
  return e;
128088
128155
  }
128089
128156
 
128090
128157
  // ../api/src/client/types/app/bsky/feed/getTimeline.ts
128091
- function toKnownErr94(e) {
128158
+ function toKnownErr95(e) {
128092
128159
  if (e instanceof XRPCError) {
128093
128160
  }
128094
128161
  return e;
@@ -128100,7 +128167,7 @@ var BadQueryStringError = class extends XRPCError {
128100
128167
  super(src3.status, src3.error, src3.message, src3.headers);
128101
128168
  }
128102
128169
  };
128103
- function toKnownErr95(e) {
128170
+ function toKnownErr96(e) {
128104
128171
  if (e instanceof XRPCError) {
128105
128172
  if (e.error === "BadQueryString")
128106
128173
  return new BadQueryStringError(e);
@@ -128109,56 +128176,56 @@ function toKnownErr95(e) {
128109
128176
  }
128110
128177
 
128111
128178
  // ../api/src/client/types/app/bsky/graph/getBlocks.ts
128112
- function toKnownErr96(e) {
128179
+ function toKnownErr97(e) {
128113
128180
  if (e instanceof XRPCError) {
128114
128181
  }
128115
128182
  return e;
128116
128183
  }
128117
128184
 
128118
128185
  // ../api/src/client/types/app/bsky/graph/getFollowers.ts
128119
- function toKnownErr97(e) {
128186
+ function toKnownErr98(e) {
128120
128187
  if (e instanceof XRPCError) {
128121
128188
  }
128122
128189
  return e;
128123
128190
  }
128124
128191
 
128125
128192
  // ../api/src/client/types/app/bsky/graph/getFollows.ts
128126
- function toKnownErr98(e) {
128193
+ function toKnownErr99(e) {
128127
128194
  if (e instanceof XRPCError) {
128128
128195
  }
128129
128196
  return e;
128130
128197
  }
128131
128198
 
128132
128199
  // ../api/src/client/types/app/bsky/graph/getList.ts
128133
- function toKnownErr99(e) {
128200
+ function toKnownErr100(e) {
128134
128201
  if (e instanceof XRPCError) {
128135
128202
  }
128136
128203
  return e;
128137
128204
  }
128138
128205
 
128139
128206
  // ../api/src/client/types/app/bsky/graph/getListBlocks.ts
128140
- function toKnownErr100(e) {
128207
+ function toKnownErr101(e) {
128141
128208
  if (e instanceof XRPCError) {
128142
128209
  }
128143
128210
  return e;
128144
128211
  }
128145
128212
 
128146
128213
  // ../api/src/client/types/app/bsky/graph/getListMutes.ts
128147
- function toKnownErr101(e) {
128214
+ function toKnownErr102(e) {
128148
128215
  if (e instanceof XRPCError) {
128149
128216
  }
128150
128217
  return e;
128151
128218
  }
128152
128219
 
128153
128220
  // ../api/src/client/types/app/bsky/graph/getLists.ts
128154
- function toKnownErr102(e) {
128221
+ function toKnownErr103(e) {
128155
128222
  if (e instanceof XRPCError) {
128156
128223
  }
128157
128224
  return e;
128158
128225
  }
128159
128226
 
128160
128227
  // ../api/src/client/types/app/bsky/graph/getMutes.ts
128161
- function toKnownErr103(e) {
128228
+ function toKnownErr104(e) {
128162
128229
  if (e instanceof XRPCError) {
128163
128230
  }
128164
128231
  return e;
@@ -128170,7 +128237,7 @@ var ActorNotFoundError = class extends XRPCError {
128170
128237
  super(src3.status, src3.error, src3.message, src3.headers);
128171
128238
  }
128172
128239
  };
128173
- function toKnownErr104(e) {
128240
+ function toKnownErr105(e) {
128174
128241
  if (e instanceof XRPCError) {
128175
128242
  if (e.error === "ActorNotFound")
128176
128243
  return new ActorNotFoundError(e);
@@ -128179,77 +128246,77 @@ function toKnownErr104(e) {
128179
128246
  }
128180
128247
 
128181
128248
  // ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
128182
- function toKnownErr105(e) {
128249
+ function toKnownErr106(e) {
128183
128250
  if (e instanceof XRPCError) {
128184
128251
  }
128185
128252
  return e;
128186
128253
  }
128187
128254
 
128188
128255
  // ../api/src/client/types/app/bsky/graph/muteActor.ts
128189
- function toKnownErr106(e) {
128256
+ function toKnownErr107(e) {
128190
128257
  if (e instanceof XRPCError) {
128191
128258
  }
128192
128259
  return e;
128193
128260
  }
128194
128261
 
128195
128262
  // ../api/src/client/types/app/bsky/graph/muteActorList.ts
128196
- function toKnownErr107(e) {
128263
+ function toKnownErr108(e) {
128197
128264
  if (e instanceof XRPCError) {
128198
128265
  }
128199
128266
  return e;
128200
128267
  }
128201
128268
 
128202
128269
  // ../api/src/client/types/app/bsky/graph/unmuteActor.ts
128203
- function toKnownErr108(e) {
128270
+ function toKnownErr109(e) {
128204
128271
  if (e instanceof XRPCError) {
128205
128272
  }
128206
128273
  return e;
128207
128274
  }
128208
128275
 
128209
128276
  // ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
128210
- function toKnownErr109(e) {
128277
+ function toKnownErr110(e) {
128211
128278
  if (e instanceof XRPCError) {
128212
128279
  }
128213
128280
  return e;
128214
128281
  }
128215
128282
 
128216
128283
  // ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
128217
- function toKnownErr110(e) {
128284
+ function toKnownErr111(e) {
128218
128285
  if (e instanceof XRPCError) {
128219
128286
  }
128220
128287
  return e;
128221
128288
  }
128222
128289
 
128223
128290
  // ../api/src/client/types/app/bsky/notification/listNotifications.ts
128224
- function toKnownErr111(e) {
128291
+ function toKnownErr112(e) {
128225
128292
  if (e instanceof XRPCError) {
128226
128293
  }
128227
128294
  return e;
128228
128295
  }
128229
128296
 
128230
128297
  // ../api/src/client/types/app/bsky/notification/registerPush.ts
128231
- function toKnownErr112(e) {
128298
+ function toKnownErr113(e) {
128232
128299
  if (e instanceof XRPCError) {
128233
128300
  }
128234
128301
  return e;
128235
128302
  }
128236
128303
 
128237
128304
  // ../api/src/client/types/app/bsky/notification/updateSeen.ts
128238
- function toKnownErr113(e) {
128305
+ function toKnownErr114(e) {
128239
128306
  if (e instanceof XRPCError) {
128240
128307
  }
128241
128308
  return e;
128242
128309
  }
128243
128310
 
128244
128311
  // ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
128245
- function toKnownErr114(e) {
128312
+ function toKnownErr115(e) {
128246
128313
  if (e instanceof XRPCError) {
128247
128314
  }
128248
128315
  return e;
128249
128316
  }
128250
128317
 
128251
128318
  // ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
128252
- function toKnownErr115(e) {
128319
+ function toKnownErr116(e) {
128253
128320
  if (e instanceof XRPCError) {
128254
128321
  }
128255
128322
  return e;
@@ -128261,7 +128328,7 @@ var UnknownFeedError3 = class extends XRPCError {
128261
128328
  super(src3.status, src3.error, src3.message, src3.headers);
128262
128329
  }
128263
128330
  };
128264
- function toKnownErr116(e) {
128331
+ function toKnownErr117(e) {
128265
128332
  if (e instanceof XRPCError) {
128266
128333
  if (e.error === "UnknownFeed")
128267
128334
  return new UnknownFeedError3(e);
@@ -128275,7 +128342,7 @@ var BadQueryStringError2 = class extends XRPCError {
128275
128342
  super(src3.status, src3.error, src3.message, src3.headers);
128276
128343
  }
128277
128344
  };
128278
- function toKnownErr117(e) {
128345
+ function toKnownErr118(e) {
128279
128346
  if (e instanceof XRPCError) {
128280
128347
  if (e.error === "BadQueryString")
128281
128348
  return new BadQueryStringError2(e);
@@ -128289,7 +128356,7 @@ var BadQueryStringError3 = class extends XRPCError {
128289
128356
  super(src3.status, src3.error, src3.message, src3.headers);
128290
128357
  }
128291
128358
  };
128292
- function toKnownErr118(e) {
128359
+ function toKnownErr119(e) {
128293
128360
  if (e instanceof XRPCError) {
128294
128361
  if (e.error === "BadQueryString")
128295
128362
  return new BadQueryStringError3(e);
@@ -128711,29 +128778,34 @@ var ComAtprotoTempNS2 = class {
128711
128778
  constructor(service2) {
128712
128779
  this._service = service2;
128713
128780
  }
128781
+ checkSignupQueue(params2, opts) {
128782
+ return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
128783
+ throw toKnownErr68(e);
128784
+ });
128785
+ }
128714
128786
  fetchLabels(params2, opts) {
128715
128787
  return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
128716
- throw toKnownErr68(e);
128788
+ throw toKnownErr69(e);
128717
128789
  });
128718
128790
  }
128719
128791
  importRepo(data, opts) {
128720
128792
  return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
128721
- throw toKnownErr69(e);
128793
+ throw toKnownErr70(e);
128722
128794
  });
128723
128795
  }
128724
128796
  pushBlob(data, opts) {
128725
128797
  return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
128726
- throw toKnownErr70(e);
128798
+ throw toKnownErr71(e);
128727
128799
  });
128728
128800
  }
128729
128801
  requestPhoneVerification(data, opts) {
128730
128802
  return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
128731
- throw toKnownErr71(e);
128803
+ throw toKnownErr72(e);
128732
128804
  });
128733
128805
  }
128734
128806
  transferAccount(data, opts) {
128735
128807
  return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
128736
- throw toKnownErr72(e);
128808
+ throw toKnownErr73(e);
128737
128809
  });
128738
128810
  }
128739
128811
  };
@@ -128762,37 +128834,37 @@ var AppBskyActorNS2 = class {
128762
128834
  }
128763
128835
  getPreferences(params2, opts) {
128764
128836
  return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
128765
- throw toKnownErr73(e);
128837
+ throw toKnownErr74(e);
128766
128838
  });
128767
128839
  }
128768
128840
  getProfile(params2, opts) {
128769
128841
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
128770
- throw toKnownErr74(e);
128842
+ throw toKnownErr75(e);
128771
128843
  });
128772
128844
  }
128773
128845
  getProfiles(params2, opts) {
128774
128846
  return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
128775
- throw toKnownErr75(e);
128847
+ throw toKnownErr76(e);
128776
128848
  });
128777
128849
  }
128778
128850
  getSuggestions(params2, opts) {
128779
128851
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
128780
- throw toKnownErr76(e);
128852
+ throw toKnownErr77(e);
128781
128853
  });
128782
128854
  }
128783
128855
  putPreferences(data, opts) {
128784
128856
  return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
128785
- throw toKnownErr77(e);
128857
+ throw toKnownErr78(e);
128786
128858
  });
128787
128859
  }
128788
128860
  searchActors(params2, opts) {
128789
128861
  return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
128790
- throw toKnownErr78(e);
128862
+ throw toKnownErr79(e);
128791
128863
  });
128792
128864
  }
128793
128865
  searchActorsTypeahead(params2, opts) {
128794
128866
  return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
128795
- throw toKnownErr79(e);
128867
+ throw toKnownErr80(e);
128796
128868
  });
128797
128869
  }
128798
128870
  };
@@ -128839,82 +128911,82 @@ var AppBskyFeedNS2 = class {
128839
128911
  }
128840
128912
  describeFeedGenerator(params2, opts) {
128841
128913
  return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
128842
- throw toKnownErr80(e);
128914
+ throw toKnownErr81(e);
128843
128915
  });
128844
128916
  }
128845
128917
  getActorFeeds(params2, opts) {
128846
128918
  return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
128847
- throw toKnownErr81(e);
128919
+ throw toKnownErr82(e);
128848
128920
  });
128849
128921
  }
128850
128922
  getActorLikes(params2, opts) {
128851
128923
  return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
128852
- throw toKnownErr82(e);
128924
+ throw toKnownErr83(e);
128853
128925
  });
128854
128926
  }
128855
128927
  getAuthorFeed(params2, opts) {
128856
128928
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
128857
- throw toKnownErr83(e);
128929
+ throw toKnownErr84(e);
128858
128930
  });
128859
128931
  }
128860
128932
  getFeed(params2, opts) {
128861
128933
  return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
128862
- throw toKnownErr84(e);
128934
+ throw toKnownErr85(e);
128863
128935
  });
128864
128936
  }
128865
128937
  getFeedGenerator(params2, opts) {
128866
128938
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
128867
- throw toKnownErr85(e);
128939
+ throw toKnownErr86(e);
128868
128940
  });
128869
128941
  }
128870
128942
  getFeedGenerators(params2, opts) {
128871
128943
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
128872
- throw toKnownErr86(e);
128944
+ throw toKnownErr87(e);
128873
128945
  });
128874
128946
  }
128875
128947
  getFeedSkeleton(params2, opts) {
128876
128948
  return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
128877
- throw toKnownErr87(e);
128949
+ throw toKnownErr88(e);
128878
128950
  });
128879
128951
  }
128880
128952
  getLikes(params2, opts) {
128881
128953
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
128882
- throw toKnownErr88(e);
128954
+ throw toKnownErr89(e);
128883
128955
  });
128884
128956
  }
128885
128957
  getListFeed(params2, opts) {
128886
128958
  return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
128887
- throw toKnownErr89(e);
128959
+ throw toKnownErr90(e);
128888
128960
  });
128889
128961
  }
128890
128962
  getPostThread(params2, opts) {
128891
128963
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
128892
- throw toKnownErr90(e);
128964
+ throw toKnownErr91(e);
128893
128965
  });
128894
128966
  }
128895
128967
  getPosts(params2, opts) {
128896
128968
  return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
128897
- throw toKnownErr91(e);
128969
+ throw toKnownErr92(e);
128898
128970
  });
128899
128971
  }
128900
128972
  getRepostedBy(params2, opts) {
128901
128973
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
128902
- throw toKnownErr92(e);
128974
+ throw toKnownErr93(e);
128903
128975
  });
128904
128976
  }
128905
128977
  getSuggestedFeeds(params2, opts) {
128906
128978
  return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
128907
- throw toKnownErr93(e);
128979
+ throw toKnownErr94(e);
128908
128980
  });
128909
128981
  }
128910
128982
  getTimeline(params2, opts) {
128911
128983
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
128912
- throw toKnownErr94(e);
128984
+ throw toKnownErr95(e);
128913
128985
  });
128914
128986
  }
128915
128987
  searchPosts(params2, opts) {
128916
128988
  return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
128917
- throw toKnownErr95(e);
128989
+ throw toKnownErr96(e);
128918
128990
  });
128919
128991
  }
128920
128992
  };
@@ -129064,72 +129136,72 @@ var AppBskyGraphNS2 = class {
129064
129136
  }
129065
129137
  getBlocks(params2, opts) {
129066
129138
  return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
129067
- throw toKnownErr96(e);
129139
+ throw toKnownErr97(e);
129068
129140
  });
129069
129141
  }
129070
129142
  getFollowers(params2, opts) {
129071
129143
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
129072
- throw toKnownErr97(e);
129144
+ throw toKnownErr98(e);
129073
129145
  });
129074
129146
  }
129075
129147
  getFollows(params2, opts) {
129076
129148
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
129077
- throw toKnownErr98(e);
129149
+ throw toKnownErr99(e);
129078
129150
  });
129079
129151
  }
129080
129152
  getList(params2, opts) {
129081
129153
  return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
129082
- throw toKnownErr99(e);
129154
+ throw toKnownErr100(e);
129083
129155
  });
129084
129156
  }
129085
129157
  getListBlocks(params2, opts) {
129086
129158
  return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
129087
- throw toKnownErr100(e);
129159
+ throw toKnownErr101(e);
129088
129160
  });
129089
129161
  }
129090
129162
  getListMutes(params2, opts) {
129091
129163
  return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
129092
- throw toKnownErr101(e);
129164
+ throw toKnownErr102(e);
129093
129165
  });
129094
129166
  }
129095
129167
  getLists(params2, opts) {
129096
129168
  return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
129097
- throw toKnownErr102(e);
129169
+ throw toKnownErr103(e);
129098
129170
  });
129099
129171
  }
129100
129172
  getMutes(params2, opts) {
129101
129173
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
129102
- throw toKnownErr103(e);
129174
+ throw toKnownErr104(e);
129103
129175
  });
129104
129176
  }
129105
129177
  getRelationships(params2, opts) {
129106
129178
  return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
129107
- throw toKnownErr104(e);
129179
+ throw toKnownErr105(e);
129108
129180
  });
129109
129181
  }
129110
129182
  getSuggestedFollowsByActor(params2, opts) {
129111
129183
  return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
129112
- throw toKnownErr105(e);
129184
+ throw toKnownErr106(e);
129113
129185
  });
129114
129186
  }
129115
129187
  muteActor(data, opts) {
129116
129188
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
129117
- throw toKnownErr106(e);
129189
+ throw toKnownErr107(e);
129118
129190
  });
129119
129191
  }
129120
129192
  muteActorList(data, opts) {
129121
129193
  return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
129122
- throw toKnownErr107(e);
129194
+ throw toKnownErr108(e);
129123
129195
  });
129124
129196
  }
129125
129197
  unmuteActor(data, opts) {
129126
129198
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
129127
- throw toKnownErr108(e);
129199
+ throw toKnownErr109(e);
129128
129200
  });
129129
129201
  }
129130
129202
  unmuteActorList(data, opts) {
129131
129203
  return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
129132
- throw toKnownErr109(e);
129204
+ throw toKnownErr110(e);
129133
129205
  });
129134
129206
  }
129135
129207
  };
@@ -129274,22 +129346,22 @@ var AppBskyNotificationNS2 = class {
129274
129346
  }
129275
129347
  getUnreadCount(params2, opts) {
129276
129348
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
129277
- throw toKnownErr110(e);
129349
+ throw toKnownErr111(e);
129278
129350
  });
129279
129351
  }
129280
129352
  listNotifications(params2, opts) {
129281
129353
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
129282
- throw toKnownErr111(e);
129354
+ throw toKnownErr112(e);
129283
129355
  });
129284
129356
  }
129285
129357
  registerPush(data, opts) {
129286
129358
  return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
129287
- throw toKnownErr112(e);
129359
+ throw toKnownErr113(e);
129288
129360
  });
129289
129361
  }
129290
129362
  updateSeen(data, opts) {
129291
129363
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
129292
- throw toKnownErr113(e);
129364
+ throw toKnownErr114(e);
129293
129365
  });
129294
129366
  }
129295
129367
  };
@@ -129304,27 +129376,27 @@ var AppBskyUnspeccedNS2 = class {
129304
129376
  }
129305
129377
  getPopularFeedGenerators(params2, opts) {
129306
129378
  return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
129307
- throw toKnownErr114(e);
129379
+ throw toKnownErr115(e);
129308
129380
  });
129309
129381
  }
129310
129382
  getTaggedSuggestions(params2, opts) {
129311
129383
  return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
129312
- throw toKnownErr115(e);
129384
+ throw toKnownErr116(e);
129313
129385
  });
129314
129386
  }
129315
129387
  getTimelineSkeleton(params2, opts) {
129316
129388
  return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
129317
- throw toKnownErr116(e);
129389
+ throw toKnownErr117(e);
129318
129390
  });
129319
129391
  }
129320
129392
  searchActorsSkeleton(params2, opts) {
129321
129393
  return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
129322
- throw toKnownErr117(e);
129394
+ throw toKnownErr118(e);
129323
129395
  });
129324
129396
  }
129325
129397
  searchPostsSkeleton(params2, opts) {
129326
129398
  return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
129327
- throw toKnownErr118(e);
129399
+ throw toKnownErr119(e);
129328
129400
  });
129329
129401
  }
129330
129402
  };
@@ -129449,12 +129521,12 @@ var _AtpAgent = class {
129449
129521
  await this._refreshSessionPromise;
129450
129522
  let res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
129451
129523
  if (isErrorResponse(res, ["ExpiredToken"]) && this.session?.refreshJwt) {
129452
- await this._refreshSession();
129524
+ await this.refreshSession();
129453
129525
  res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
129454
129526
  }
129455
129527
  return res;
129456
129528
  }
129457
- async _refreshSession() {
129529
+ async refreshSession() {
129458
129530
  if (this._refreshSessionPromise) {
129459
129531
  return this._refreshSessionPromise;
129460
129532
  }