@atproto/ozone 0.1.0 → 0.1.2
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 +16 -0
- package/dist/index.js +3 -4
- package/dist/index.js.map +2 -2
- package/package.json +5 -5
- package/src/api/moderation/searchRepos.ts +4 -1
- package/src/daemon/blob-diverter.ts +3 -1
- package/src/mod-service/index.ts +0 -1
- package/src/mod-service/util.ts +1 -1
- package/tests/repo-search.test.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atproto/ozone
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`7dd9941b7`](https://github.com/bluesky-social/atproto/commit/7dd9941b73dbbd82601740e021cc87d765af60ca)]:
|
|
8
|
+
- @atproto/api@0.11.2
|
|
9
|
+
|
|
10
|
+
## 0.1.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`b95c3955d`](https://github.com/bluesky-social/atproto/commit/b95c3955d0b8263a44a3d2a46b35b1831d9e504a) Thanks [@devinivy](https://github.com/devinivy)! - Second pass on no false negs in labels
|
|
15
|
+
|
|
16
|
+
- Updated dependencies []:
|
|
17
|
+
- @atproto/api@0.11.1
|
|
18
|
+
|
|
3
19
|
## 0.1.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -111482,7 +111482,7 @@ function searchRepos_default(server, ctx) {
|
|
|
111482
111482
|
}
|
|
111483
111483
|
};
|
|
111484
111484
|
}
|
|
111485
|
-
const res = await ctx.appviewAgent.api.app.bsky.actor.searchActors(params2);
|
|
111485
|
+
const res = await ctx.appviewAgent.api.app.bsky.actor.searchActors(params2, await ctx.appviewAuth());
|
|
111486
111486
|
const repoMap = await modService.views.repos(res.data.actors.map((a) => a.did));
|
|
111487
111487
|
const repos = mapDefined(res.data.actors, (actor) => repoMap.get(actor.did));
|
|
111488
111488
|
return {
|
|
@@ -132461,7 +132461,7 @@ var signLabel = async (label, signingKey) => {
|
|
|
132461
132461
|
uri: uri2,
|
|
132462
132462
|
cid: cid2,
|
|
132463
132463
|
val,
|
|
132464
|
-
neg,
|
|
132464
|
+
neg: neg === true ? true : void 0,
|
|
132465
132465
|
cts,
|
|
132466
132466
|
exp
|
|
132467
132467
|
});
|
|
@@ -133648,7 +133648,6 @@ var ModerationService = class {
|
|
|
133648
133648
|
uri: uri2,
|
|
133649
133649
|
cid: cid2 ?? void 0,
|
|
133650
133650
|
val,
|
|
133651
|
-
neg: false,
|
|
133652
133651
|
cts: new Date().toISOString()
|
|
133653
133652
|
}));
|
|
133654
133653
|
const toNegate = negate.map((val) => ({
|
|
@@ -134086,7 +134085,7 @@ var BlobDiverter = class {
|
|
|
134086
134085
|
subjectDid,
|
|
134087
134086
|
subjectUri
|
|
134088
134087
|
}) {
|
|
134089
|
-
const url = new URL(this.serviceConfig.url);
|
|
134088
|
+
const url = new URL(`${this.serviceConfig.url}/xrpc/com.atproto.unspecced.reportBlob`);
|
|
134090
134089
|
url.searchParams.set("did", subjectDid);
|
|
134091
134090
|
if (subjectUri)
|
|
134092
134091
|
url.searchParams.set("uri", subjectUri);
|