cc289089cf
* not-custodial zap scaffolding * invoice forward state machine * small refinements to state machine * make wrap invoice work * get state machine working end to end * untested logic layout for paidAction invoice wraps * perform pessimisitic actions before outgoing payment * working end to end * remove unneeded params from wallets/server/createInvoice * fix cltv relative/absolute confusion + cancelling forwards * small refinements * add p2p wrap info to paidAction docs * fallback to SN invoice when wrap fails * fix paidAction retry description * consistent naming scheme for state machine * refinements * have sn pay bounded outbound fee * remove debug logging * reenable lnc permissions checks * don't p2p zap on item forward splits * make createInvoice params json encodeable * direct -> p2p badge on notifications * allow no tls in dev for core lightning * fix autowithdraw to create invoice with msats * fix autowithdraw msats/sats inconsitency * label p2p zaps properly in satistics * add fees to autowithdrawal notifications * add RETRYING as terminal paid action state * Update api/paidAction/README.md Co-authored-by: ekzyis <ek@stacker.news> * Update api/paidAction/README.md Co-authored-by: ekzyis <ek@stacker.news> * Update api/lnd/index.js Co-authored-by: ekzyis <ek@stacker.news> * ek suggestions * add bugetable to nwc card * get paranoid with numbers * better finalize retries and better max timeout height * refine forward failure transitions * more accurate satistics p2p status * make sure paidaction cancel in state machine only * dont drop bolt11s unless status is not null * only allow PENDING_HELD to transition to FORWARDING * add mermaid state machine diagrams to paid action doc * fix cancel transition name * cleanup readme * move forwarding outside of transition * refine testServerConnect and make sure ensureB64 transforms * remove unused params from testServerConnect --------- Co-authored-by: ekzyis <ek@stacker.news> Co-authored-by: k00b <k00b@stacker.news>
126 lines
3.6 KiB
JSON
126 lines
3.6 KiB
JSON
{
|
|
"name": "stackernews",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "NODE_OPTIONS='--trace-warnings' next dev",
|
|
"build": "next build",
|
|
"migrate": "prisma migrate deploy",
|
|
"start": "NODE_OPTIONS='--trace-warnings' next start -p $PORT --keepAliveTimeout 120000",
|
|
"lint": "standard",
|
|
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
|
|
"worker": "tsx --tsconfig jsconfig.json --trace-warnings worker/index.js",
|
|
"worker:dev": "tsx --tsconfig jsconfig.json --trace-warnings --watch worker/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@apollo/client": "^3.9.7",
|
|
"@apollo/server": "^4.9.4",
|
|
"@as-integrations/next": "^2.0.2",
|
|
"@auth/prisma-adapter": "^1.0.3",
|
|
"@graphql-tools/schema": "^10.0.0",
|
|
"@lightninglabs/lnc-web": "^0.3.1-alpha",
|
|
"@noble/curves": "^1.2.0",
|
|
"@opensearch-project/opensearch": "^2.4.0",
|
|
"@prisma/client": "^5.17.0",
|
|
"@slack/web-api": "^6.9.0",
|
|
"@svgr/webpack": "^8.1.0",
|
|
"@yudiel/react-qr-scanner": "^1.1.10",
|
|
"acorn": "^8.10.0",
|
|
"ajv": "^8.12.0",
|
|
"async-mutex": "^0.5.0",
|
|
"async-retry": "^1.3.1",
|
|
"aws-sdk": "^2.1473.0",
|
|
"bech32": "^2.0.0",
|
|
"bolt11": "^1.4.1",
|
|
"bootstrap": "^5.3.2",
|
|
"canonical-json": "0.0.4",
|
|
"classnames": "^2.5.1",
|
|
"clipboard-copy": "^4.0.1",
|
|
"cross-fetch": "^4.0.0",
|
|
"csv-parser": "^3.0.0",
|
|
"domino": "^2.1.6",
|
|
"formik": "^2.4.5",
|
|
"github-slugger": "^2.0.0",
|
|
"google-protobuf": "^3.21.2",
|
|
"graphql": "^16.8.1",
|
|
"graphql-scalar": "^0.1.0",
|
|
"graphql-tag": "^2.12.6",
|
|
"graphql-type-json": "^0.3.2",
|
|
"ln-service": "^57.1.3",
|
|
"macaroon": "^3.0.4",
|
|
"mathjs": "^11.11.2",
|
|
"mdast-util-find-and-replace": "^3.0.1",
|
|
"mdast-util-from-markdown": "^2.0.0",
|
|
"mdast-util-gfm": "^3.0.0",
|
|
"mdast-util-to-string": "^4.0.0",
|
|
"micromark-extension-gfm": "^3.0.0",
|
|
"next": "^13.5.4",
|
|
"next-auth": "^4.23.2",
|
|
"next-plausible": "^3.11.1",
|
|
"next-seo": "^6.1.0",
|
|
"node-s3-url-encode": "^0.0.4",
|
|
"nodemailer": "^6.9.6",
|
|
"nostr": "^0.2.8",
|
|
"nostr-tools": "^2.1.5",
|
|
"nprogress": "^0.2.0",
|
|
"opentimestamps": "^0.4.9",
|
|
"page-metadata-parser": "^1.1.4",
|
|
"pg-boss": "^9.0.3",
|
|
"piexifjs": "^1.0.6",
|
|
"prisma": "^5.17.0",
|
|
"qrcode.react": "^3.1.0",
|
|
"react": "^18.2.0",
|
|
"react-avatar-editor": "^13.0.0",
|
|
"react-bootstrap": "^2.9.0",
|
|
"react-countdown": "^2.3.5",
|
|
"react-datepicker": "^4.20.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-ios-pwa-prompt": "^1.8.4",
|
|
"react-markdown": "^9.0.1",
|
|
"react-string-replace": "^1.1.1",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"react-textarea-autosize": "^8.5.3",
|
|
"react-twitter-embed": "^4.0.4",
|
|
"react-youtube": "^10.1.0",
|
|
"recharts": "^2.9.0",
|
|
"remark-gfm": "^4.0.0",
|
|
"remove-markdown": "^0.5.0",
|
|
"sass": "^1.69.3",
|
|
"serviceworker-storage": "^0.1.0",
|
|
"textarea-caret": "^3.1.0",
|
|
"tldts": "^6.0.16",
|
|
"tsx": "^3.13.0",
|
|
"unist-util-visit": "^5.0.0",
|
|
"unzipper": "^0.10.14",
|
|
"url-unshort": "^6.1.0",
|
|
"web-push": "^3.6.6",
|
|
"webln": "^0.3.2",
|
|
"webpack": "^5.89.0",
|
|
"workbox-navigation-preload": "^7.0.0",
|
|
"workbox-precaching": "^7.0.0",
|
|
"workbox-recipes": "^7.0.0",
|
|
"workbox-routing": "^7.0.0",
|
|
"workbox-strategies": "^7.0.0",
|
|
"workbox-webpack-plugin": "^7.0.0",
|
|
"workbox-window": "^7.0.0",
|
|
"yup": "^1.3.2"
|
|
},
|
|
"engines": {
|
|
"node": "18.17.0"
|
|
},
|
|
"standard": {
|
|
"plugins": [
|
|
"@next/next"
|
|
],
|
|
"extends": [
|
|
"next"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@next/eslint-plugin-next": "^13.5.4",
|
|
"eslint": "^8.51.0",
|
|
"jest": "^29.7.0",
|
|
"standard": "^17.1.0"
|
|
}
|
|
}
|