Skip to content
← Public packages

@kody/x

Look up X users and tweets, search recent posts, and preview guarded posts through saved OAuth.

FollowFork

Files

smoke-test.ts

13 lines · 458 B · TypeScript
import { smokeTest } from './client.ts'
import type { XAccountParams } from './client.ts'

/**
 * Read-only OAuth smoke: GET /users/me for the selected `x` / `x-*` integration.
 * HTTP 429 is treated as auth-plumbing-verified. Never posts.
 * @example
 * import smokeTest from 'kody:@kody/x/smoke-test'
 * const result = await smokeTest()
 */
export default async function smokeTestEntrypoint(params: XAccountParams = {}) {
	return await smokeTest(params)
}