@atproto/bsky 0.0.10 → 0.0.11
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 +13 -0
- package/dist/config.d.ts +2 -0
- package/dist/context.d.ts +3 -0
- package/dist/db/index.js.map +1 -1
- package/dist/index.js +592 -205
- package/dist/index.js.map +3 -3
- package/dist/lexicon/index.d.ts +8 -0
- package/dist/lexicon/lexicons.d.ts +99 -0
- package/dist/lexicon/types/com/atproto/server/confirmEmail.d.ts +27 -0
- package/dist/lexicon/types/com/atproto/server/createSession.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/server/requestEmailConfirmation.d.ts +19 -0
- package/dist/lexicon/types/com/atproto/server/requestEmailUpdate.d.ts +30 -0
- package/dist/lexicon/types/com/atproto/server/updateEmail.d.ts +27 -0
- package/dist/services/actor/index.d.ts +2 -2
- package/dist/services/util/search.d.ts +3 -3
- package/package.json +13 -13
- package/src/api/app/bsky/actor/searchActors.ts +36 -22
- package/src/api/app/bsky/actor/searchActorsTypeahead.ts +24 -17
- package/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts +1 -0
- package/src/api/com/atproto/admin/searchRepos.ts +5 -8
- package/src/config.ts +7 -0
- package/src/context.ts +6 -0
- package/src/index.ts +5 -0
- package/src/lexicon/index.ts +48 -0
- package/src/lexicon/lexicons.ts +122 -0
- package/src/lexicon/types/com/atproto/server/confirmEmail.ts +40 -0
- package/src/lexicon/types/com/atproto/server/createSession.ts +1 -0
- package/src/lexicon/types/com/atproto/server/getSession.ts +1 -0
- package/src/lexicon/types/com/atproto/server/requestEmailConfirmation.ts +31 -0
- package/src/lexicon/types/com/atproto/server/requestEmailUpdate.ts +43 -0
- package/src/lexicon/types/com/atproto/server/updateEmail.ts +41 -0
- package/src/services/actor/index.ts +9 -9
- package/src/services/util/search.ts +24 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atproto/bsky
|
|
2
2
|
|
|
3
|
+
## 0.0.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`41ee177f`](https://github.com/bluesky-social/atproto/commit/41ee177f5a440490280d17acd8a89bcddaffb23b)]:
|
|
8
|
+
- @atproto/api@0.6.20
|
|
9
|
+
- @atproto/common@0.3.1
|
|
10
|
+
- @atproto/identity@0.2.1
|
|
11
|
+
- @atproto/lexicon@0.2.2
|
|
12
|
+
- @atproto/repo@0.3.2
|
|
13
|
+
- @atproto/syntax@0.1.2
|
|
14
|
+
- @atproto/xrpc-server@0.3.2
|
|
15
|
+
|
|
3
16
|
## 0.0.10
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/config.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export interface ServerConfigValues {
|
|
|
15
15
|
handleResolveNameservers?: string[];
|
|
16
16
|
imgUriEndpoint?: string;
|
|
17
17
|
blobCacheLocation?: string;
|
|
18
|
+
searchEndpoint?: string;
|
|
18
19
|
labelerDid: string;
|
|
19
20
|
adminPassword: string;
|
|
20
21
|
moderatorPassword?: string;
|
|
@@ -44,6 +45,7 @@ export declare class ServerConfig {
|
|
|
44
45
|
get didPlcUrl(): string;
|
|
45
46
|
get imgUriEndpoint(): string | undefined;
|
|
46
47
|
get blobCacheLocation(): string | undefined;
|
|
48
|
+
get searchEndpoint(): string | undefined;
|
|
47
49
|
get labelerDid(): string;
|
|
48
50
|
get adminPassword(): string;
|
|
49
51
|
get moderatorPassword(): string | undefined;
|
package/dist/context.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { BackgroundQueue } from './background';
|
|
|
11
11
|
import { MountedAlgos } from './feed-gen/types';
|
|
12
12
|
import { LabelCache } from './label-cache';
|
|
13
13
|
import { NotificationServer } from './notifications';
|
|
14
|
+
import { AtpAgent } from '@atproto/api';
|
|
14
15
|
export declare class AppContext {
|
|
15
16
|
private opts;
|
|
16
17
|
constructor(opts: {
|
|
@@ -22,6 +23,7 @@ export declare class AppContext {
|
|
|
22
23
|
didCache: DidSqlCache;
|
|
23
24
|
labelCache: LabelCache;
|
|
24
25
|
backgroundQueue: BackgroundQueue;
|
|
26
|
+
searchAgent?: AtpAgent;
|
|
25
27
|
algos: MountedAlgos;
|
|
26
28
|
notifServer: NotificationServer;
|
|
27
29
|
});
|
|
@@ -34,6 +36,7 @@ export declare class AppContext {
|
|
|
34
36
|
get didCache(): DidSqlCache;
|
|
35
37
|
get labelCache(): LabelCache;
|
|
36
38
|
get notifServer(): NotificationServer;
|
|
39
|
+
get searchAgent(): AtpAgent | undefined;
|
|
37
40
|
get authVerifier(): (reqCtx: {
|
|
38
41
|
req: import("express").Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>;
|
|
39
42
|
res: import("express").Response<any, Record<string, any>>;
|