Skip to Content
DPSSDKsOverview

DPS SDKs

DPS publishes one package for apps built on top of it: @duabalabs/dps-client, which answers whether a user has an active subscription to your app.

Taking money — donations, one-off payments, subscriptions, invoices — is not done through DPS. Use @duabalabs/sellub-client, served by Sellub.

PackageWhat it’s forRuns in
@duabalabs/dps-clientCheck whether an email has an active subscription for an app — the gate in front of paid featuresBrowser, React Native, Node
npm install @duabalabs/dps-client parse

Mobile builds and releases

There is no SDK to install for mobile builds. DPS writes a GitHub Actions workflow into your app’s repository and builds there, using a deploy token you save as a repository secret — see Mobile builds & releases. From other CI systems, upload builds with the REST API under /api/v1 (API reference).

Versioning

dps-client is at 0.3.x. Below 1.0.0 a minor version may break, so pin an exact version in production.

Last updated on