Whop starter module
Whop client library
Centralizes the Whop client, member identity, checkout, and access helpers.
- Files
- 4
- Lines
- 293
- Languages
- TypeScript
Included files
This page lists paths and purposes, not source contents.
FilePurposeLanguageLines
src/lib/app-adapter.ts
Connects Whop handlers to the application's orders, accounts, and access records.
TypeScript
123 lines
src/lib/env.ts
Reads Whop commerce settings and rejects missing or malformed values.
TypeScript
73 lines
src/lib/types.ts
Defines the app-owned records and adapter operations used by Whop commerce flows.
TypeScript
74 lines
src/lib/whop-client.ts
Creates the singleton Whop SDK client for sandbox or production requests.
TypeScript
23 lines