diff --git a/apis/fabric-contract-api/package.json b/apis/fabric-contract-api/package.json index c2d5dfa6..e5975530 100644 --- a/apis/fabric-contract-api/package.json +++ b/apis/fabric-contract-api/package.json @@ -1,6 +1,6 @@ { "name": "fabric-contract-api", - "version": "2.5.5", + "version": "2.5.6", "tag": "latest", "description": "A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other", "main": "index.js", @@ -45,7 +45,7 @@ "lines": 100 }, "dependencies": { - "fabric-shim-api": "2.5.5", + "fabric-shim-api": "2.5.6", "class-transformer": "^0.4.0", "fast-safe-stringify": "^2.1.1", "get-params": "^0.1.2", diff --git a/apis/fabric-shim-api/package.json b/apis/fabric-shim-api/package.json index da39b314..adf92daa 100644 --- a/apis/fabric-shim-api/package.json +++ b/apis/fabric-shim-api/package.json @@ -1,6 +1,6 @@ { "name": "fabric-shim-api", - "version": "2.5.5", + "version": "2.5.6", "tag": "latest", "description": "A node.js API of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other", "main": "index.js", diff --git a/docker/fabric-nodeenv/package.json b/docker/fabric-nodeenv/package.json index 4a97e7e8..100bdb54 100644 --- a/docker/fabric-nodeenv/package.json +++ b/docker/fabric-nodeenv/package.json @@ -1,6 +1,6 @@ { "name": "fabric-nodeenv", - "version": "2.5.5", + "version": "2.5.6", "description": "", "main": "docker.js", "scripts": { diff --git a/docs/package.json b/docs/package.json index 2f7da52b..7f571bea 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "fabric-shim-docs", - "version": "2.5.5", + "version": "2.5.6", "description": "", "private": true, "scripts": { @@ -8,7 +8,7 @@ "docs": "rimraf ./gen && jsdoc -c ./_jsdoc.json" }, "dependencies": { - "fabric-ledger": "2.5.5" + "fabric-ledger": "2.5.6" }, "devDependencies": { "ink-docstrap": "^1.3.2", diff --git a/libraries/fabric-ledger/package.json b/libraries/fabric-ledger/package.json index f9f5b55b..bb63b20c 100644 --- a/libraries/fabric-ledger/package.json +++ b/libraries/fabric-ledger/package.json @@ -1,6 +1,6 @@ { "name": "fabric-ledger", - "version": "2.5.5", + "version": "2.5.6", "tag": "latest", "description": "A node.js implementation of Hyperledger Fabric ledger api, to allow access to ledger data from smart contracts", "main": "lib/index.js", @@ -48,7 +48,7 @@ "lines": 100 }, "dependencies": { - "fabric-contract-api": "2.5.5", + "fabric-contract-api": "2.5.6", "winston": "^3.7.2" }, "devDependencies": { diff --git a/libraries/fabric-shim/package.json b/libraries/fabric-shim/package.json index a4d6db8f..1dcf7099 100644 --- a/libraries/fabric-shim/package.json +++ b/libraries/fabric-shim/package.json @@ -1,6 +1,6 @@ { "name": "fabric-shim", - "version": "2.5.5", + "version": "2.5.6", "tag": "latest", "description": "A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other", "main": "index.js", @@ -59,8 +59,8 @@ "@hyperledger/fabric-protos": "0.1.0-dev.2300102001.1", "@types/node": "^16.11.1", "ajv": "^6.12.2", - "fabric-contract-api": "2.5.5", - "fabric-shim-api": "2.5.5", + "fabric-contract-api": "2.5.6", + "fabric-shim-api": "2.5.6", "fast-safe-stringify": "^2.1.1", "long": "^5.2.3", "reflect-metadata": "^0.1.13", diff --git a/test/chaincodes/annotations/package.json b/test/chaincodes/annotations/package.json index 323b4c1d..dd02053c 100644 --- a/test/chaincodes/annotations/package.json +++ b/test/chaincodes/annotations/package.json @@ -13,13 +13,13 @@ "typings": "dist/index.d.ts", "engine-strict": true, "engineStrict": true, - "version": "2.5.5", + "version": "2.5.6", "author": "", "license": "APACHE-2.0", "dependencies": { "@types/node": "^16.11.4", - "fabric-contract-api": "2.5.5", - "fabric-shim": "2.5.5", + "fabric-contract-api": "2.5.6", + "fabric-shim": "2.5.6", "ts-node": "^3.3.0", "tslint": "^5.6.0", "typescript": "^4.0.2" diff --git a/test/chaincodes/annotations/src/test_contract/expected-metadata.json b/test/chaincodes/annotations/src/test_contract/expected-metadata.json index fa9c7567..9ff30b38 100644 --- a/test/chaincodes/annotations/src/test_contract/expected-metadata.json +++ b/test/chaincodes/annotations/src/test_contract/expected-metadata.json @@ -107,7 +107,7 @@ } }, "info": { - "version": "2.5.5", + "version": "2.5.6", "title": "ts_chaincode" }, "components": { diff --git a/test/chaincodes/clientidentity/package.json b/test/chaincodes/clientidentity/package.json index b7633f90..eb874c4e 100644 --- a/test/chaincodes/clientidentity/package.json +++ b/test/chaincodes/clientidentity/package.json @@ -10,11 +10,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.5", + "version": "2.5.6", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.5", - "fabric-contract-api": "2.5.5" + "fabric-shim": "2.5.6", + "fabric-contract-api": "2.5.6" } } diff --git a/test/chaincodes/crosschaincode/package.json b/test/chaincodes/crosschaincode/package.json index 2fe5485e..27a1bd02 100644 --- a/test/chaincodes/crosschaincode/package.json +++ b/test/chaincodes/crosschaincode/package.json @@ -10,11 +10,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.5", + "version": "2.5.6", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.5", - "fabric-contract-api": "2.5.5" + "fabric-shim": "2.5.6", + "fabric-contract-api": "2.5.6" } } diff --git a/test/chaincodes/crosschaincode2/package.json b/test/chaincodes/crosschaincode2/package.json index e3458ca7..7bb71161 100644 --- a/test/chaincodes/crosschaincode2/package.json +++ b/test/chaincodes/crosschaincode2/package.json @@ -10,11 +10,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.5", + "version": "2.5.6", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.5", - "fabric-contract-api": "2.5.5" + "fabric-shim": "2.5.6", + "fabric-contract-api": "2.5.6" } } diff --git a/test/chaincodes/crud/package.json b/test/chaincodes/crud/package.json index d4cf00b9..04af1352 100644 --- a/test/chaincodes/crud/package.json +++ b/test/chaincodes/crud/package.json @@ -10,11 +10,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.5", + "version": "2.5.6", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.5", - "fabric-contract-api": "2.5.5" + "fabric-shim": "2.5.6", + "fabric-contract-api": "2.5.6" } } diff --git a/test/chaincodes/events/package.json b/test/chaincodes/events/package.json index 3e999d7b..3b772568 100644 --- a/test/chaincodes/events/package.json +++ b/test/chaincodes/events/package.json @@ -10,11 +10,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.5", + "version": "2.5.6", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.5", - "fabric-contract-api": "2.5.5" + "fabric-shim": "2.5.6", + "fabric-contract-api": "2.5.6" } } diff --git a/test/chaincodes/ledger/package.json b/test/chaincodes/ledger/package.json index f94f73e5..30bd60f2 100644 --- a/test/chaincodes/ledger/package.json +++ b/test/chaincodes/ledger/package.json @@ -10,12 +10,12 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.5", + "version": "2.5.6", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.5", - "fabric-contract-api": "2.5.5", - "fabric-ledger": "2.5.5" + "fabric-shim": "2.5.6", + "fabric-contract-api": "2.5.6", + "fabric-ledger": "2.5.6" } } diff --git a/test/chaincodes/privateData/package.json b/test/chaincodes/privateData/package.json index 97fe0bb1..5c3c18bc 100644 --- a/test/chaincodes/privateData/package.json +++ b/test/chaincodes/privateData/package.json @@ -10,11 +10,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.5", + "version": "2.5.6", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.5", - "fabric-contract-api": "2.5.5" + "fabric-shim": "2.5.6", + "fabric-contract-api": "2.5.6" } } diff --git a/test/chaincodes/query/package.json b/test/chaincodes/query/package.json index ae87b456..84e4165d 100644 --- a/test/chaincodes/query/package.json +++ b/test/chaincodes/query/package.json @@ -10,11 +10,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.5", + "version": "2.5.6", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.5", - "fabric-contract-api": "2.5.5" + "fabric-shim": "2.5.6", + "fabric-contract-api": "2.5.6" } } diff --git a/test/chaincodes/scenario/package.json b/test/chaincodes/scenario/package.json index 376518d4..304d8173 100644 --- a/test/chaincodes/scenario/package.json +++ b/test/chaincodes/scenario/package.json @@ -10,11 +10,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.5", + "version": "2.5.6", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.5", - "fabric-contract-api": "2.5.5" + "fabric-shim": "2.5.6", + "fabric-contract-api": "2.5.6" } } diff --git a/test/e2e/package.json b/test/e2e/package.json index d9a60550..e519d516 100644 --- a/test/e2e/package.json +++ b/test/e2e/package.json @@ -1,6 +1,6 @@ { "name": "fabric-e2e-tests", - "version": "2.5.5", + "version": "2.5.6", "description": "", "main": "docker.js", "scripts": { diff --git a/test/e2e/scenario.js b/test/e2e/scenario.js index ee2ee084..e0178710 100644 --- a/test/e2e/scenario.js +++ b/test/e2e/scenario.js @@ -57,7 +57,7 @@ const queryFunctions = async () => { const metadata = JSON.parse(stdout); - const expectedMetadata = '{"$schema":"https://hyperledger.github.io/fabric-chaincode-node/main/api/contract-schema.json","contracts":{"UpdateValues":{"name":"UpdateValues","contractInstance":{"name":"UpdateValues","logBuffer":{"output":[]},"default":true},"transactions":[{"name":"setup","tags":["SUBMIT","submitTx"]},{"name":"setNewAssetValue","tags":["SUBMIT","submitTx"],"parameters":[{"name":"arg0","description":"Argument 0","schema":{"type":"string"}}]},{"name":"doubleAssetValue","tags":["SUBMIT","submitTx"]}],"info":{"title":"","version":""}},"RemoveValues":{"name":"RemoveValues","contractInstance":{"name":"RemoveValues"},"transactions":[{"name":"quarterAssetValue","tags":["SUBMIT","submitTx"]},{"name":"getAssetValue","tags":["SUBMIT","submitTx"]}],"info":{"title":"","version":""}},"org.hyperledger.fabric":{"name":"org.hyperledger.fabric","contractInstance":{"name":"org.hyperledger.fabric"},"transactions":[{"name":"GetMetadata"}],"info":{"title":"","version":""}}},"info":{"version":"2.5.5","title":"chaincode"},"components":{"schemas":{}}}'; + const expectedMetadata = '{"$schema":"https://hyperledger.github.io/fabric-chaincode-node/main/api/contract-schema.json","contracts":{"UpdateValues":{"name":"UpdateValues","contractInstance":{"name":"UpdateValues","logBuffer":{"output":[]},"default":true},"transactions":[{"name":"setup","tags":["SUBMIT","submitTx"]},{"name":"setNewAssetValue","tags":["SUBMIT","submitTx"],"parameters":[{"name":"arg0","description":"Argument 0","schema":{"type":"string"}}]},{"name":"doubleAssetValue","tags":["SUBMIT","submitTx"]}],"info":{"title":"","version":""}},"RemoveValues":{"name":"RemoveValues","contractInstance":{"name":"RemoveValues"},"transactions":[{"name":"quarterAssetValue","tags":["SUBMIT","submitTx"]},{"name":"getAssetValue","tags":["SUBMIT","submitTx"]}],"info":{"title":"","version":""}},"org.hyperledger.fabric":{"name":"org.hyperledger.fabric","contractInstance":{"name":"org.hyperledger.fabric"},"transactions":[{"name":"GetMetadata"}],"info":{"title":"","version":""}}},"info":{"version":"2.5.6","title":"chaincode"},"components":{"schemas":{}}}'; const schema = fs.readFileSync(path.join(__dirname, '../../apis/fabric-contract-api/schema/contract-schema.json')); diff --git a/test/fv/package.json b/test/fv/package.json index 3d792eb2..14f5b112 100644 --- a/test/fv/package.json +++ b/test/fv/package.json @@ -1,6 +1,6 @@ { "name": "fvtests", - "version": "2.5.5", + "version": "2.5.6", "description": "fv tests", "testFabricVersion": "main", "testFabricThirdParty": "0.4.15", @@ -25,9 +25,9 @@ "del": "^3.0.0", "delay": "5.0.0", "eslint": "^6.6.0", - "fabric-contract-api": "2.5.5", - "fabric-shim": "2.5.5", - "fabric-shim-api": "2.5.5", + "fabric-contract-api": "2.5.6", + "fabric-shim": "2.5.6", + "fabric-shim-api": "2.5.6", "git-rev-sync": "3.0.1", "gulp": "^4.0.2", "ip": "^1.1.5",