the universal sandbox runtime for agents and humans. pocketenv.io
sandbox openclaw agent claude-code vercel-sandbox deno-sandbox cloudflare-sandbox atproto sprites daytona
at main 12 lines 389 B view raw
1import { client } from "."; 2import type { Profile } from "../types/profile"; 3 4export const getCurrentProfile = () => 5 client.get<Profile>(`/xrpc/io.pocketenv.actor.getProfile`, { 6 headers: { 7 Authorization: `Bearer ${localStorage.getItem("token")}`, 8 }, 9 }); 10 11export const getProfile = (did: string) => 12 client.get<Profile>(`/xrpc/io.pocketenv.actor.getProfile?did=${did}`);