Skip to content

Commit

Permalink
chore(npm): changes scope to @hyperledger-labs/
Browse files Browse the repository at this point in the history
Fixes #28
We'll be allowed to use the @hyperledger scope once the project
graduates from the labs.
At that point we can publish the same package contents under multiple package
scopes for each new release to spare early adopters the migration
effort.

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Nov 13, 2019
1 parent e15fc53 commit a6ed677
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions examples/simple-asset-transfer/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Validator = require(`@hyperledger/blockchain-integration-framework`).Validator;
const { genKeyFile } = require(`@hyperledger/blockchain-integration-framework`).cryptoUtils;
const Validator = require(`@hyperledger-labs/blockchain-integration-framework`).Validator;
const { genKeyFile } = require(`@hyperledger-labs/blockchain-integration-framework`).cryptoUtils;
const ConnectorFabric = require(`./fabric/connector`);
const ConnectorQuorum = require(`./quorum/connector`);
const ConnectorCorda = require(`./corda/connector`);
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-asset-transfer/corda/connector.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const rp = require(`request-promise-native`);

const { Connector } = require(`@hyperledger/blockchain-integration-framework`);
const { Connector } = require(`@hyperledger-labs/blockchain-integration-framework`);

class MyCordaConnector extends Connector.CORDA {
static formatAsset(asset, targetDLTType) {
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-asset-transfer/fabric/connector.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const rp = require(`request-promise-native`);
const { Connector } = require(`@hyperledger/blockchain-integration-framework`);
const { Connector } = require(`@hyperledger-labs/blockchain-integration-framework`);

class MyFabricConnector extends Connector.FABRIC {

Expand Down
4 changes: 2 additions & 2 deletions examples/simple-asset-transfer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/simple-asset-transfer/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"version": "0.1.0",
"name": "@hyperledger/blockchain-integration-framework.examples.simple-asset-transfer",
"name": "@hyperledger-labs/blockchain-integration-framework.examples.simple-asset-transfer",
"dependencies": {
"@hyperledger/blockchain-integration-framework": "git+https://github.com/hyperledger-labs/blockchain-integration-framework.git#master",
"@hyperledger-labs/blockchain-integration-framework": "git+https://github.com/hyperledger-labs/blockchain-integration-framework.git#master",
"cookie-parser": "^1.4.4",
"express-bearer-token": "^2.4.0",
"express-jwt": "^5.3.1",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/simple-asset-transfer/quorum/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "0.1.0",
"name": "@hyperledger/blockchain-integration-framework.examples.simple-asset-transfer.quorum-api",
"name": "@hyperledger-labs/blockchain-integration-framework.examples.simple-asset-transfer.quorum-api",
"license": "Apache-2.0",
"scripts": {
"init": "npm-run-all compile deploy reg",
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-asset-transfer/quorum/connector.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const rp = require(`request-promise-native`);

const { Connector } = require(`@hyperledger/blockchain-integration-framework`);
const { Connector } = require(`@hyperledger-labs/blockchain-integration-framework`);

class MyQuorumConnector extends Connector.QUORUM {
static formatAsset(asset, targetDLTType) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const log4js = require(`log4js`);
const ConnectorCorda = require(`../corda/connector.js`);
const ConnectorFabric = require(`../fabric/connector.js`);
const Client = require(`@hyperledger/blockchain-integration-framework`).Client;
const Client = require(`@hyperledger-labs/blockchain-integration-framework`).Client;
const conf = require(`./config`);

const logger = log4js.getLogger(`corda-to-fabric`);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const log4js = require(`log4js`);
const ConnectorCorda = require(`../corda/connector.js`);
const ConnectorQuorum = require(`../quorum/connector.js`);
const Client = require(`@hyperledger/blockchain-integration-framework`).Client;
const Client = require(`@hyperledger-labs/blockchain-integration-framework`).Client;
const conf = require(`./config`);

const logger = log4js.getLogger(`corda-to-quorum`);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const log4js = require(`log4js`);
const ConnectorCorda = require(`../corda/connector.js`);
const ConnectorFabric = require(`../fabric/connector.js`);
const Client = require(`@hyperledger/blockchain-integration-framework`).Client;
const Client = require(`@hyperledger-labs/blockchain-integration-framework`).Client;
const conf = require(`./config`);

const logger = log4js.getLogger(`fabric-to-corda`);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const log4js = require(`log4js`);
const ConnectorQuorum = require(`../quorum/connector.js`);
const ConnectorFabric = require(`../fabric/connector.js`);
const Client = require(`@hyperledger/blockchain-integration-framework`).Client;
const Client = require(`@hyperledger-labs/blockchain-integration-framework`).Client;
const conf = require(`./config`);

const logger = log4js.getLogger(`fabric-to-quorum`);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const log4js = require(`log4js`);
const ConnectorCorda = require(`../corda/connector.js`);
const ConnectorQuorum = require(`../quorum/connector.js`);
const Client = require(`@hyperledger/blockchain-integration-framework`).Client;
const Client = require(`@hyperledger-labs/blockchain-integration-framework`).Client;
const conf = require(`./config`);

const logger = log4js.getLogger(`quorum-to-corda`);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const log4js = require(`log4js`);
const ConnectorQuorum = require(`../quorum/connector.js`);
const ConnectorFabric = require(`../fabric/connector.js`);
const Client = require(`@hyperledger/blockchain-integration-framework`).Client;
const Client = require(`@hyperledger-labs/blockchain-integration-framework`).Client;
const conf = require(`./config`);

const logger = log4js.getLogger(`quorum-to-fabric`);
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-asset-transfer/scenarios/share-pub-keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const log4js = require(`log4js`);
const ConnectorCorda = require(`../corda/connector.js`);
const ConnectorQuorum = require(`../quorum/connector.js`);
const ConnectorFabric = require(`../fabric/connector.js`);
const Client = require(`@hyperledger/blockchain-integration-framework`).Client;
const Client = require(`@hyperledger-labs/blockchain-integration-framework`).Client;
const conf = require(`./config`);

const logger = log4js.getLogger(`share-public-keys`);
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-asset-transfer/tests/connector-fabric.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const cp = require(`chai-as-promised`);

const ConnectorFabricEx = require(`../fabric/connector`);
const config = require(`./config`);
const { Multisig } = require(`@hyperledger/blockchain-integration-framework`);
const { Multisig } = require(`@hyperledger-labs/blockchain-integration-framework`);

chai.use(cp);

Expand Down
2 changes: 1 addition & 1 deletion examples/simple-asset-transfer/tests/connector-quorum.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const secp256k1 = require(`secp256k1`);

const ConnectorQuorumEx = require(`../quorum/connector`);
const config = require(`./config`);
const { Multisig } = require(`@hyperledger/blockchain-integration-framework`);
const { Multisig } = require(`@hyperledger-labs/blockchain-integration-framework`);

chai.use(cp);

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "0.1.0",
"name": "@hyperledger/blockchain-integration-framework",
"name": "@hyperledger-labs/blockchain-integration-framework",
"license": "Apache-2.0",
"repository": {
"type": "git"
Expand Down

0 comments on commit a6ed677

Please sign in to comment.