feat: distribution layer — SDK, React, migrations, deploy infra (no CI/CD)
- @settlekit/sdk: typed fetch HTTP client over the REST API; one resource
client per /v1 resource (products, checkout, payments, entitlements,
licenseKeys, apiKeys, bundles, github, discord, saas, escrow, agentServices…),
AbortController timeouts, idempotency keys, SettleKitApiError envelope mapping.
- @settlekit/react: SettleKitProvider, useEntitlement/useCheckout/useCredits
hooks, <Paywall> + <UpgradeButton> (React 18, plan §4).
- database: drizzle.config.ts + generated drizzle/0000_init.sql (48 tables,
indexes, FKs) + db:generate/migrate/push/studio scripts.
- infra: README, ARCHITECTURE, CONTRIBUTING, .env.example, .dockerignore,
docker-compose.yml, per-app Dockerfiles + Dockerfile.next, Makefile.
No tests. No CI/CD pipelines.
2026-06-15 11:02:39 +03:00
|
|
|
{
|
|
|
|
|
"name": "@settlekit/react",
|
2026-09-30 06:34:16 +03:00
|
|
|
"version": "0.1.0",
|
|
|
|
|
"description": "React components and hooks for SettleKit checkout and access checks.",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"keywords": [
|
|
|
|
|
"settlekit",
|
|
|
|
|
"react",
|
|
|
|
|
"usdc",
|
|
|
|
|
"checkout"
|
|
|
|
|
],
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/caelum0x/settlekit.git",
|
|
|
|
|
"directory": "packages/react"
|
|
|
|
|
},
|
|
|
|
|
"homepage": "https://settlekit.dev",
|
feat: distribution layer — SDK, React, migrations, deploy infra (no CI/CD)
- @settlekit/sdk: typed fetch HTTP client over the REST API; one resource
client per /v1 resource (products, checkout, payments, entitlements,
licenseKeys, apiKeys, bundles, github, discord, saas, escrow, agentServices…),
AbortController timeouts, idempotency keys, SettleKitApiError envelope mapping.
- @settlekit/react: SettleKitProvider, useEntitlement/useCheckout/useCredits
hooks, <Paywall> + <UpgradeButton> (React 18, plan §4).
- database: drizzle.config.ts + generated drizzle/0000_init.sql (48 tables,
indexes, FKs) + db:generate/migrate/push/studio scripts.
- infra: README, ARCHITECTURE, CONTRIBUTING, .env.example, .dockerignore,
docker-compose.yml, per-app Dockerfiles + Dockerfile.next, Makefile.
No tests. No CI/CD pipelines.
2026-06-15 11:02:39 +03:00
|
|
|
"type": "module",
|
|
|
|
|
"main": "./dist/index.js",
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"default": "./dist/index.js"
|
|
|
|
|
}
|
|
|
|
|
},
|
2026-09-30 06:34:16 +03:00
|
|
|
"files": [
|
|
|
|
|
"dist",
|
|
|
|
|
"README.md",
|
|
|
|
|
"LICENSE"
|
|
|
|
|
],
|
feat: distribution layer — SDK, React, migrations, deploy infra (no CI/CD)
- @settlekit/sdk: typed fetch HTTP client over the REST API; one resource
client per /v1 resource (products, checkout, payments, entitlements,
licenseKeys, apiKeys, bundles, github, discord, saas, escrow, agentServices…),
AbortController timeouts, idempotency keys, SettleKitApiError envelope mapping.
- @settlekit/react: SettleKitProvider, useEntitlement/useCheckout/useCredits
hooks, <Paywall> + <UpgradeButton> (React 18, plan §4).
- database: drizzle.config.ts + generated drizzle/0000_init.sql (48 tables,
indexes, FKs) + db:generate/migrate/push/studio scripts.
- infra: README, ARCHITECTURE, CONTRIBUTING, .env.example, .dockerignore,
docker-compose.yml, per-app Dockerfiles + Dockerfile.next, Makefile.
No tests. No CI/CD pipelines.
2026-06-15 11:02:39 +03:00
|
|
|
"scripts": {
|
|
|
|
|
"build": "tsc -b"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@settlekit/common": "workspace:*"
|
|
|
|
|
},
|
|
|
|
|
"peerDependencies": {
|
|
|
|
|
"react": "^18.0.0",
|
|
|
|
|
"react-dom": "^18.0.0"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@types/node": "^20.14.0",
|
|
|
|
|
"@types/react": "^18.3.3",
|
|
|
|
|
"@types/react-dom": "^18.3.0",
|
|
|
|
|
"typescript": "^5.5.4"
|
2026-09-30 06:34:16 +03:00
|
|
|
},
|
|
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public"
|
|
|
|
|
},
|
|
|
|
|
"sideEffects": false
|
feat: distribution layer — SDK, React, migrations, deploy infra (no CI/CD)
- @settlekit/sdk: typed fetch HTTP client over the REST API; one resource
client per /v1 resource (products, checkout, payments, entitlements,
licenseKeys, apiKeys, bundles, github, discord, saas, escrow, agentServices…),
AbortController timeouts, idempotency keys, SettleKitApiError envelope mapping.
- @settlekit/react: SettleKitProvider, useEntitlement/useCheckout/useCredits
hooks, <Paywall> + <UpgradeButton> (React 18, plan §4).
- database: drizzle.config.ts + generated drizzle/0000_init.sql (48 tables,
indexes, FKs) + db:generate/migrate/push/studio scripts.
- infra: README, ARCHITECTURE, CONTRIBUTING, .env.example, .dockerignore,
docker-compose.yml, per-app Dockerfiles + Dockerfile.next, Makefile.
No tests. No CI/CD pipelines.
2026-06-15 11:02:39 +03:00
|
|
|
}
|