Calculation API
TypeScript SDK
The public TypeScript SDK is coming soon. Closed-beta docs are cURL/OpenAPI-first until the SDK is installable outside the private monorepo.
Code
The current workspace package (@pokerworks/developer-api-sdk) is private and depends on internal
monorepo packages. Do not use that name or import path in external integrations.
When published, @pokerworks/sdk will use a product API key (pw_test_ / pw_live_) for
calculation calls. Management-plane automation uses pw_mgmt_ tokens and will have a separate
public package later.
What to use during beta
- Get started with cURL.
- Use the API reference as the public contract.
- Keep product API keys server-side.
SDK rules
- The public package name is reserved for
@pokerworks/sdk, not@pokerworks/developer-api-sdk. - Runtime dependencies must not require private
@pokerworks/*workspace packages. - Types come from the public OpenAPI contract, not internal DTOs.
- Examples must be runnable with a closed-beta test key and safe sample data.
- No browser-only usage. Keep
pw_test_…andpw_live_…keys in trusted server code only.