Run codemod for replacing BskyAgent with AtpAgent (#10862)

This commit is contained in:
DS Boyce
2026-06-11 08:46:01 -07:00
committed by GitHub
parent e3e7db2350
commit c8634105c1
37 changed files with 195 additions and 134 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import {type AppBskyEmbedExternal, type BskyAgent} from '@atproto/api'
import {type AppBskyEmbedExternal, type AtpAgent} from '@atproto/api'
import {LINK_META_PROXY} from '#/lib/constants'
import {getGiphyMetaUri} from '#/lib/strings/embed-player'
@@ -31,7 +31,7 @@ export interface LinkMeta {
}
export async function getLinkMeta(
agent: BskyAgent,
agent: AtpAgent,
url: string,
timeout = 15e3,
): Promise<LinkMeta> {