@kody/linkedin
src/get-person-urn.ts
12 lines · 387 B · TypeScriptimport { getPersonUrn } from './client.ts'
/**
* Return the LinkedIn author `personUrn` and OIDC userinfo for posting.
* @example
* import getPersonUrn from 'kody:@kody/linkedin/get-person-urn'
* const result = await getPersonUrn()
* // => { personUrn: 'urn:li:person:...', userinfo: { ... } }
*/
export default async function getPersonUrnEntrypoint() {
return getPersonUrn()
}