carauction-network
Advanced tools
Comparing version 0.2.2-20180228181717 to 0.2.2-20180228214049
{ | ||
"engines": { | ||
"composer": "^0.17.0" | ||
"composer": "^0.18.0" | ||
}, | ||
"name": "carauction-network", | ||
"version": "0.2.2-20180228181717", | ||
"version": "0.2.2-20180228214049", | ||
"description": "Car Auction Business Network", | ||
@@ -35,7 +35,7 @@ "networkImage": "https://hyperledger.github.io/composer-sample-networks/packages/carauction-network/networkimage.svg", | ||
"chai": "^3.5.0", | ||
"composer-admin": "^0.17.0-0", | ||
"composer-cli": "^0.17.0-0", | ||
"composer-client": "^0.17.0-0", | ||
"composer-common": "^0.17.0-0", | ||
"composer-connector-embedded": "^0.17.0-0", | ||
"composer-admin": "^0.18.0-0", | ||
"composer-cli": "^0.18.0-0", | ||
"composer-client": "^0.18.0-0", | ||
"composer-common": "^0.18.0-0", | ||
"composer-connector-embedded": "^0.18.0-0", | ||
"eslint": "^3.6.1", | ||
@@ -42,0 +42,0 @@ "istanbul": "^0.4.5", |
@@ -19,5 +19,3 @@ /* | ||
const BusinessNetworkConnection = require('composer-client').BusinessNetworkConnection; | ||
const BusinessNetworkDefinition = require('composer-common').BusinessNetworkDefinition; | ||
const IdCard = require('composer-common').IdCard; | ||
const MemoryCardStore = require('composer-common').MemoryCardStore; | ||
const { BusinessNetworkDefinition, CertificateUtil, IdCard, MemoryCardStore } = require('composer-common'); | ||
const path = require('path'); | ||
@@ -41,7 +39,4 @@ | ||
}; | ||
// Embedded connection does not need real credentials | ||
const credentials = { | ||
certificate: 'FAKE CERTIFICATE', | ||
privateKey: 'FAKE PRIVATE KEY' | ||
}; | ||
// Generate certificates for use with the embedded connection | ||
const credentials = CertificateUtil.generate({ commonName: 'admin' }); | ||
@@ -48,0 +43,0 @@ // PeerAdmin identity used with the admin connection to deploy business networks |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56559
324