Repository navigation
JavaScript SDK 0.4.4
The installed client now identifies structured service refusals. A monthly credit denial raises CreditLimitExceededError, a lookback or plan denial raises TierGatedError, and both preserve the service message. Plain-text gateway responses remain supported.
Install the prebuilt package with npm install https://github.com/JacobiusMakes/parlay-api-js/releases/download/v0.4.4/parlay-api-0.4.4.tgz. The package check exercises eleven ordinary HTTP scenarios through both ES modules and CommonJS and compiles both TypeScript imports.