From 17460095465741519808fc1bd7e128111e571255 Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Thu, 15 Oct 2015 15:58:44 -0400 Subject: [PATCH] Name changes for version guard message. --- index.js | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index dd0b97b..9aa78d9 100644 --- a/index.js +++ b/index.js @@ -6,9 +6,9 @@ var bitcore = module.exports; bitcore.version = 'v' + require('./package.json').version; bitcore.versionGuard = function(version) { if (version !== undefined) { - var message = 'More than one instance of bitcore found with versions: ' + bitcore.version + - ' and ' + version + '. Please make sure to require bitcore and check that submodules do' + - ' not also include their own bitcore dependency.'; + var message = 'More than one instance of bitcore-lib found. ' + + 'Please make sure to require bitcore-lib and check that submodules do' + + ' not also include their own bitcore-lib dependency.'; throw new Error(message); } }; diff --git a/package.json b/package.json index 8ea0a80..33a47ca 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/bitpay/bitcore.git" + "url": "https://github.com/bitpay/bitcore-lib.git" }, "browser": { "request": "browser-request"