Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/linkedin

src/get-person-urn.ts

12 lines · 387 B · TypeScript
import { 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()
}