{ "name": "l402-kit", "version": "1.10.1", "mcpName": "io.github.ThiagoDataEngineer/l402-kit", "description": "Add Bitcoin Lightning pay-per-call to any API in 3 lines. L402 protocol, zero config, 0.3% fee. npm install l402-kit", "homepage": "https://l402kit.com/docs", "repository": { "type": "git", "url": "https://github.com/ShinyDapps/l402-kit" }, "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.js", "types": "./dist/index.d.ts" }, "./agent": { "require": "./dist/agent/index.js", "import": "./dist/agent/index.js", "types": "./dist/agent/index.d.ts" } }, "bin": { "l402-kit-mcp": "dist/mcp/mcp/server.js" }, "files": [ "dist", "!dist/__tests__" ], "scripts": { "build": "tsc && npx tsc --project mcp/tsconfig.json", "prepack": "node -e \"['lightning.js','lightning.js.map','lightning.d.ts','lightning.d.ts.map'].forEach(f=>{try{require('fs').unlinkSync('dist/'+f)}catch(_){}})\"", "dev": "tsc --watch", "test": "jest --passWithNoTests", "test:all": "bash scripts/test-all.sh", "test:fast": "bash scripts/test-fast.sh", "test:fast:noRust": "bash scripts/test-fast.sh --skip-rust", "test:py": "cd python && python -m pytest tests/ -q", "test:rust": "cd rust && cargo test", "test:go": "cd go && go test ./...", "test:smoke": "bash tests/smoke.sh", "lint": "tsc --noEmit", "deploy:landing": "bash scripts/deploy-landing.sh", "smoke": "bash tests/smoke.sh" }, "keywords": [ "l402", "lightning", "bitcoin", "btc", "crypto", "cripto", "cryptocurrency", "criptomoeda", "blockchain", "web3", "http402", "micropayments", "pay-per-call", "payment-gateway", "lightning-network", "lightning-payment", "bolt11", "satoshi", "sats", "lnurl", "blink", "lnbits", "opennode", "breez", "macaroon", "monetize", "monetization", "api-monetization", "api-billing", "api-gateway", "paywall", "metered-api", "rate-limiting", "express", "middleware", "typescript", "nodejs", "ai-agent", "llm", "machine-learning", "wallet", "lightning-wallet", "crypto-wallet", "bitcoin-wallet", "api", "developer", "developer-tools", "devtools", "tools", "sdk", "dapps", "dapp", "decentralized", "decentralized-app", "defi", "defi-payment", "layer2", "layer-2", "l2" ], "author": "Thiago Yoshiaki", "license": "MIT", "peerDependencies": { "express": ">=4.0.0", "@getalby/sdk": ">=8.0.0" }, "peerDependenciesMeta": { "express": { "optional": true }, "@getalby/sdk": { "optional": true } }, "jest": { "projects": [ { "displayName": "sdk", "preset": "ts-jest", "testEnvironment": "node", "roots": [ "/src" ], "testMatch": [ "**/__tests__/**/*.test.ts" ], "testPathIgnorePatterns": [ "lnurl-auth\\.test\\.ts", "delete-data\\.test\\.ts", "visual\\.test\\.ts", "backend-integration\\.test\\.ts" ], "transform": { "^.+\\.ts$": [ "ts-jest", { "tsconfig": "tsconfig.json" } ] } }, { "displayName": "workers", "preset": "ts-jest", "testEnvironment": "node", "roots": [ "/cloudflare/src" ], "testMatch": [ "**/__tests__/**/*.test.ts" ], "transform": { "^.+\\.ts$": [ "ts-jest", { "tsconfig": "/cloudflare/tsconfig.test.json" } ] } }, "/vscode-extension/jest.config.js" ], "collectCoverageFrom": [ "src/**/*.ts", "cloudflare/src/**/*.ts", "!src/**/__tests__/**", "!cloudflare/src/**/__tests__/**" ] }, "devDependencies": { "@noble/curves": "^1.9.7", "@types/express": "^4.17.25", "@types/jest": "^29.5.14", "@types/node": "^20.0.0", "@types/supertest": "^6.0.2", "bech32": "^2.0.0", "express": "^4.21.0", "jest": "^29.7.0", "sharp": "^0.34.5", "supertest": "^7.1.0", "ts-jest": "^29.4.0", "typescript": "^5.4.0" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.29.0", "dotenv": "^17.4.2" } }