frontend client for gemstone. decentralised workplace app

refactor: rename export

serenity b01bfe5f fd2bb791

Changed files
+3 -3
src
lib
utils
atproto
queries
+1 -1
src/lib/utils/atproto/client.ts
···
import type {} from "@atcute/bluesky";
const handler = simpleFetchHandler({ service: "https://public.api.bsky.app" });
-
export const client = new Client({ handler });
+
export const atprotoClient = new Client({ handler });
+2 -2
src/queries/get-profile.ts
···
import type { DidPlc, DidWeb } from "@/lib/types/atproto";
-
import { client } from "@/lib/utils/atproto/client";
+
import { atprotoClient } from "@/lib/utils/atproto/client";
export const getBskyProfile = async (did: DidPlc | DidWeb) => {
-
const { ok, data } = await client.get("app.bsky.actor.getProfile", {
+
const { ok, data } = await atprotoClient.get("app.bsky.actor.getProfile", {
params: {
actor: did,
},