Commit 4e16e2ae authored by Zsolt from VM's avatar Zsolt from VM
Browse files

changes needed to run with NodeJS 12!

parent 17314d17
......@@ -21,8 +21,8 @@
"author": "Hyperledger",
"license": "Apache-2.0",
"dependencies": {
"fabric-contract-api": "unstable",
"fabric-shim": "unstable"
"fabric-contract-api": "2.1.1",
"fabric-shim": "2.1.1"
},
"devDependencies": {
"@types/chai": "^4.1.7",
......
......@@ -66,7 +66,7 @@ async function main() {
//console.log(`Transaction has been evaluated, result is: ${result}`);
const parsedResult = JSON.parse(result);
console.log(parsedResult);
console.log(JSON.stringify(parsedResult));
// Disconnect from the gateway.
await gateway.disconnect();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment