Skip to content

Commit

Permalink
[FAB-10522] Fix repository url
Browse files Browse the repository at this point in the history
Beside, also clean redundant comment in index.js

Change-Id: I913c578e34577753df91380e243a626dce9818df
Signed-off-by: davidliu <[email protected]>
  • Loading branch information
davidkhala committed Jun 4, 2018
1 parent acce409 commit bd559eb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
4 changes: 2 additions & 2 deletions fabric-ca-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "1.2.0-snapshot",
"main": "index.js",
"repository": {
"type": "gerrit",
"url": "http://gerrit.hyperledger.org/r/fabric-sdk-node"
"type": "github (read mirror)",
"url": "https://github.com/hyperledger/fabric-sdk-node"
},
"engines": {
"node": "^8.9.0",
Expand Down
9 changes: 1 addition & 8 deletions fabric-client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,11 @@
*/

/**
* This is the main module for the "fabric-client" package. It provides the convenience
* APIs to the classes of the package including [Channel]{@link module:api.Channel}
* This is the main module for the "fabric-client" package.
*/

// Using this module to host the couple of "typedef" sections used by api.js
// because jsdoc3 generator seems to not able to find them in the api.js module
// likely due to that module containing multiple classes

/**
* Options for a key operation
* @typedef {Object} KeyOpts
* @property {boolean} ephemeral Whether the key should be persisted. "true" to persist.
*/

module.exports = require('./lib/Client.js');
4 changes: 2 additions & 2 deletions fabric-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"thirdparty": "0.4.6",
"main": "index.js",
"repository": {
"type": "gerrit",
"url": "http://gerrit.hyperledger.org/r/fabric-sdk-node"
"type": "github (read mirror)",
"url": "https://github.com/hyperledger/fabric-sdk-node"
},
"scripts": {
"test": "node test/unit/headless-tests.js"
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
"main": "index.js",
"repository": {
"type": "gerrit",
"url": "http://gerrit.hyperledger.org/r/fabric-sdk-node"
"url": "https://gerrit.hyperledger.org/r/#/admin/projects/fabric-sdk-node"
},
"homepage": "https://www.hyperledger.org/projects/fabric",
"author": {
"name": "hyperledger/fabric",
"email": "[email protected]"
},
"scripts": {
"test": "gulp test-headless",
Expand Down

0 comments on commit bd559eb

Please sign in to comment.