2026-06-15 10:49:14 +03:00
|
|
|
{
|
|
|
|
|
"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",
|
2026-06-19 22:42:30 +03:00
|
|
|
"lepton": "node --import tsx src/lepton-nanopayments.ts",
|
2026-06-20 23:42:01 +03:00
|
|
|
"arc-commerce": "node --import tsx src/arc-commerce.ts",
|
2026-06-20 23:57:15 +03:00
|
|
|
"erc8004-agent": "node --import tsx src/erc8004-agent.ts",
|
|
|
|
|
"erc8183-job": "node --import tsx src/erc8183-job.ts",
|
2026-06-15 10:49:14 +03:00
|
|
|
"build": "tsc -b",
|
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
|
|
|
"typecheck": "tsc -b",
|
2026-09-29 17:55:31 +03:00
|
|
|
"test": "vitest run",
|
|
|
|
|
"agent-buy-solana": "node --import tsx src/agent-buy-solana.ts",
|
|
|
|
|
"agent-buy-evm": "node --import tsx src/agent-buy-evm.ts",
|
|
|
|
|
"agent-buy-tempo": "node --import tsx src/agent-buy-tempo.ts"
|
2026-06-15 10:49:14 +03:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2026-06-20 23:42:01 +03:00
|
|
|
"@settlekit/app-kit": "workspace:*",
|
2026-06-15 10:49:14 +03:00
|
|
|
"@settlekit/bundles": "workspace:*",
|
|
|
|
|
"@settlekit/common": "workspace:*",
|
|
|
|
|
"@settlekit/delivery": "workspace:*",
|
|
|
|
|
"@settlekit/entitlements": "workspace:*",
|
2026-06-20 23:57:15 +03:00
|
|
|
"@settlekit/erc8004": "workspace:*",
|
|
|
|
|
"@settlekit/erc8183": "workspace:*",
|
2026-06-15 10:49:14 +03:00
|
|
|
"@settlekit/license-keys": "workspace:*",
|
2026-06-19 22:42:30 +03:00
|
|
|
"@settlekit/navidrome-scrobble": "workspace:*",
|
|
|
|
|
"@settlekit/oss-fund": "workspace:*",
|
|
|
|
|
"@settlekit/owncast-stream": "workspace:*",
|
|
|
|
|
"@settlekit/rsshub-citation-toll": "workspace:*",
|
2026-06-15 10:49:14 +03:00
|
|
|
"@settlekit/saas": "workspace:*",
|
2026-06-19 22:42:30 +03:00
|
|
|
"@settlekit/settlement-core": "workspace:*",
|
|
|
|
|
"@settlekit/x402": "workspace:*",
|
2026-09-29 17:55:31 +03:00
|
|
|
"@settlekit/x402-client": "workspace:*",
|
|
|
|
|
"@x402/core": "~2.27.0",
|
|
|
|
|
"@x402/evm": "~2.27.0",
|
|
|
|
|
"@x402/svm": "~2.27.0",
|
|
|
|
|
"@x402/fetch": "~2.27.0",
|
|
|
|
|
"@solana/kit": "5.5.1",
|
|
|
|
|
"mppx": "^0.11.0",
|
|
|
|
|
"viem": "^2.54.0"
|
2026-06-15 10:49:14 +03:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@types/node": "^20.14.0",
|
|
|
|
|
"tsx": "^4.19.2",
|
|
|
|
|
"typescript": "^5.5.4",
|
|
|
|
|
"vitest": "^2.0.5"
|
|
|
|
|
}
|
|
|
|
|
}
|