Skip to content

Commit

Permalink
Bump version to 1.1.12 (#191)
Browse files Browse the repository at this point in the history
Co-authored-by: galachain-release-bot <[email protected]>
  • Loading branch information
1 parent b39fa06 commit 821fc6c
Show file tree
Hide file tree
Showing 11 changed files with 155 additions and 155 deletions.
2 changes: 1 addition & 1 deletion chain-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gala-chain/api",
"version": "1.1.11",
"version": "1.1.12",
"description": "Common types, DTOs (Data Transfer Objects), APIs, signatures, and utils for GalaChain.",
"license": "Apache-2.0",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion chain-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ npm install -g @gala-chain/cli
$ galachain COMMAND
running command...
$ galachain (--version)
@gala-chain/cli/1.1.11 linux-x64 node-v18.17.0
@gala-chain/cli/1.1.12 linux-x64 node-v18.20.2
$ galachain --help [COMMAND]
USAGE
$ galachain COMMAND
Expand Down
12 changes: 6 additions & 6 deletions chain-cli/chaincode-template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@galachain/product",
"version": "1.1.11",
"version": "1.1.12",
"description": "Product Chaincode",
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
Expand All @@ -22,16 +22,16 @@
"update-snapshot": "jest --updateSnapshot"
},
"dependencies": {
"@gala-chain/api": "1.1.11",
"@gala-chain/chaincode": "1.1.11",
"@gala-chain/api": "1.1.12",
"@gala-chain/chaincode": "1.1.12",
"dotenv": "^16.0.1",
"fabric-contract-api": "2.4.2",
"fabric-shim": "2.4.2"
},
"devDependencies": {
"@gala-chain/cli": "1.1.11",
"@gala-chain/client": "1.1.11",
"@gala-chain/test": "1.1.11",
"@gala-chain/cli": "1.1.12",
"@gala-chain/client": "1.1.12",
"@gala-chain/test": "1.1.12",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/axios": "^0.14.0",
"@types/jest": "^29.5.12",
Expand Down
238 changes: 119 additions & 119 deletions chain-cli/oclif.manifest.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
{
"commands": {
"dto-verify": {
"aliases": [
"dto:verify"
],
"connect": {
"aliases": [],
"args": {
"key": {
"description": "File path to the public key.",
"name": "key",
"required": true
},
"data": {
"description": "Data representing an signed DTO object you wish to verify. Provide a JSON string or a path to a valid JSON file.",
"name": "data",
"required": true
"developerPrivateKey": {
"description": "Optional private key to sign the data. It could be a file or a string. If not provided, the private key will be read from the environment variable DEV_PRIVATE_KEY.",
"name": "developerPrivateKey",
"required": false
}
},
"description": "It verifies the signature in the DTO using the public key.",
"description": "Connect to a new chaincode.",
"examples": [
"galachain dto:verify ./publicKey '{\n \"tokenClass\": {\n \"collection\": \"CLITest\",\n \"category\": \"Currency\",\n },\n \"signature\": \"/fYYooumRdFFrL4U3Nzwuf2uzBZAxKv4WrnMjLnbnJFU+Z6lQe2X/CCcLhRqq67jUDEFvOdky0g5D4sRCExXyBw=\",\n }'",
"galachain dto:verify ./publicKey dto.json"
"galachain connect",
"galachain connect ./dev-private-key",
"galachain connect c0fb1924408d936fb7cd0c86695885df4f66861621b5c8660df3924c4d09dd79",
"galachain connect --testnet"
],
"flags": {
"json": {
Expand All @@ -42,11 +37,17 @@
"error"
],
"type": "option"
},
"testnet": {
"description": "Connect to testnet instead of sandbox.",
"name": "testnet",
"allowNo": false,
"type": "boolean"
}
},
"hasDynamicHelp": false,
"hiddenAliases": [],
"id": "dto-verify",
"id": "connect",
"pluginAlias": "@gala-chain/cli",
"pluginName": "@gala-chain/cli",
"pluginType": "core",
Expand All @@ -56,7 +57,7 @@
"relativePath": [
"lib",
"commands",
"dto-verify",
"connect",
"index.js"
]
},
Expand Down Expand Up @@ -126,21 +127,28 @@
"index.js"
]
},
"connect": {
"aliases": [],
"dto-sign": {
"aliases": [
"dto:sign"
],
"args": {
"developerPrivateKey": {
"description": "Optional private key to sign the data. It could be a file or a string. If not provided, the private key will be read from the environment variable DEV_PRIVATE_KEY.",
"name": "developerPrivateKey",
"required": false
"key": {
"description": "Private key string or path to the private key file.",
"name": "key",
"required": true
},
"data": {
"description": "Data representing an unsigned DTO object you wish to sign. Provide a JSON string or a path to a valid JSON file.",
"name": "data",
"required": true
}
},
"description": "Connect to a new chaincode.",
"description": "DTO (Data Transfer Object) signing.",
"examples": [
"galachain connect",
"galachain connect ./dev-private-key",
"galachain connect c0fb1924408d936fb7cd0c86695885df4f66861621b5c8660df3924c4d09dd79",
"galachain connect --testnet"
"galachain dto:sign -o=output/path ./testkey '{\n \"tokenClass\": {\n \"collection\": \"CLITest\",\n \"category\": \"Currency\",\n }\n }'",
"galachain dto:sign ./testkey dto.json -o=output/path",
"galachain dto:sign ./testkey dto.json -d",
"galachain dto:sign 04ea7e8e14f2a0 dto.json -s -o=output/path -d"
],
"flags": {
"json": {
Expand All @@ -164,16 +172,32 @@
],
"type": "option"
},
"testnet": {
"description": "Connect to testnet instead of sandbox.",
"name": "testnet",
"outputFile": {
"char": "o",
"description": "(optional) File path to an output directory where the signed DTO JSON file will be written. If not provided, signed DTO will be printed to stdout.",
"name": "outputFile",
"hasDynamicHelp": false,
"multiple": false,
"type": "option"
},
"derSignature": {
"char": "d",
"description": "(optional) If provided, the signature will be used as DER format.",
"name": "derSignature",
"allowNo": false,
"type": "boolean"
},
"onlySignature": {
"char": "s",
"description": "(optional) If provided, only the signature will be printed to stdout or written to a file.",
"name": "onlySignature",
"allowNo": false,
"type": "boolean"
}
},
"hasDynamicHelp": false,
"hiddenAliases": [],
"id": "connect",
"id": "dto-sign",
"pluginAlias": "@gala-chain/cli",
"pluginName": "@gala-chain/cli",
"pluginType": "core",
Expand All @@ -183,7 +207,67 @@
"relativePath": [
"lib",
"commands",
"connect",
"dto-sign",
"index.js"
]
},
"dto-verify": {
"aliases": [
"dto:verify"
],
"args": {
"key": {
"description": "File path to the public key.",
"name": "key",
"required": true
},
"data": {
"description": "Data representing an signed DTO object you wish to verify. Provide a JSON string or a path to a valid JSON file.",
"name": "data",
"required": true
}
},
"description": "It verifies the signature in the DTO using the public key.",
"examples": [
"galachain dto:verify ./publicKey '{\n \"tokenClass\": {\n \"collection\": \"CLITest\",\n \"category\": \"Currency\",\n },\n \"signature\": \"/fYYooumRdFFrL4U3Nzwuf2uzBZAxKv4WrnMjLnbnJFU+Z6lQe2X/CCcLhRqq67jUDEFvOdky0g5D4sRCExXyBw=\",\n }'",
"galachain dto:verify ./publicKey dto.json"
],
"flags": {
"json": {
"description": "Format output as json.",
"helpGroup": "GLOBAL",
"name": "json",
"allowNo": false,
"type": "boolean"
},
"log-level": {
"helpGroup": "GLOBAL",
"name": "log-level",
"summary": "Specify level for logging.",
"hasDynamicHelp": false,
"multiple": false,
"options": [
"debug",
"info",
"warn",
"error"
],
"type": "option"
}
},
"hasDynamicHelp": false,
"hiddenAliases": [],
"id": "dto-verify",
"pluginAlias": "@gala-chain/cli",
"pluginName": "@gala-chain/cli",
"pluginType": "core",
"strict": true,
"enableJsonFlag": true,
"isESM": false,
"relativePath": [
"lib",
"commands",
"dto-verify",
"index.js"
]
},
Expand Down Expand Up @@ -408,90 +492,6 @@
"index.js"
]
},
"dto-sign": {
"aliases": [
"dto:sign"
],
"args": {
"key": {
"description": "Private key string or path to the private key file.",
"name": "key",
"required": true
},
"data": {
"description": "Data representing an unsigned DTO object you wish to sign. Provide a JSON string or a path to a valid JSON file.",
"name": "data",
"required": true
}
},
"description": "DTO (Data Transfer Object) signing.",
"examples": [
"galachain dto:sign -o=output/path ./testkey '{\n \"tokenClass\": {\n \"collection\": \"CLITest\",\n \"category\": \"Currency\",\n }\n }'",
"galachain dto:sign ./testkey dto.json -o=output/path",
"galachain dto:sign ./testkey dto.json -d",
"galachain dto:sign 04ea7e8e14f2a0 dto.json -s -o=output/path -d"
],
"flags": {
"json": {
"description": "Format output as json.",
"helpGroup": "GLOBAL",
"name": "json",
"allowNo": false,
"type": "boolean"
},
"log-level": {
"helpGroup": "GLOBAL",
"name": "log-level",
"summary": "Specify level for logging.",
"hasDynamicHelp": false,
"multiple": false,
"options": [
"debug",
"info",
"warn",
"error"
],
"type": "option"
},
"outputFile": {
"char": "o",
"description": "(optional) File path to an output directory where the signed DTO JSON file will be written. If not provided, signed DTO will be printed to stdout.",
"name": "outputFile",
"hasDynamicHelp": false,
"multiple": false,
"type": "option"
},
"derSignature": {
"char": "d",
"description": "(optional) If provided, the signature will be used as DER format.",
"name": "derSignature",
"allowNo": false,
"type": "boolean"
},
"onlySignature": {
"char": "s",
"description": "(optional) If provided, only the signature will be printed to stdout or written to a file.",
"name": "onlySignature",
"allowNo": false,
"type": "boolean"
}
},
"hasDynamicHelp": false,
"hiddenAliases": [],
"id": "dto-sign",
"pluginAlias": "@gala-chain/cli",
"pluginName": "@gala-chain/cli",
"pluginType": "core",
"strict": true,
"enableJsonFlag": true,
"isESM": false,
"relativePath": [
"lib",
"commands",
"dto-sign",
"index.js"
]
},
"network-up": {
"aliases": [
"network:up"
Expand Down Expand Up @@ -675,5 +675,5 @@
]
}
},
"version": "1.1.11"
"version": "1.1.12"
}
4 changes: 2 additions & 2 deletions chain-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gala-chain/cli",
"version": "1.1.11",
"version": "1.1.12",
"description": "CLI for GalaChain to manage and deploy chaincodes",
"license": "Apache-2.0",
"bin": {
Expand All @@ -14,7 +14,7 @@
"/oclif.manifest.json"
],
"dependencies": {
"@gala-chain/api": "1.1.11",
"@gala-chain/api": "1.1.12",
"@noble/secp256k1": "^1.7.1",
"@oclif/core": "^3",
"@oclif/plugin-help": "^3",
Expand Down
4 changes: 2 additions & 2 deletions chain-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gala-chain/client",
"version": "1.1.11",
"version": "1.1.12",
"description": "GalaChain client library",
"license": "Apache-2.0",
"scripts": {
Expand All @@ -21,7 +21,7 @@
"lib"
],
"dependencies": {
"@gala-chain/api": "1.1.11",
"@gala-chain/api": "1.1.12",
"axios": "^1.6.0",
"jsonschema": "^1.4.1",
"tslib": "^2.6.2",
Expand Down
Loading

0 comments on commit 821fc6c

Please sign in to comment.