better-near-auth
Version:
Sign in with NEAR (SIWN) plugin for Better Auth
6 lines • 445 B
TypeScript
import type { AccountId, Profile, SocialImage } from "./types.js";
declare function getNetworkFromAccountId(accountId: string): "mainnet" | "testnet";
declare function getImageUrl(image: SocialImage | undefined, fallback?: string): string;
declare function defaultGetProfile(accountId: AccountId, apiKey?: string): Promise<Profile | null>;
export { defaultGetProfile, getImageUrl, getNetworkFromAccountId };
//# sourceMappingURL=profile.d.ts.map