mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
The latest fabric-gateway client API release (v1.7.0) includes the gRPC error details in the GatewayExcetion stack trace so it is not necessary to programmatically access them to demonstrate that they are present. This change updates the asset-transfer-basic/application-gateway-java sample to simplify the updateNonExistentAsset example method. It also: - Updates all samples to use the latest fabric-gateway release. - Adds equivalent Maven POM files for fabric-gateway application samples. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
33 lines
940 B
JSON
33 lines
940 B
JSON
{
|
|
"name": "asset-transfer-private-data",
|
|
"version": "1.0.0",
|
|
"description": "Asset transfer private data application implemented in typeScript using fabric-gateway",
|
|
"main": "dist/index.js",
|
|
"typings": "dist/index.d.ts",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"build:watch": "tsc -w",
|
|
"lint": "eslint src",
|
|
"prepare": "npm run build",
|
|
"pretest": "npm run lint",
|
|
"start": "node dist/app.js"
|
|
},
|
|
"engineStrict": true,
|
|
"author": "Hyperledger",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@grpc/grpc-js": "^1.12.2",
|
|
"@hyperledger/fabric-gateway": "^1.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.3.0",
|
|
"@tsconfig/node18": "^18.2.2",
|
|
"@types/node": "^18.18.6",
|
|
"eslint": "^8.57.0",
|
|
"typescript": "~5.4",
|
|
"typescript-eslint": "^7.13.0"
|
|
}
|
|
}
|