// import { XhsClient } from '../src/index.js'; import { XhsClient } from '../dist/app'; import { cookie } from './common.ts'; const client = new XhsClient({ cookie } as any); client.getSelfInfoV2().then((res) => { console.log(res); });