diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-12-22 09:17:07 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-12-22 09:17:07 -0600 |
commit | 4913a07e3365d2004e67e9131dd4b4c15094dd33 (patch) | |
tree | 6247f7fe52fdc8a6b29143f1d2f247b4e28987ec /src/state/lib/api.ts | |
parent | 7f4a54ff0d83983460e787fde21707405acc38b0 (diff) | |
download | voidsky-4913a07e3365d2004e67e9131dd4b4c15094dd33.tar.zst |
Unvendor the api and switch to @atproto/api
Diffstat (limited to 'src/state/lib/api.ts')
-rw-r--r-- | src/state/lib/api.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/state/lib/api.ts b/src/state/lib/api.ts index ec4338b73..f0f33d134 100644 --- a/src/state/lib/api.ts +++ b/src/state/lib/api.ts @@ -4,11 +4,13 @@ */ // import {ReactNativeStore} from './auth' -import {sessionClient as AtpApi} from '../../third-party/api' +import { + sessionClient as AtpApi, + APP_BSKY_GRAPH, + AppBskyEmbedImages, + AppBskyEmbedExternal, +} from '@atproto/api' import {AtUri} from '../../third-party/uri' -import {APP_BSKY_GRAPH} from '../../third-party/api' -import * as AppBskyEmbedImages from '../../third-party/api/src/client/types/app/bsky/embed/images' -import * as AppBskyEmbedExternal from '../../third-party/api/src/client/types/app/bsky/embed/External' import {RootStoreModel} from '../models/root-store' import {extractEntities} from '../../lib/strings' import {isNetworkError} from '../../lib/errors' |