import { runSmokeTest } from './domain.ts' import type { ProductHuntIntegrationOptions } from './types.ts' /** * Verify Product Hunt auth and return the connected hunter plus one featured post. * @returns ok flag, viewer identity, and a featured post sample. * @example * import smokeTest from 'kody:@kentcdodds/producthunt/smoke-test' * const result = await smokeTest() * // => { ok: true, viewer: { username: 'kentcdodds' }, featuredPost: { slug: '...' } } */ export default async function smokeTestEntrypoint(params: ProductHuntIntegrationOptions = {}) { return await runSmokeTest(params) }