mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Previously transactions were only retried after being successfully endorsed, and always with the same transaction ID Transactions will now be added to a queue for processing and will also be retried if endorsement fails (with a different transaction id for invalid transactions) Signed-off-by: James Taylor <jamest@uk.ibm.com>
63 lines
2 KiB
JSON
63 lines
2 KiB
JSON
{
|
|
"name": "asset-transfer-basic",
|
|
"version": "1.0.0",
|
|
"description": "Asset Transfer Basic REST API implemented in TypeScript",
|
|
"main": "dist/index.js",
|
|
"dependencies": {
|
|
"bullmq": "^1.47.2",
|
|
"dotenv": "^10.0.0",
|
|
"env-var": "^7.0.1",
|
|
"express": "^4.17.1",
|
|
"express-validator": "^6.12.0",
|
|
"fabric-network": "^2.2.8",
|
|
"helmet": "^4.6.0",
|
|
"http-status-codes": "^2.1.4",
|
|
"ioredis": "^4.27.8",
|
|
"passport": "^0.4.1",
|
|
"passport-headerapikey": "^1.2.2",
|
|
"pino": "^6.11.3",
|
|
"pino-http": "^5.5.0",
|
|
"source-map-support": "^0.5.19"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.12",
|
|
"@types/ioredis": "^4.26.4",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/node": "^15.14.7",
|
|
"@types/passport": "^1.0.7",
|
|
"@types/pino": "^6.3.8",
|
|
"@types/pino-http": "^5.4.1",
|
|
"@types/supertest": "^2.0.11",
|
|
"@typescript-eslint/eslint-plugin": "^4.28.0",
|
|
"@typescript-eslint/parser": "^4.28.0",
|
|
"eslint": "^7.29.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"ioredis-mock": "^5.6.0",
|
|
"jest": "^27.0.6",
|
|
"jest-mock-extended": "^2.0.2-beta2",
|
|
"pino-pretty": "^5.0.2",
|
|
"prettier": "^2.3.1",
|
|
"rimraf": "^3.0.2",
|
|
"supertest": "^6.1.4",
|
|
"ts-jest": "^27.0.4",
|
|
"ts-node": "^10.1.0",
|
|
"typescript": "^4.3.5"
|
|
},
|
|
"scripts": {
|
|
"prebuild": "npm run lint",
|
|
"build": "tsc",
|
|
"clean": "rimraf ./dist",
|
|
"format": "prettier --write \"{src,test}/**/*.ts\"",
|
|
"generateEnv": "./scripts/generateEnv.sh",
|
|
"lint": "eslint . --ext .ts",
|
|
"start": "node --require source-map-support/register ./dist",
|
|
"start:dotenv": "node --require source-map-support/register --require dotenv/config ./dist",
|
|
"start:dev": "node --require source-map-support/register --require dotenv/config ./dist | pino-pretty",
|
|
"start:redis": "docker run -p 6379:6379 --name fabric-sample-redis -d redis --maxmemory-policy noeviction",
|
|
"test": "jest"
|
|
},
|
|
"author": "Hyperledger",
|
|
"license": "Apache-2.0",
|
|
"private": true
|
|
}
|