mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
The Fabric Gateway client API v1.10.0 provides simplified access to Go error details. This change updates sample client application to use this latest version of the client API, and updates Go client applications to reflect the error handling changes. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
33 lines
936 B
JSON
33 lines
936 B
JSON
{
|
|
"name": "gateway-hsm-sample",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"main": "dist/hsm-sample.js",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"prepare": "npm run build",
|
|
"clean": "rimraf dist",
|
|
"lint": "eslint src",
|
|
"start": "SOFTHSM2_CONF=\"${SOFTHSM2_CONF:-${HOME}/softhsm2.conf}\" node dist/hsm-sample.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@grpc/grpc-js": "^1.14.0",
|
|
"@hyperledger/fabric-gateway": "^1.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.3.0",
|
|
"@tsconfig/node18": "^18.2.4",
|
|
"@types/node": "^18.19.33",
|
|
"eslint": "^8.57.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"rimraf": "^5.0.1",
|
|
"typescript": "~5.4.5",
|
|
"typescript-eslint": "^7.11.0"
|
|
}
|
|
}
|