Extended publishing of libraries to npm (#3786)
* Extended publishing of libraries to npm * Update source links * Add some tests before publishing NPM library * Fix Shapeshift tests
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
try {
|
||||
var Api = require('../.npmjs/library.js').Api;
|
||||
var Abi = require('../.npmjs/library.js').Abi;
|
||||
var Api = require('../.npmjs/parity/library.js').Api;
|
||||
var Abi = require('../.npmjs/parity/library.js').Abi;
|
||||
|
||||
if (typeof Api !== 'function') {
|
||||
throw new Error('No Api');
|
||||
Reference in New Issue
Block a user