From 5fb9ed6eb5efbf7d910196e41eee95e8e6a8968a Mon Sep 17 00:00:00 2001 From: "Mark S. Lewis" Date: Thu, 13 Jun 2024 22:31:09 +0100 Subject: [PATCH] Update versions following v2.5.6 release Signed-off-by: Mark S. Lewis --- apis/fabric-contract-api/package.json | 4 ++-- apis/fabric-shim-api/package.json | 2 +- docker/fabric-nodeenv/package.json | 2 +- docs/package.json | 4 ++-- libraries/fabric-ledger/package.json | 4 ++-- libraries/fabric-shim/package.json | 6 +++--- test/chaincodes/annotations/package.json | 6 +++--- .../annotations/src/test_contract/expected-metadata.json | 2 +- test/chaincodes/clientidentity/package.json | 6 +++--- test/chaincodes/crosschaincode/package.json | 6 +++--- test/chaincodes/crosschaincode2/package.json | 6 +++--- test/chaincodes/crud/package.json | 6 +++--- test/chaincodes/events/package.json | 6 +++--- test/chaincodes/ledger/package.json | 8 ++++---- test/chaincodes/privateData/package.json | 6 +++--- test/chaincodes/query/package.json | 6 +++--- test/chaincodes/scenario/package.json | 6 +++--- test/e2e/package.json | 2 +- test/e2e/scenario.js | 2 +- test/fv/package.json | 8 ++++---- 20 files changed, 49 insertions(+), 49 deletions(-) diff --git a/apis/fabric-contract-api/package.json b/apis/fabric-contract-api/package.json index e5975530..5ee8606f 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.6", + "version": "2.5.7", "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.6", + "fabric-shim-api": "2.5.7", "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 adf92daa..799a68fe 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.6", + "version": "2.5.7", "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 100bdb54..b61018dd 100644 --- a/docker/fabric-nodeenv/package.json +++ b/docker/fabric-nodeenv/package.json @@ -1,6 +1,6 @@ { "name": "fabric-nodeenv", - "version": "2.5.6", + "version": "2.5.7", "description": "", "main": "docker.js", "scripts": { diff --git a/docs/package.json b/docs/package.json index 7f571bea..9585f128 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "fabric-shim-docs", - "version": "2.5.6", + "version": "2.5.7", "description": "", "private": true, "scripts": { @@ -8,7 +8,7 @@ "docs": "rimraf ./gen && jsdoc -c ./_jsdoc.json" }, "dependencies": { - "fabric-ledger": "2.5.6" + "fabric-ledger": "2.5.7" }, "devDependencies": { "ink-docstrap": "^1.3.2", diff --git a/libraries/fabric-ledger/package.json b/libraries/fabric-ledger/package.json index bb63b20c..3f545d44 100644 --- a/libraries/fabric-ledger/package.json +++ b/libraries/fabric-ledger/package.json @@ -1,6 +1,6 @@ { "name": "fabric-ledger", - "version": "2.5.6", + "version": "2.5.7", "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.6", + "fabric-contract-api": "2.5.7", "winston": "^3.7.2" }, "devDependencies": { diff --git a/libraries/fabric-shim/package.json b/libraries/fabric-shim/package.json index 2ef6cef5..b745e32e 100644 --- a/libraries/fabric-shim/package.json +++ b/libraries/fabric-shim/package.json @@ -1,6 +1,6 @@ { "name": "fabric-shim", - "version": "2.5.6", + "version": "2.5.7", "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", @@ -58,8 +58,8 @@ "@hyperledger/fabric-protos": "~0.2.1", "@types/node": "^16.11.1", "ajv": "^6.12.2", - "fabric-contract-api": "2.5.6", - "fabric-shim-api": "2.5.6", + "fabric-contract-api": "2.5.7", + "fabric-shim-api": "2.5.7", "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 dd02053c..235d4a76 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.6", + "version": "2.5.7", "author": "", "license": "APACHE-2.0", "dependencies": { "@types/node": "^16.11.4", - "fabric-contract-api": "2.5.6", - "fabric-shim": "2.5.6", + "fabric-contract-api": "2.5.7", + "fabric-shim": "2.5.7", "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 9ff30b38..c56b3b18 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.6", + "version": "2.5.7", "title": "ts_chaincode" }, "components": { diff --git a/test/chaincodes/clientidentity/package.json b/test/chaincodes/clientidentity/package.json index eb874c4e..d4846966 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.6", + "version": "2.5.7", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.6", - "fabric-contract-api": "2.5.6" + "fabric-shim": "2.5.7", + "fabric-contract-api": "2.5.7" } } diff --git a/test/chaincodes/crosschaincode/package.json b/test/chaincodes/crosschaincode/package.json index 27a1bd02..e76395ee 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.6", + "version": "2.5.7", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.6", - "fabric-contract-api": "2.5.6" + "fabric-shim": "2.5.7", + "fabric-contract-api": "2.5.7" } } diff --git a/test/chaincodes/crosschaincode2/package.json b/test/chaincodes/crosschaincode2/package.json index 7bb71161..6513119e 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.6", + "version": "2.5.7", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.6", - "fabric-contract-api": "2.5.6" + "fabric-shim": "2.5.7", + "fabric-contract-api": "2.5.7" } } diff --git a/test/chaincodes/crud/package.json b/test/chaincodes/crud/package.json index 04af1352..607704de 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.6", + "version": "2.5.7", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.6", - "fabric-contract-api": "2.5.6" + "fabric-shim": "2.5.7", + "fabric-contract-api": "2.5.7" } } diff --git a/test/chaincodes/events/package.json b/test/chaincodes/events/package.json index 3b772568..60b8ad13 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.6", + "version": "2.5.7", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.6", - "fabric-contract-api": "2.5.6" + "fabric-shim": "2.5.7", + "fabric-contract-api": "2.5.7" } } diff --git a/test/chaincodes/ledger/package.json b/test/chaincodes/ledger/package.json index 30bd60f2..74cc5eba 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.6", + "version": "2.5.7", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.6", - "fabric-contract-api": "2.5.6", - "fabric-ledger": "2.5.6" + "fabric-shim": "2.5.7", + "fabric-contract-api": "2.5.7", + "fabric-ledger": "2.5.7" } } diff --git a/test/chaincodes/privateData/package.json b/test/chaincodes/privateData/package.json index 5c3c18bc..91362745 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.6", + "version": "2.5.7", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.6", - "fabric-contract-api": "2.5.6" + "fabric-shim": "2.5.7", + "fabric-contract-api": "2.5.7" } } diff --git a/test/chaincodes/query/package.json b/test/chaincodes/query/package.json index 84e4165d..78fa98aa 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.6", + "version": "2.5.7", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.6", - "fabric-contract-api": "2.5.6" + "fabric-shim": "2.5.7", + "fabric-contract-api": "2.5.7" } } diff --git a/test/chaincodes/scenario/package.json b/test/chaincodes/scenario/package.json index 304d8173..7ad7bdfd 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.6", + "version": "2.5.7", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.6", - "fabric-contract-api": "2.5.6" + "fabric-shim": "2.5.7", + "fabric-contract-api": "2.5.7" } } diff --git a/test/e2e/package.json b/test/e2e/package.json index e519d516..3ca63a3e 100644 --- a/test/e2e/package.json +++ b/test/e2e/package.json @@ -1,6 +1,6 @@ { "name": "fabric-e2e-tests", - "version": "2.5.6", + "version": "2.5.7", "description": "", "main": "docker.js", "scripts": { diff --git a/test/e2e/scenario.js b/test/e2e/scenario.js index e0178710..e3e2963d 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.6","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.7","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 14f5b112..8b179637 100644 --- a/test/fv/package.json +++ b/test/fv/package.json @@ -1,6 +1,6 @@ { "name": "fvtests", - "version": "2.5.6", + "version": "2.5.7", "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.6", - "fabric-shim": "2.5.6", - "fabric-shim-api": "2.5.6", + "fabric-contract-api": "2.5.7", + "fabric-shim": "2.5.7", + "fabric-shim-api": "2.5.7", "git-rev-sync": "3.0.1", "gulp": "^4.0.2", "ip": "^1.1.5",