From 219653c0de93ce38c2f71cab551f686e5b130424 Mon Sep 17 00:00:00 2001 From: Matthew B White Date: Thu, 26 Jan 2023 09:03:48 +0000 Subject: [PATCH] Post 2.5.2 release Signed-off-by: Matthew B White --- apis/fabric-contract-api/package.json | 6 +++--- apis/fabric-shim-api/package.json | 4 ++-- docker/fabric-nodeenv/package.json | 4 ++-- docs/package.json | 4 ++-- libraries/fabric-ledger/package.json | 6 +++--- libraries/fabric-shim/package.json | 8 ++++---- 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 | 4 ++-- test/e2e/scenario.js | 2 +- test/fv/package.json | 8 ++++---- tools/toolchain/package.json | 2 +- 21 files changed, 56 insertions(+), 56 deletions(-) diff --git a/apis/fabric-contract-api/package.json b/apis/fabric-contract-api/package.json index 3959525c..02d21c7b 100644 --- a/apis/fabric-contract-api/package.json +++ b/apis/fabric-contract-api/package.json @@ -1,7 +1,7 @@ { "name": "fabric-contract-api", - "version": "2.5.2", - "tag": "latest", + "version": "2.5.3-unstable", + "tag": "unstable", "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", "repository": { @@ -46,7 +46,7 @@ "lines": 100 }, "dependencies": { - "fabric-shim-api": "2.5.2", + "fabric-shim-api": "2.5.3-unstable", "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 e4f16fb9..7cc1af62 100644 --- a/apis/fabric-shim-api/package.json +++ b/apis/fabric-shim-api/package.json @@ -1,7 +1,7 @@ { "name": "fabric-shim-api", - "version": "2.5.2", - "tag": "latest", + "version": "2.5.3-unstable", + "tag": "unstable", "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", "repository": { diff --git a/docker/fabric-nodeenv/package.json b/docker/fabric-nodeenv/package.json index a9f99ca7..48f4c1c2 100644 --- a/docker/fabric-nodeenv/package.json +++ b/docker/fabric-nodeenv/package.json @@ -1,6 +1,6 @@ { "name": "fabric-nodeenv", - "version": "2.5.2", + "version": "2.5.3-unstable", "description": "", "main": "docker.js", "scripts": { @@ -11,6 +11,6 @@ "license": "Apache-2.0", "dependencies": { "git-rev-sync": "3.0.1", - "toolchain": "2.5.2" + "toolchain": "2.5.3-unstable" } } diff --git a/docs/package.json b/docs/package.json index 38484008..3e0797fd 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "fabric-shim-docs", - "version": "2.5.2", + "version": "2.5.3-unstable", "description": "", "private": true, "scripts": { @@ -8,7 +8,7 @@ "docs": "rimraf ./gen && jsdoc -c ./_jsdoc.json" }, "dependencies": { - "fabric-ledger": "2.5.2" + "fabric-ledger": "2.5.3-unstable" }, "devDependencies": { "ink-docstrap": "^1.3.2", diff --git a/libraries/fabric-ledger/package.json b/libraries/fabric-ledger/package.json index 76e14f09..82b3e81a 100644 --- a/libraries/fabric-ledger/package.json +++ b/libraries/fabric-ledger/package.json @@ -1,7 +1,7 @@ { "name": "fabric-ledger", - "version": "2.5.2", - "tag": "latest", + "version": "2.5.3-unstable", + "tag": "unstable", "description": "A node.js implementation of Hyperledger Fabric ledger api, to allow access to ledger data from smart contracts", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -49,7 +49,7 @@ "lines": 100 }, "dependencies": { - "fabric-contract-api": "2.5.2", + "fabric-contract-api": "2.5.3-unstable", "winston": "^3.7.2" }, "devDependencies": { diff --git a/libraries/fabric-shim/package.json b/libraries/fabric-shim/package.json index ec7366af..a7d9ff38 100644 --- a/libraries/fabric-shim/package.json +++ b/libraries/fabric-shim/package.json @@ -1,7 +1,7 @@ { "name": "fabric-shim", - "version": "2.5.2", - "tag": "latest", + "version": "2.5.3-unstable", + "tag": "unstable", "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", "bin": { @@ -60,8 +60,8 @@ "@hyperledger/fabric-protos": "0.1.0-dev.2300102001.1", "@types/node": "^16.11.1", "ajv": "^6.12.2", - "fabric-contract-api": "2.5.2", - "fabric-shim-api": "2.5.2", + "fabric-contract-api": "2.5.3-unstable", + "fabric-shim-api": "2.5.3-unstable", "fs-extra": "^10.0.1", "reflect-metadata": "^0.1.13", "winston": "^3.7.2", diff --git a/test/chaincodes/annotations/package.json b/test/chaincodes/annotations/package.json index f7c04ed4..25050ce4 100644 --- a/test/chaincodes/annotations/package.json +++ b/test/chaincodes/annotations/package.json @@ -14,13 +14,13 @@ "typings": "dist/index.d.ts", "engine-strict": true, "engineStrict": true, - "version": "2.5.2", + "version": "2.5.3-unstable", "author": "", "license": "APACHE-2.0", "dependencies": { "@types/node": "^16.11.4", - "fabric-contract-api": "2.5.2", - "fabric-shim": "2.5.2", + "fabric-contract-api": "2.5.3-unstable", + "fabric-shim": "2.5.3-unstable", "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 4b2bb9b1..5a1a807a 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.2", + "version": "2.5.3-unstable", "title": "ts_chaincode" }, "components": { diff --git a/test/chaincodes/clientidentity/package.json b/test/chaincodes/clientidentity/package.json index 769949ad..76906a7a 100644 --- a/test/chaincodes/clientidentity/package.json +++ b/test/chaincodes/clientidentity/package.json @@ -11,11 +11,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.2", + "version": "2.5.3-unstable", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.2", - "fabric-contract-api": "2.5.2" + "fabric-shim": "2.5.3-unstable", + "fabric-contract-api": "2.5.3-unstable" } } diff --git a/test/chaincodes/crosschaincode/package.json b/test/chaincodes/crosschaincode/package.json index a7b61c14..7e02df02 100644 --- a/test/chaincodes/crosschaincode/package.json +++ b/test/chaincodes/crosschaincode/package.json @@ -11,11 +11,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.2", + "version": "2.5.3-unstable", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.2", - "fabric-contract-api": "2.5.2" + "fabric-shim": "2.5.3-unstable", + "fabric-contract-api": "2.5.3-unstable" } } diff --git a/test/chaincodes/crosschaincode2/package.json b/test/chaincodes/crosschaincode2/package.json index 50feb33a..773d963c 100644 --- a/test/chaincodes/crosschaincode2/package.json +++ b/test/chaincodes/crosschaincode2/package.json @@ -11,11 +11,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.2", + "version": "2.5.3-unstable", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.2", - "fabric-contract-api": "2.5.2" + "fabric-shim": "2.5.3-unstable", + "fabric-contract-api": "2.5.3-unstable" } } diff --git a/test/chaincodes/crud/package.json b/test/chaincodes/crud/package.json index 003a6816..c4251858 100644 --- a/test/chaincodes/crud/package.json +++ b/test/chaincodes/crud/package.json @@ -11,11 +11,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.2", + "version": "2.5.3-unstable", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.2", - "fabric-contract-api": "2.5.2" + "fabric-shim": "2.5.3-unstable", + "fabric-contract-api": "2.5.3-unstable" } } diff --git a/test/chaincodes/events/package.json b/test/chaincodes/events/package.json index 1ef5dcb5..4751353e 100644 --- a/test/chaincodes/events/package.json +++ b/test/chaincodes/events/package.json @@ -11,11 +11,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.2", + "version": "2.5.3-unstable", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.2", - "fabric-contract-api": "2.5.2" + "fabric-shim": "2.5.3-unstable", + "fabric-contract-api": "2.5.3-unstable" } } diff --git a/test/chaincodes/ledger/package.json b/test/chaincodes/ledger/package.json index d97091d8..68f4601a 100644 --- a/test/chaincodes/ledger/package.json +++ b/test/chaincodes/ledger/package.json @@ -11,12 +11,12 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.2", + "version": "2.5.3-unstable", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.2", - "fabric-contract-api": "2.5.2", - "fabric-ledger": "2.5.2" + "fabric-shim": "2.5.3-unstable", + "fabric-contract-api": "2.5.3-unstable", + "fabric-ledger": "2.5.3-unstable" } } diff --git a/test/chaincodes/privateData/package.json b/test/chaincodes/privateData/package.json index cc74fce1..f5e2576a 100644 --- a/test/chaincodes/privateData/package.json +++ b/test/chaincodes/privateData/package.json @@ -11,11 +11,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.2", + "version": "2.5.3-unstable", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.2", - "fabric-contract-api": "2.5.2" + "fabric-shim": "2.5.3-unstable", + "fabric-contract-api": "2.5.3-unstable" } } diff --git a/test/chaincodes/query/package.json b/test/chaincodes/query/package.json index 541be7a5..75d03f4e 100644 --- a/test/chaincodes/query/package.json +++ b/test/chaincodes/query/package.json @@ -11,11 +11,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.2", + "version": "2.5.3-unstable", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.2", - "fabric-contract-api": "2.5.2" + "fabric-shim": "2.5.3-unstable", + "fabric-contract-api": "2.5.3-unstable" } } diff --git a/test/chaincodes/scenario/package.json b/test/chaincodes/scenario/package.json index a8173a09..f67b1b8f 100644 --- a/test/chaincodes/scenario/package.json +++ b/test/chaincodes/scenario/package.json @@ -11,11 +11,11 @@ "main": "index.js", "engine-strict": true, "engineStrict": true, - "version": "2.5.2", + "version": "2.5.3-unstable", "author": "", "license": "Apache-2.0", "dependencies": { - "fabric-shim": "2.5.2", - "fabric-contract-api": "2.5.2" + "fabric-shim": "2.5.3-unstable", + "fabric-contract-api": "2.5.3-unstable" } } diff --git a/test/e2e/package.json b/test/e2e/package.json index b2011d96..51ab208e 100644 --- a/test/e2e/package.json +++ b/test/e2e/package.json @@ -1,6 +1,6 @@ { "name": "fabric-e2e-tests", - "version": "2.5.2", + "version": "2.5.3-unstable", "description": "", "main": "docker.js", "scripts": { @@ -13,7 +13,7 @@ "devDependencies": { "git-rev-sync": "3.0.1", "gulp": "^4.0.2", - "toolchain": "2.5.2", + "toolchain": "2.5.3-unstable", "delay": "5.0.0", "fs-extra": "^10.0.1", "ip": "^1.1.5", diff --git a/test/e2e/scenario.js b/test/e2e/scenario.js index 98688162..723a60b6 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.2","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.3-unstable","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 6a753a9d..6e0ab337 100644 --- a/test/fv/package.json +++ b/test/fv/package.json @@ -1,6 +1,6 @@ { "name": "fvtests", - "version": "2.5.2", + "version": "2.5.3-unstable", "description": "fv tests", "testFabricVersion": "main", "testFabricThirdParty": "0.4.15", @@ -26,9 +26,9 @@ "del": "^3.0.0", "delay": "5.0.0", "eslint": "^6.6.0", - "fabric-contract-api": "2.5.2", - "fabric-shim": "2.5.2", - "fabric-shim-api": "2.5.2", + "fabric-contract-api": "2.5.3-unstable", + "fabric-shim": "2.5.3-unstable", + "fabric-shim-api": "2.5.3-unstable", "fs-extra": "^10.0.1", "git-rev-sync": "3.0.1", "gulp": "^4.0.2", diff --git a/tools/toolchain/package.json b/tools/toolchain/package.json index 544aca23..bb88f0af 100644 --- a/tools/toolchain/package.json +++ b/tools/toolchain/package.json @@ -1,6 +1,6 @@ { "name": "toolchain", - "version": "2.5.2", + "version": "2.5.3-unstable", "description": "", "main": "index.js", "scripts": {