From 4a754981a151b220d4cf26ca5684db30a4a63dc2 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 26 Feb 2025 10:36:50 -0600 Subject: [PATCH] Bump SDK --- package.json | 2 +- src/components/moderation/ReportDialog/index.tsx | 3 --- yarn.lock | 14 ++++++++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 02286f9874..182bfe6500 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "icons:optimize": "svgo -f ./assets/icons" }, "dependencies": { - "@atproto/api": "^0.14.0", + "@atproto/api": "^0.14.7", "@bitdrift/react-native": "^0.6.8", "@braintree/sanitize-url": "^6.0.2", "@discord/bottom-sheet": "bluesky-social/react-native-bottom-sheet", diff --git a/src/components/moderation/ReportDialog/index.tsx b/src/components/moderation/ReportDialog/index.tsx index a035aed458..36422a853c 100644 --- a/src/components/moderation/ReportDialog/index.tsx +++ b/src/components/moderation/ReportDialog/index.tsx @@ -105,7 +105,6 @@ function Inner(props: ReportDialogProps) { if (!allLabelers) return [] return allLabelers .filter(l => { - // @ts-expect-error TODO const subjectTypes: string[] | undefined = l.subjectTypes if (subjectTypes === undefined) return true if (props.subject.type === 'account') { @@ -117,7 +116,6 @@ function Inner(props: ReportDialogProps) { } }) .filter(l => { - // @ts-expect-error TODO const collections: string[] | undefined = l.subjectCollections if (collections === undefined) return true // all chat collections accepted, since only Bluesky handles chats @@ -126,7 +124,6 @@ function Inner(props: ReportDialogProps) { }) .filter(l => { if (!state.selectedOption) return true - // @ts-expect-error TODO const reasonTypes: string[] | undefined = l.reasonTypes if (reasonTypes === undefined) return true return reasonTypes.includes(state.selectedOption.reason) diff --git a/yarn.lock b/yarn.lock index 47328fc606..94fa1b821a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -80,6 +80,20 @@ tlds "^1.234.0" zod "^3.23.8" +"@atproto/api@^0.14.7": + version "0.14.7" + resolved "https://registry.yarnpkg.com/@atproto/api/-/api-0.14.7.tgz#3ffa02d6b3baf9e265dab170367ffade08023567" + integrity sha512-YG2kvAtsgtajLlLrorYuHcxGgepG0c/RUB2/iJyBnwKjGqDLG8joOETf38JSNiGzs6NJbNKa9NHG6BQKourxBA== + dependencies: + "@atproto/common-web" "^0.4.0" + "@atproto/lexicon" "^0.4.7" + "@atproto/syntax" "^0.3.3" + "@atproto/xrpc" "^0.6.9" + await-lock "^2.2.2" + multiformats "^9.9.0" + tlds "^1.234.0" + zod "^3.23.8" + "@atproto/aws@^0.2.15": version "0.2.15" resolved "https://registry.yarnpkg.com/@atproto/aws/-/aws-0.2.15.tgz#edc534a420b4da37e2f049d471bf40df93447a25"