From 8446efb739528af3e448c41777caf5452844eca7 Mon Sep 17 00:00:00 2001 From: DS Boyce <260543580+ds-boyce@users.noreply.github.com> Date: Wed, 4 Mar 2026 12:38:24 -0800 Subject: [PATCH] Pass feed URI to sendInteractions endpoint (#9989) --- package.json | 2 +- src/state/feed-feedback.tsx | 2 +- yarn.lock | 60 +++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3a01a48985..83d5b6ec26 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "icons:optimize": "svgo -f ./assets/icons" }, "dependencies": { - "@atproto/api": "^0.18.21", + "@atproto/api": "^0.19.1", "@bitdrift/react-native": "^0.6.8", "@braintree/sanitize-url": "^6.0.2", "@bsky.app/alf": "^0.1.7", diff --git a/src/state/feed-feedback.tsx b/src/state/feed-feedback.tsx index 5de6ef33a3..15c12e732d 100644 --- a/src/state/feed-feedback.tsx +++ b/src/state/feed-feedback.tsx @@ -153,7 +153,7 @@ export function useFeedFeedback( // Send to the feed agent.app.bsky.feed .sendInteractions( - {interactions: interactionsToSend}, + {interactions: interactionsToSend, feed: feed?.uri}, { encoding: 'application/json', headers: { diff --git a/yarn.lock b/yarn.lock index 17221294c4..3f8eb9f723 100644 --- a/yarn.lock +++ b/yarn.lock @@ -110,6 +110,20 @@ tlds "^1.234.0" zod "^3.23.8" +"@atproto/api@^0.19.1": + version "0.19.1" + resolved "https://registry.yarnpkg.com/@atproto/api/-/api-0.19.1.tgz#62c48595def4c968d94a96f83ed9ee369768de5d" + integrity sha512-GE94kx6PBsBAUcFne+cX3c77ZVr3/pvfeeG+GtZ1QFE8U9brrXoCoN6qwtOg6PfZk8UvpyCxLyWNfiC2GfCSJg== + dependencies: + "@atproto/common-web" "^0.4.18" + "@atproto/lexicon" "^0.6.2" + "@atproto/syntax" "^0.5.0" + "@atproto/xrpc" "^0.7.7" + await-lock "^2.2.2" + multiformats "^9.9.0" + tlds "^1.234.0" + zod "^3.23.8" + "@atproto/aws@^0.2.31": version "0.2.31" resolved "https://registry.yarnpkg.com/@atproto/aws/-/aws-0.2.31.tgz#e46d7db34ee57c4f9817269f1e73a7eddba2b9b8" @@ -224,6 +238,16 @@ "@atproto/syntax" "^0.4.3" zod "^3.23.8" +"@atproto/common-web@^0.4.18": + version "0.4.18" + resolved "https://registry.yarnpkg.com/@atproto/common-web/-/common-web-0.4.18.tgz#832976340457afd3d29345ad2c6f0ac0bff087dd" + integrity sha512-ilImzP+9N/mtse440kN60pGrEzG7wi4xsV13nGeLrS+Zocybc/ISOpKlbZM13o+twPJ+Q7veGLw9CtGg0GAFoQ== + dependencies: + "@atproto/lex-data" "^0.0.13" + "@atproto/lex-json" "^0.0.13" + "@atproto/syntax" "^0.5.0" + zod "^3.23.8" + "@atproto/common@0.1.0": version "0.1.0" resolved "https://registry.yarnpkg.com/@atproto/common/-/common-0.1.0.tgz#4216a8fef5b985ab62ac21252a0f8ca0f4a0f210" @@ -409,6 +433,16 @@ uint8arrays "3.0.0" unicode-segmenter "^0.14.0" +"@atproto/lex-data@^0.0.13": + version "0.0.13" + resolved "https://registry.yarnpkg.com/@atproto/lex-data/-/lex-data-0.0.13.tgz#db1bcfa12d5056210f6eb7f3b8bac909909d6b9c" + integrity sha512-7Z7RwZ1Y/JzBF/Tcn/I4UJ/vIGfh5zn1zjv0KX+flke2JtgFkSE8uh2hOtqgBQMNqE3zdJFM+dcSWln86hR3MQ== + dependencies: + multiformats "^9.9.0" + tslib "^2.8.1" + uint8arrays "3.0.0" + unicode-segmenter "^0.14.0" + "@atproto/lex-document@^0.0.13": version "0.0.13" resolved "https://registry.yarnpkg.com/@atproto/lex-document/-/lex-document-0.0.13.tgz#fcf794addf6cb328c78d4393e91ec0050a43c623" @@ -442,6 +476,14 @@ "@atproto/lex-data" "^0.0.11" tslib "^2.8.1" +"@atproto/lex-json@^0.0.13": + version "0.0.13" + resolved "https://registry.yarnpkg.com/@atproto/lex-json/-/lex-json-0.0.13.tgz#b0081f786aeeb1707087318fb03c928e75c19059" + integrity sha512-hwLhkKaIHulGJpt0EfXAEWdrxqM2L1tV/tvilzhMp3QxPqYgXchFnrfVmLsyFDx6P6qkH1GsX/XC2V36U0UlPQ== + dependencies: + "@atproto/lex-data" "^0.0.13" + tslib "^2.8.1" + "@atproto/lex-resolver@^0.0.14": version "0.0.14" resolved "https://registry.yarnpkg.com/@atproto/lex-resolver/-/lex-resolver-0.0.14.tgz#8bc32e49c231bc29ca0d1ea927b33d7a21447de3" @@ -477,6 +519,17 @@ multiformats "^9.9.0" zod "^3.23.8" +"@atproto/lexicon@^0.6.2": + version "0.6.2" + resolved "https://registry.yarnpkg.com/@atproto/lexicon/-/lexicon-0.6.2.tgz#f6152a2119df953236ca127c4b30e332265e81e7" + integrity sha512-p3Ly6hinVZW0ETuAXZMeUGwuMm3g8HvQMQ41yyEE6AL0hAkfeKFaZKos6BdBrr6CjkpbrDZqE8M+5+QOceysMw== + dependencies: + "@atproto/common-web" "^0.4.18" + "@atproto/syntax" "^0.5.0" + iso-datestring-validator "^2.2.2" + multiformats "^9.9.0" + zod "^3.23.8" + "@atproto/oauth-provider-api@0.3.7": version "0.3.7" resolved "https://registry.yarnpkg.com/@atproto/oauth-provider-api/-/oauth-provider-api-0.3.7.tgz#7b911256536a72dbba6f38081a200836a3ab50b8" @@ -679,6 +732,13 @@ dependencies: tslib "^2.8.1" +"@atproto/syntax@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@atproto/syntax/-/syntax-0.5.0.tgz#061ef538aee784f8e5fa1ea50a7f5beb4c276c9b" + integrity sha512-UA2DSpGdOQzUQ4gi5SH+NEJz/YR3a3Fg3y2oh+xETDSiTRmA4VhHRCojhXAVsBxUT6EnItw190C/KN+DWW90kw== + dependencies: + tslib "^2.8.1" + "@atproto/ws-client@^0.0.4": version "0.0.4" resolved "https://registry.yarnpkg.com/@atproto/ws-client/-/ws-client-0.0.4.tgz#9e436c0e72abea5da0d5a7e8ec862cec0fdb10cd"