WizardConnect/packages/test-cli/package.json
Dagur Valberg Johannsson b96cb8e151
Add chunk transport extension for oversized messages
Splits ProtocolMessages exceeding NIP-44's 65,535-byte plaintext ceiling
across multiple gift-wrapped events. Symmetric (both directions),
fire-and-forget, backward-compatible via a new transport-level
\`extensions\` field on \`dapp_ready\` and \`wallet_ready\`. Resolves the
\"Failed to swap: invalid plaintext size\" error on aggregated swap
requests and enables signed-tx responses up to the 1 MB BCH consensus
limit (~2 MB hex).
2026-04-21 14:58:12 +02:00

35 lines
1,012 B
JSON

{
"name": "@wizardconnect/test-cli",
"version": "0.2.0",
"description": "CLI for testing WizardConnect protocol",
"type": "module",
"private": true,
"bin": {
"wiz-test": "dist/cli.js"
},
"scripts": {
"build": "tsc",
"dev": "tsx src/cli.ts",
"dapp": "tsx src/cli.ts dapp",
"wallet": "tsx src/cli.ts wallet",
"lint:prettier": "prettier --ignore-path ../../.gitignore . --list-different",
"lint:eslint": "eslint .",
"lint": "npm run lint:eslint && npm run lint:prettier",
"fix": "npm run fix:eslint && npm run fix:prettier",
"fix:prettier": "prettier --ignore-path ../../.gitignore . --write",
"fix:eslint": "npm run lint:eslint -- --fix"
},
"dependencies": {
"@bitauth/libauth": "^3.1.0-next.2",
"@wizardconnect/core": "*",
"@wizardconnect/wallet": "*",
"chalk": "^5.3.0",
"commander": "^12.0.0",
"ora": "^8.0.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"tsx": "^4.19.0",
"typescript": "^5.6.2"
}
}