@atproto/pds 0.4.68 → 0.4.70
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +26 -0
- package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.js +11 -6
- package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
- package/dist/config/config.d.ts +1 -0
- package/dist/config/config.d.ts.map +1 -1
- package/dist/config/config.js +3 -0
- package/dist/config/config.js.map +1 -1
- package/dist/config/env.d.ts +1 -0
- package/dist/config/env.d.ts.map +1 -1
- package/dist/config/env.js +1 -0
- package/dist/config/env.js.map +1 -1
- package/dist/context.d.ts +2 -2
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +8 -1
- package/dist/context.js.map +1 -1
- package/dist/lexicon/index.d.ts +13 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +36 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +396 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +439 -3
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getConfig.d.ts +34 -0
- package/dist/lexicon/types/app/bsky/unspecced/getConfig.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getConfig.js +3 -0
- package/dist/lexicon/types/app/bsky/unspecced/getConfig.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +60 -2
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js +50 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts +10 -0
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/setting/defs.d.ts +20 -0
- package/dist/lexicon/types/tools/ozone/setting/defs.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/defs.js +15 -0
- package/dist/lexicon/types/tools/ozone/setting/defs.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/listOptions.d.ts +43 -0
- package/dist/lexicon/types/tools/ozone/setting/listOptions.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/listOptions.js +3 -0
- package/dist/lexicon/types/tools/ozone/setting/listOptions.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/removeOptions.d.ts +40 -0
- package/dist/lexicon/types/tools/ozone/setting/removeOptions.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/removeOptions.js +3 -0
- package/dist/lexicon/types/tools/ozone/setting/removeOptions.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts +45 -0
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.js +3 -0
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.js.map +1 -0
- package/dist/pipethrough.d.ts +0 -1
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +11 -10
- package/dist/pipethrough.js.map +1 -1
- package/example.env +1 -1
- package/package.json +11 -11
- package/src/api/app/bsky/feed/getPostThread.ts +15 -4
- package/src/config/config.ts +5 -0
- package/src/config/env.ts +2 -0
- package/src/context.ts +11 -3
- package/src/lexicon/index.ts +58 -0
- package/src/lexicon/lexicons.ts +449 -3
- package/src/lexicon/types/app/bsky/unspecced/getConfig.ts +43 -0
- package/src/lexicon/types/tools/ozone/moderation/defs.ts +132 -0
- package/src/lexicon/types/tools/ozone/moderation/emitEvent.ts +3 -0
- package/src/lexicon/types/tools/ozone/moderation/queryStatuses.ts +10 -0
- package/src/lexicon/types/tools/ozone/setting/defs.ts +37 -0
- package/src/lexicon/types/tools/ozone/setting/listOptions.ts +53 -0
- package/src/lexicon/types/tools/ozone/setting/removeOptions.ts +49 -0
- package/src/lexicon/types/tools/ozone/setting/upsertOption.ts +58 -0
- package/src/pipethrough.ts +13 -12
- package/tests/proxied/__snapshots__/admin.test.ts.snap +12 -0
- package/tests/proxied/proxy-catchall.test.ts +1 -1
- package/tests/proxied/read-after-write.test.ts +20 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# @atproto/pds
|
2
2
|
|
3
|
+
## 0.4.70
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#2946](https://github.com/bluesky-social/atproto/pull/2946) [`9e18ab6a3`](https://github.com/bluesky-social/atproto/commit/9e18ab6a35f47e0a9cee76221bfa0817c8a624a1) Thanks [@gaearon](https://github.com/gaearon)! - Fix getPostThread optimistic handling for URIs with handle
|
8
|
+
|
9
|
+
- [#2850](https://github.com/bluesky-social/atproto/pull/2850) [`9ffeb5216`](https://github.com/bluesky-social/atproto/commit/9ffeb5216ab29919a2c1f3cc18af26c21a077d4a) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Use a less cryptic error message when proxying fails
|
10
|
+
|
11
|
+
- [#2850](https://github.com/bluesky-social/atproto/pull/2850) [`9ffeb5216`](https://github.com/bluesky-social/atproto/commit/9ffeb5216ab29919a2c1f3cc18af26c21a077d4a) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Allow retrying proxied requests
|
12
|
+
|
13
|
+
- Updated dependencies [[`d6f33b474`](https://github.com/bluesky-social/atproto/commit/d6f33b4742e0b94722a993efc7d18833d9416bb6), [`b6eeb81c6`](https://github.com/bluesky-social/atproto/commit/b6eeb81c6d454b5ae91b05a21fc1820274c1b429), [`709ba3015`](https://github.com/bluesky-social/atproto/commit/709ba301578c1956b8eb0d89bad717615a4fd7ba), [`1982693e3`](https://github.com/bluesky-social/atproto/commit/1982693e3ea1fef4db76ac9aca3db8dc5ebf3fe0), [`1982693e3`](https://github.com/bluesky-social/atproto/commit/1982693e3ea1fef4db76ac9aca3db8dc5ebf3fe0), [`839202a3d`](https://github.com/bluesky-social/atproto/commit/839202a3d2b01de25de900cec7540019545798c6), [`e680d55ca`](https://github.com/bluesky-social/atproto/commit/e680d55ca2d7f6b213e2a8693eba6be39163ba41), [`c4b5e5395`](https://github.com/bluesky-social/atproto/commit/c4b5e53957463c37dd16fdd1b897d4ab02ab8e84)]:
|
14
|
+
- @atproto/api@0.13.15
|
15
|
+
- @atproto/oauth-provider@0.2.7
|
16
|
+
- @atproto/crypto@0.4.2
|
17
|
+
- @atproto/xrpc-server@0.7.2
|
18
|
+
- @atproto/aws@0.2.8
|
19
|
+
- @atproto/identity@0.4.3
|
20
|
+
- @atproto/repo@0.5.4
|
21
|
+
|
22
|
+
## 0.4.69
|
23
|
+
|
24
|
+
### Patch Changes
|
25
|
+
|
26
|
+
- Updated dependencies [[`209238769`](https://github.com/bluesky-social/atproto/commit/209238769c0bf38bf04f7fa9621eeb176b5c0ed8), [`73f40e63a`](https://github.com/bluesky-social/atproto/commit/73f40e63abe3283efc0a27eef781c00b497caad1)]:
|
27
|
+
- @atproto/api@0.13.14
|
28
|
+
|
3
29
|
## 0.4.68
|
4
30
|
|
5
31
|
### Patch Changes
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getPostThread.d.ts","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getPostThread.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAqB5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,
|
1
|
+
{"version":3,"file":"getPostThread.d.ts","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getPostThread.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAqB5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA+CvD"}
|
@@ -28,11 +28,17 @@ function default_1(server, ctx) {
|
|
28
28
|
if (!rev)
|
29
29
|
throw err;
|
30
30
|
const uri = new syntax_1.AtUri(params.uri);
|
31
|
+
if (!uri.hostname.startsWith('did:')) {
|
32
|
+
const account = await ctx.accountManager.getAccount(uri.hostname);
|
33
|
+
if (account) {
|
34
|
+
uri.hostname = account.did;
|
35
|
+
}
|
36
|
+
}
|
31
37
|
if (uri.hostname !== requester)
|
32
38
|
throw err;
|
33
39
|
const local = await ctx.actorStore.read(requester, (store) => {
|
34
40
|
const localViewer = ctx.localViewer(store);
|
35
|
-
return readAfterWriteNotFound(ctx, localViewer, params, requester, rev);
|
41
|
+
return readAfterWriteNotFound(ctx, localViewer, params, requester, rev, uri);
|
36
42
|
});
|
37
43
|
if (local === null) {
|
38
44
|
throw err;
|
@@ -114,19 +120,18 @@ const threadPostView = async (localViewer, descript) => {
|
|
114
120
|
};
|
115
121
|
// Read after write on error
|
116
122
|
// ---------------------
|
117
|
-
const readAfterWriteNotFound = async (ctx, localViewer, params, requester, rev) => {
|
118
|
-
|
119
|
-
if (uri.hostname !== requester) {
|
123
|
+
const readAfterWriteNotFound = async (ctx, localViewer, params, requester, rev, resolvedUri) => {
|
124
|
+
if (resolvedUri.hostname !== requester) {
|
120
125
|
return null;
|
121
126
|
}
|
122
127
|
const local = await localViewer.getRecordsSinceRev(rev);
|
123
|
-
const found = local.posts.find((p) => p.uri.toString() ===
|
128
|
+
const found = local.posts.find((p) => p.uri.toString() === resolvedUri.toString());
|
124
129
|
if (!found)
|
125
130
|
return null;
|
126
131
|
let thread = await threadPostView(localViewer, found);
|
127
132
|
if (!thread)
|
128
133
|
return null;
|
129
|
-
const rest = local.posts.filter((p) => p.uri.toString() !==
|
134
|
+
const rest = local.posts.filter((p) => p.uri.toString() !== resolvedUri.toString());
|
130
135
|
thread = await addPostsToThread(localViewer, thread, rest);
|
131
136
|
const highestParent = getHighestParent(thread);
|
132
137
|
if (highestParent) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getPostThread.js","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getPostThread.ts"],"names":[],"mappings":";;;;;AA0BA,
|
1
|
+
{"version":3,"file":"getPostThread.js","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getPostThread.ts"],"names":[],"mappings":";;;;;AA0BA,4BA+CC;AAzED,8DAAgC;AAChC,4CAAuC;AACvC,wCAAyC;AAIzC,uEAGqD;AAMrD,mEAQqC;AACrC,2DAAkD;AAElD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,EAAE,WAAW,EAAE,GAAG,GAAG,CAAC,GAAG,CAAA;IAC/B,IAAI,CAAC,WAAW;QAAE,OAAM;IACxB,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;QACjC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,cAAc,EAAE;QACvC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE;YACxB,IAAI,CAAC;gBACH,OAAO,MAAM,IAAA,4CAAyB,EAAC,GAAG,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAA;YACzE,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,IAAI,GAAG,YAAY,gBAAS,IAAI,GAAG,CAAC,KAAK,KAAK,UAAU,EAAE,CAAC;oBACzD,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;oBAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;oBAEtC,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,IAAI,IAAA,6BAAU,EAAC,GAAG,CAAC,OAAO,CAAC,CAAA;oBAClD,IAAI,CAA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cAAG,CAAC,wBAAwB,CAAC,CACtE,CAAA;YACD,MAAM,CAAC,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,MAAM,CAAA;QACxC,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,aAAa;QACf,CAAC;IACH,CAAC;IACD,OAAO;QACL,IAAI,EAAE;YACJ,MAAM;SACP;QACD,GAAG,EAAE,IAAA,8BAAW,EAAC,KAAK,CAAC;KACxB,CAAA;AACH,CAAC,CAAA;AAED,MAAM,gBAAgB,GAAG,CAAC,MAAsB,EAAsB,EAAE;IACtE,IAAI,IAAA,uBAAgB,EAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QACpC,OAAO,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;IACxC,CAAC;SAAM,CAAC;QACN,OAAQ,MAAM,CAAC,IAAI,CAAC,MAAqB,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,CAAA;IAC7D,CAAC;AACH,CAAC,CAAA"}
|
package/dist/config/config.d.ts
CHANGED
@@ -89,6 +89,7 @@ export type ProxyConfig = {
|
|
89
89
|
headersTimeout: number;
|
90
90
|
bodyTimeout: number;
|
91
91
|
maxResponseSize: number;
|
92
|
+
maxRetries: number;
|
92
93
|
/**
|
93
94
|
* When proxying requests that might get intercepted (for read-after-write) we
|
94
95
|
* negotiate the encoding based on the client's preferences. We will however
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAKzC,eAAO,MAAM,QAAQ,QAAS,iBAAiB,KAAG,
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAA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,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB,GACD;IAAE,OAAO,EAAE,KAAK,CAAA;CAAE,CAAA;AAEtB,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA"}
|
package/dist/config/config.js
CHANGED
@@ -209,6 +209,9 @@ const envToCfg = (env) => {
|
|
209
209
|
headersTimeout: env.proxyHeadersTimeout ?? 10e3,
|
210
210
|
bodyTimeout: env.proxyBodyTimeout ?? 30e3,
|
211
211
|
maxResponseSize: env.proxyMaxResponseSize ?? 10 * 1024 * 1024, // 10mb
|
212
|
+
maxRetries: env.proxyMaxRetries != null && env.proxyMaxRetries > 0
|
213
|
+
? env.proxyMaxRetries
|
214
|
+
: 0,
|
212
215
|
preferCompressed: env.proxyPreferCompressed ?? false,
|
213
216
|
};
|
214
217
|
const oauthCfg = entrywayCfg
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA4B;AAC5B,8DAAgC;AAChC,4CAAmD;AAInD,iCAAiC;AACjC,gEAAgE;AAEzD,MAAM,QAAQ,GAAG,CAAC,GAAsB,EAAgB,EAAE;IAC/D,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,IAAI,IAAI,CAAA;IAC7B,MAAM,QAAQ,GAAG,GAAG,CAAC,QAAQ,IAAI,WAAW,CAAA;IAC5C,MAAM,SAAS,GACb,QAAQ,KAAK,WAAW;QACtB,CAAC,CAAC,oBAAoB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3B,GAAG,EAAE,kBAAkB;yBACxB;wBACD;4BACE,KAAK,EAAE,gBAAgB;4BACvB,IAAI,EAAE,GAAG,CAAC,gBAAgB;4BAC1B,GAAG,EAAE,gBAAgB;yBACtB;wBACD;4BACE,KAAK,EAAE,SAAS;4BAChB,IAAI,EAAE,GAAG,CAAC,UAAU;4BACpB,GAAG,EAAE,MAAM;yBACZ;qBACF,CAAC,MAAM,CACN,CAAC,CAAC,EAA6D,EAAE,CAC/D,CAAC,CAAC,IAAI,IAAI,IAAI,CACjB;iBACF;aACF;SACF,CAAA;IAEL,OAAO;QACL,OAAO,EAAE,UAAU;QACnB,EAAE,EAAE,KAAK;QACT,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,QAAQ,EAAE,WAAW;QACrB,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,UAAU;QACnB,KAAK,EAAE,QAAQ;QACf,eAAe,EAAE,kBAAkB;QACnC,YAAY,EAAE,eAAe;QAC7B,WAAW,EAAE,cAAc;QAC3B,UAAU,EAAE,aAAa;QACzB,aAAa,EAAE,gBAAgB;QAC/B,KAAK,EAAE,QAAQ;QACf,UAAU,EAAE,aAAa;QACzB,QAAQ,EAAE,WAAW;QACrB,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,QAAQ;KAChB,CAAA;AACH,CAAC,CAAA;AAxTY,QAAA,QAAQ,YAwTpB"}
|
package/dist/config/env.d.ts
CHANGED
package/dist/config/env.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/config/env.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,QAAO,
|
1
|
+
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/config/env.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,QAAO,iBAmI1B,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAE9B,IAAI,C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E,MAAM,CAAA;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IAGnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IAGtB,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,+BAA+B,CAAC,EAAE,MAAM,CAAA;IAGxC,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAG/B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC,CAAA"}
|
package/dist/config/env.js
CHANGED
@@ -106,6 +106,7 @@ const readEnv = () => {
|
|
106
106
|
proxyHeadersTimeout: (0, common_1.envInt)('PDS_PROXY_HEADERS_TIMEOUT'),
|
107
107
|
proxyBodyTimeout: (0, common_1.envInt)('PDS_PROXY_BODY_TIMEOUT'),
|
108
108
|
proxyMaxResponseSize: (0, common_1.envInt)('PDS_PROXY_MAX_RESPONSE_SIZE'),
|
109
|
+
proxyMaxRetries: (0, common_1.envInt)('PDS_PROXY_MAX_RETRIES'),
|
109
110
|
proxyPreferCompressed: (0, common_1.envBool)('PDS_PROXY_PREFER_COMPRESSED'),
|
110
111
|
};
|
111
112
|
};
|
package/dist/config/env.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"env.js","sourceRoot":"","sources":["../../src/config/env.ts"],"names":[],"mappings":";;;AAAA,4CAAkE;AAE3D,MAAM,OAAO,GAAG,GAAsB,EAAE;IAC7C,OAAO;QACL,UAAU;QACV,IAAI,EAAE,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,6BAA6B,CAAC;QAE7D,QAAQ;QACR,oBAAoB,EAAE,IAAA,eAAM,EAAC,6BAA6B,CAAC;QAE3D,QAAQ;QACR,eAAe,EAAE,IAAA,gBAAO,EAAC,uBAAuB,CAAC;QACjD,mBAAmB,EAAE,IAAA,eAAM,EAAC,2BAA2B,CAAC;QACxD,gBAAgB,EAAE,IAAA,eAAM,EAAC,wBAAwB,CAAC;QAClD,oBAAoB,EAAE,IAAA,eAAM,EAAC,6BAA6B,CAAC;QAC3D,eAAe,EAAE,IAAA,eAAM,EAAC,uBAAuB,CAAC;QAChD,qBAAqB,EAAE,IAAA,gBAAO,EAAC,6BAA6B,CAAC;KAC9D,CAAA;AACH,CAAC,CAAA;AAnIY,QAAA,OAAO,WAmInB"}
|
package/dist/context.d.ts
CHANGED
@@ -38,7 +38,7 @@ export type AppContextOptions = {
|
|
38
38
|
moderationAgent?: AtpAgent;
|
39
39
|
reportingAgent?: AtpAgent;
|
40
40
|
entrywayAgent?: AtpAgent;
|
41
|
-
proxyAgent: undici.
|
41
|
+
proxyAgent: undici.Dispatcher;
|
42
42
|
safeFetch: Fetch;
|
43
43
|
authProvider?: PdsOAuthProvider;
|
44
44
|
authVerifier: AuthVerifier;
|
@@ -64,7 +64,7 @@ export declare class AppContext {
|
|
64
64
|
moderationAgent: AtpAgent | undefined;
|
65
65
|
reportingAgent: AtpAgent | undefined;
|
66
66
|
entrywayAgent: AtpAgent | undefined;
|
67
|
-
proxyAgent: undici.
|
67
|
+
proxyAgent: undici.Dispatcher;
|
68
68
|
safeFetch: Fetch;
|
69
69
|
authVerifier: AuthVerifier;
|
70
70
|
authProvider?: PdsOAuthProvider;
|
package/dist/context.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAEhC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;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UxD,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;CAS3D;AAED,eAAe,UAAU,CAAA"}
|
package/dist/context.js
CHANGED
@@ -314,7 +314,7 @@ class AppContext {
|
|
314
314
|
appviewCdnUrlPattern: cfg.bskyAppView?.cdnUrlPattern,
|
315
315
|
});
|
316
316
|
// An agent for performing HTTP requests based on user provided URLs.
|
317
|
-
const
|
317
|
+
const proxyAgentBase = new undici.Agent({
|
318
318
|
allowH2: cfg.proxy.allowHTTP2, // This is experimental
|
319
319
|
headersTimeout: cfg.proxy.headersTimeout,
|
320
320
|
maxResponseSize: cfg.proxy.maxResponseSize,
|
@@ -335,6 +335,13 @@ class AppContext {
|
|
335
335
|
lookup: cfg.proxy.disableSsrfProtection ? undefined : fetch_node_1.unicastLookup,
|
336
336
|
},
|
337
337
|
});
|
338
|
+
const proxyAgent = cfg.proxy.maxRetries > 0
|
339
|
+
? new undici.RetryAgent(proxyAgentBase, {
|
340
|
+
statusCodes: [], // Only retry on socket errors
|
341
|
+
methods: ['GET', 'HEAD'],
|
342
|
+
maxRetries: cfg.proxy.maxRetries,
|
343
|
+
})
|
344
|
+
: proxyAgentBase;
|
338
345
|
// A fetch() function that protects against SSRF attacks, large responses &
|
339
346
|
// known bad domains. This function can safely be used to fetch user
|
340
347
|
// provided URLs (unless "disableSsrfProtection" is true, of course).
|
package/dist/context.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAAgC;AAChC,+CAAgC;AAChC,uDAAwC;AAExC,kDAAmC;AACnC,yDAMiC;AACjC,wDAAyC;AACzC,gDAA8C;AAC9C,sCAAuC;AACvC,sCAAsD;AACtD,4DAAgE;AAEhE,sDAM6B;AAG7B,+CAAmD;AACnD,mDAIwB;AACxB,qCAAsC;AACtC,qCAAuC;AACvC,oDAAsD;AACtD,uDAAkD;AAClD,2CAAuC;AACvC,6CAA8C;AAC9C,2CAA4C;AAC5C,yCAAqC;AACrC,qDAAgD;AAChD,mCAAwC;AACxC,+CAA0C;AAC1C,sDAA2E;AA6B3E,MAAa,UAAU;IA0BrB,YAAY,IAAuB;QAzB5B;;;;;WAAsB;QACtB;;;;;WAAqC;QACrC;;;;;WAA+B;QAC/B;;;;;WAAoB;QACpB;;;;;WAAkC;QAClC;;;;;WAAwB;QACxB;;;;;WAAsB;QACtB;;;;;WAAqB;QACrB;;;;;WAA8B;QAC9B;;;;;WAAoB;QACpB;;;;;WAAgC;QAChC;;;;;WAAoB;QACpB;;;;;WAAqC;QACrC;;;;;WAAkB;QAClB;;;;;WAAkC;QAClC;;;;;WAAqC;QACrC;;;;;WAAoC;QACpC;;;;;WAAmC;QACnC;;;;;
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAAgC;AAChC,+CAAgC;AAChC,uDAAwC;AAExC,kDAAmC;AACnC,yDAMiC;AACjC,wDAAyC;AACzC,gDAA8C;AAC9C,sCAAuC;AACvC,sCAAsD;AACtD,4DAAgE;AAEhE,sDAM6B;AAG7B,+CAAmD;AACnD,mDAIwB;AACxB,qCAAsC;AACtC,qCAAuC;AACvC,oDAAsD;AACtD,uDAAkD;AAClD,2CAAuC;AACvC,6CAA8C;AAC9C,2CAA4C;AAC5C,yCAAqC;AACrC,qDAAgD;AAChD,mCAAwC;AACxC,+CAA0C;AAC1C,sDAA2E;AA6B3E,MAAa,UAAU;IA0BrB,YAAY,IAAuB;QAzB5B;;;;;WAAsB;QACtB;;;;;WAAqC;QACrC;;;;;WAA+B;QAC/B;;;;;WAAoB;QACpB;;;;;WAAkC;QAClC;;;;;WAAwB;QACxB;;;;;WAAsB;QACtB;;;;;WAAqB;QACrB;;;;;WAA8B;QAC9B;;;;;WAAoB;QAC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AAC,kBAAkB,CAAC,GAAW,EAAE,GAAW;QAC/C,IAAA,qBAAM,EAAC,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,CAAA;QAC5B,OAAO,IAAI,CAAC,kBAAkB,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;IACpE,CAAC;IAED,KAAK,CAAC,kBAAkB,CAAC,GAAW,EAAE,GAAW,EAAE,GAAW;QAC5D,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAClD,OAAO,IAAA,sCAAwB,EAAC;YAC9B,GAAG,EAAE,GAAG;YACR,GAAG;YACH,GAAG;YACH,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,GAAW,EAAE,GAAW,EAAE,GAAW;QACxD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAClD,OAAO,IAAA,8BAAgB,EAAC;YACtB,GAAG,EAAE,GAAG;YACR,GAAG;YACH,GAAG;YACH,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;CACF;AAlVD,gCAkVC;AAED,kBAAe,UAAU,CAAA"}
|
package/dist/lexicon/index.d.ts
CHANGED
@@ -127,6 +127,7 @@ import * as AppBskyNotificationListNotifications from './types/app/bsky/notifica
|
|
127
127
|
import * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences';
|
128
128
|
import * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush';
|
129
129
|
import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
130
|
+
import * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig';
|
130
131
|
import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators';
|
131
132
|
import * as AppBskyUnspeccedGetSuggestionsSkeleton from './types/app/bsky/unspecced/getSuggestionsSkeleton';
|
132
133
|
import * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecced/getTaggedSuggestions';
|
@@ -172,6 +173,9 @@ import * as ToolsOzoneSetDeleteValues from './types/tools/ozone/set/deleteValues
|
|
172
173
|
import * as ToolsOzoneSetGetValues from './types/tools/ozone/set/getValues';
|
173
174
|
import * as ToolsOzoneSetQuerySets from './types/tools/ozone/set/querySets';
|
174
175
|
import * as ToolsOzoneSetUpsertSet from './types/tools/ozone/set/upsertSet';
|
176
|
+
import * as ToolsOzoneSettingListOptions from './types/tools/ozone/setting/listOptions';
|
177
|
+
import * as ToolsOzoneSettingRemoveOptions from './types/tools/ozone/setting/removeOptions';
|
178
|
+
import * as ToolsOzoneSettingUpsertOption from './types/tools/ozone/setting/upsertOption';
|
175
179
|
import * as ToolsOzoneSignatureFindCorrelation from './types/tools/ozone/signature/findCorrelation';
|
176
180
|
import * as ToolsOzoneSignatureFindRelatedAccounts from './types/tools/ozone/signature/findRelatedAccounts';
|
177
181
|
import * as ToolsOzoneSignatureSearchAccounts from './types/tools/ozone/signature/searchAccounts';
|
@@ -450,6 +454,7 @@ export declare class AppBskyRichtextNS {
|
|
450
454
|
export declare class AppBskyUnspeccedNS {
|
451
455
|
_server: Server;
|
452
456
|
constructor(server: Server);
|
457
|
+
getConfig<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetConfig.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetConfig.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
453
458
|
getPopularFeedGenerators<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetPopularFeedGenerators.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetPopularFeedGenerators.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
454
459
|
getSuggestionsSkeleton<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetSuggestionsSkeleton.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetSuggestionsSkeleton.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
455
460
|
getTaggedSuggestions<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetTaggedSuggestions.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetTaggedSuggestions.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
@@ -515,6 +520,7 @@ export declare class ToolsOzoneNS {
|
|
515
520
|
moderation: ToolsOzoneModerationNS;
|
516
521
|
server: ToolsOzoneServerNS;
|
517
522
|
set: ToolsOzoneSetNS;
|
523
|
+
setting: ToolsOzoneSettingNS;
|
518
524
|
signature: ToolsOzoneSignatureNS;
|
519
525
|
team: ToolsOzoneTeamNS;
|
520
526
|
constructor(server: Server);
|
@@ -555,6 +561,13 @@ export declare class ToolsOzoneSetNS {
|
|
555
561
|
querySets<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneSetQuerySets.Handler<ExtractAuth<AV>>, ToolsOzoneSetQuerySets.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
556
562
|
upsertSet<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneSetUpsertSet.Handler<ExtractAuth<AV>>, ToolsOzoneSetUpsertSet.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
557
563
|
}
|
564
|
+
export declare class ToolsOzoneSettingNS {
|
565
|
+
_server: Server;
|
566
|
+
constructor(server: Server);
|
567
|
+
listOptions<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneSettingListOptions.Handler<ExtractAuth<AV>>, ToolsOzoneSettingListOptions.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
568
|
+
removeOptions<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneSettingRemoveOptions.Handler<ExtractAuth<AV>>, ToolsOzoneSettingRemoveOptions.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
569
|
+
upsertOption<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneSettingUpsertOption.Handler<ExtractAuth<AV>>, ToolsOzoneSettingUpsertOption.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
570
|
+
}
|
558
571
|
export declare class ToolsOzoneSignatureNS {
|
559
572
|
_server: Server;
|
560
573
|
constructor(server: Server);
|