settlekit/apps/examples/package.json
pextacy 71e89bdfd8 feat(lepton): attribution package (RFB 6.01) + creator-dashboard
Adds @settlekit/attribution — reuse-detection, weighted provenance lineage,
and HMAC-signed proofs-of-citation — wired live into the rsshub-citation-toll
sidecar (POST /attribution/{detect,proof,verify}) and persisted via
PgLineageStore/PgProofStore over new lepton_lineage_edges + lepton_citation_proofs
tables.

Adds apps/creator-dashboard — a Next.js earnings view in the Statement
greenbar-ledger design system, driven by real domain logic (createSource +
computeRoyaltyDistribution + detectReuse, not mocks). Statement / Sources /
Payouts / Reuse & proofs (interactive) / Wallet. next build green.

Also bundles in-progress settlement hardening: settlement-core idempotency
concurrency, api env validation, bundles + contracts/worker tweaks.

Verified: 943 vitest tests, 27 Foundry tests, next build all green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 01:19:22 +03:00

34 lines
1.1 KiB
JSON

{
"name": "@settlekit/examples",
"version": "0.0.0",
"private": true,
"type": "module",
"description": "Runnable, end-to-end examples that exercise the real @settlekit packages: SaaS entitlements, x402 paid APIs, license verification, GitHub repo sales, and bundle checkout.",
"scripts": {
"start": "node --import tsx src/run-all.ts",
"saas": "node --import tsx src/saas-entitlement-check.ts",
"x402": "node --import tsx src/x402-paid-api.ts",
"license": "node --import tsx src/license-verify.ts",
"github": "node --import tsx src/github-repo-sale.ts",
"bundle": "node --import tsx src/bundle-checkout.ts",
"build": "tsc -b",
"typecheck": "tsc -b",
"test": "vitest run"
},
"dependencies": {
"@settlekit/bundles": "workspace:*",
"@settlekit/common": "workspace:*",
"@settlekit/delivery": "workspace:*",
"@settlekit/entitlements": "workspace:*",
"@settlekit/license-keys": "workspace:*",
"@settlekit/saas": "workspace:*",
"@settlekit/x402": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.14.0",
"tsx": "^4.19.2",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
}
}