about summary refs log tree commit diff
path: root/bskyembed/src/screens/post.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-08-14 21:01:59 +0100
committerGitHub <noreply@github.com>2024-08-14 21:01:59 +0100
commitb6fa0d2d048b3c68d47d6fe502ca1b52096eb4c9 (patch)
treef9085702a4aa0f7bff0b568e2fef4c590f248289 /bskyembed/src/screens/post.tsx
parent21e214c23579e5ca45fed3ec563d4010e37562a2 (diff)
downloadvoidsky-b6fa0d2d048b3c68d47d6fe502ca1b52096eb4c9.tar.zst
[Embed] Starter pack embed embed (#4935)
* update @atproto/api

* add starter pack embed

* update depreciated BskyAgent to AtpAgent

* unrelated, but avoid direct import of type

* nits

* rm commented out code

---------

Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Diffstat (limited to 'bskyembed/src/screens/post.tsx')
-rw-r--r--bskyembed/src/screens/post.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bskyembed/src/screens/post.tsx b/bskyembed/src/screens/post.tsx
index 337bf0100..6ccf10a79 100644
--- a/bskyembed/src/screens/post.tsx
+++ b/bskyembed/src/screens/post.tsx
@@ -1,6 +1,6 @@
 import '../index.css'
 
-import {AppBskyFeedDefs, BskyAgent} from '@atproto/api'
+import {AppBskyFeedDefs, AtpAgent} from '@atproto/api'
 import {h, render} from 'preact'
 
 import logo from '../../assets/logo.svg'
@@ -12,7 +12,7 @@ import {getRkey} from '../utils'
 const root = document.getElementById('app')
 if (!root) throw new Error('No root element')
 
-const agent = new BskyAgent({
+const agent = new AtpAgent({
   service: 'https://public.api.bsky.app',
 })