UNPKG

@lit-protocol/e2e

Version:

Lit Protocol E2E testing package for running comprehensive integration tests

8 lines (7 loc) 545 B
import { createAuthManager } from '@lit-protocol/auth'; import type { LitClient } from '@lit-protocol/lit-client'; import { privateKeyToAccount } from 'viem/accounts'; export type ViemAccount = ReturnType<typeof privateKeyToAccount>; export type LitClientInstance = LitClient; export type AuthManagerInstance = Awaited<ReturnType<typeof createAuthManager>>; export type AuthContext = Awaited<ReturnType<AuthManagerInstance['createEoaAuthContext'] | AuthManagerInstance['createPkpAuthContext'] | AuthManagerInstance['createCustomAuthContext']>>;