···43434444```svelte
4545<script>
4646- import { initClient } from '$lib/oauth';
4646+ import { initClient } from '$lib/atproto';
47474848 let { children } = $props();
4949···114114115115```ts
116116// handlin login flow yourself
117117-import { user } from '$lib/oauth';
117117+import { user } from '$lib/atproto';
118118119119// methods:
120120user.login(handle);
···128128129129```svelte
130130<script>
131131- import { LoginModal, loginModalState } from '$lib/oauth';
131131+ import { LoginModal, loginModalState } from '$lib/atproto';
132132</script>
133133134134<LoginModal />
···141141Get the user's profile and make requests with the `user.client` object.
142142143143```ts
144144-import { user } from '$lib/oauth';
144144+import { user } from '$lib/atproto';
145145146146// make requests with the user.client object
147147// this example needs the getActorLikes rpc permission, set permissions
+1-1
src/routes/oauth-client-metadata.json/+server.ts
···11-import { metadata } from '$lib/oauth';
11+import { metadata } from '$lib/atproto';
22import { json } from '@sveltejs/kit';
3344export const prerender = true;