- @settlekit/app-kit: port/adapter wrapper over @circle-fin/app-kit (zero new external dep; consumer injects new AppKit()). - Validated, Result-typed ArcPaymentClient: send/estimateSend/bridge/swap/deposit/spend with chain+token allow-lists, kit-key gating for swap, normalized TransferResult, typed SettleKitError mapping (retryable integration_error vs payment_failed). - LocalAppKitSdk: deterministic in-memory client for tests/demos. - ArcSettlementProvider: implements settlement-core SettlementProvider via arc.send() with withIdempotency — the 'go live on Arc' seam for the worker's settlement jobs. - 22 tests; covers eCommerce checkout (send/bridge) and Stablecoin FX (swap) use-cases.
28 lines
558 B
JSON
28 lines
558 B
JSON
{
|
|
"name": "@settlekit/app-kit",
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": ["dist"],
|
|
"scripts": {
|
|
"build": "tsc -b",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@settlekit/common": "workspace:*",
|
|
"@settlekit/settlement-core": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.14.0",
|
|
"typescript": "^5.5.4",
|
|
"vitest": "^2.0.5"
|
|
}
|
|
}
|