Duaba Developer Documentation

One ecosystem.
Four engines. Built by Forge.

Everything Duabalabs builds, documented in one place — the Sellub, DPS, Connect, and 3y3anaa engines, the npm packages that power them, and how they all connect.

4
Core engines
12
npm packages
100%
TypeScript
1
Connected network

SDKs & Packages

Every module in the ecosystem

12 typed, published npm packages — the building blocks apps use to integrate with the Duaba engines.

Commerce · Sellub
@duabalabs/sellub-client
v0.8.0

Typed client for Sellub — external payments, subscriptions, invoices, and the Vendure Shop GraphQL API (catalog, cart, checkout, orders).

@duabalabs/sellub-types
v0.3.0

Shared TypeScript types & DTOs consumed by every Sellub package and server plugin.

@duabalabs/sellub-pricing
v1.0.0

The central pricing, plan, attribution & commission engine — one source of truth across server, dashboard, and storefront.

@duabalabs/sellub-webhooks
v0.3.0

Sign, verify, parse, and dispatch Sellub webhooks — get a typed event back on the consumer side.

@duabalabs/sellub-react
v0.1.0

React hooks & components for embedding catalog, checkout, and subscription gates into Next.js / Vite apps.

@duabalabs/sellub-react-native
v0.1.0

React Native hooks wrapping sellub-client with mobile-friendly patterns (offline cache, AsyncStorage session).

@duabalabs/sellub-embed
v0.1.0

Drop-in <script> embed that mounts a Sellub storefront on any HTML page. Zero build, no framework.

@duabalabs/sellub-cli
v0.2.0

Configure servers, run smoke tests, list channels, and check subscription status from the terminal.

Platform · DPS
@duabalabs/dps-client
v0.3.0

Typed client for the DPS subscription & event registry. (Payment & checkout flows live in sellub-client.)

@duabalabs/dps-cli
v0.1.0

Upload artifacts, create releases, and publish mobile apps from the command line.

Automation · Connect
@duabalabs/connect-client
v0.3.0

Typed client for DuabaConnect — scheduled social posts and parameterized n8n automations that other apps embed for their clients.

Trust · 3y3anaa
@duabalabs/reviews-sdk
v0.1.0

Framework-agnostic, server-side client for the centralized 3y3anaa reviews & trust platform.

Get Started in Minutes

Install a package, start building

Every SDK is published under the @duabalabs scope and ships ESM + CJS with full type definitions.

1
Install
Add the SDK for the engine you want to integrate.
2
Configure
Point it at your endpoint with a scoped app key.
3
Ship
Call the typed client from your server or app.
install
# Commerce
npm install @duabalabs/sellub-client

# Reviews & trust
npm install @duabalabs/reviews-sdk

# Social & automation
npm install @duabalabs/connect-client
reviews.ts
import { createReviewsClient } from '@duabalabs/reviews-sdk'

// scoped, server-side trust client
const reviews = createReviewsClient({
  apiUrl: process.env.THREEYANAA_API_URL,
  appKey: process.env.THREEYANAA_APP_KEY,
})