Moved to using npm versions of packages in umbrella package.
This commit is contained in:
parent
2ff0b10084
commit
ef2f0add35
1216
dist/ethers-contracts.js
vendored
1216
dist/ethers-contracts.js
vendored
File diff suppressed because it is too large
Load Diff
6
dist/ethers-contracts.min.js
vendored
6
dist/ethers-contracts.min.js
vendored
File diff suppressed because one or more lines are too long
3050
dist/ethers-providers.js
vendored
3050
dist/ethers-providers.js
vendored
File diff suppressed because it is too large
Load Diff
6
dist/ethers-providers.min.js
vendored
6
dist/ethers-providers.min.js
vendored
File diff suppressed because one or more lines are too long
6
dist/ethers-utils.js
vendored
6
dist/ethers-utils.js
vendored
@ -148,7 +148,7 @@ function BigNumber(value) {
|
||||
} else if (BN.isBN(value)) {
|
||||
//value = value
|
||||
|
||||
} else if (value instanceof BigNumber) {
|
||||
} else if (isBigNumber(value)) {
|
||||
value = value._bn;
|
||||
|
||||
} else if (convert.isArrayish(value)) {
|
||||
@ -244,11 +244,11 @@ defineProperty(BigNumber.prototype, 'toHexString', function() {
|
||||
|
||||
|
||||
function isBigNumber(value) {
|
||||
return (value instanceof BigNumber);
|
||||
return (value._bn && value._bn.mod);
|
||||
}
|
||||
|
||||
function bigNumberify(value) {
|
||||
if (value instanceof BigNumber) { return value; }
|
||||
if (isBigNumber(value)) { return value; }
|
||||
return new BigNumber(value);
|
||||
}
|
||||
|
||||
|
2
dist/ethers-utils.min.js
vendored
2
dist/ethers-utils.min.js
vendored
File diff suppressed because one or more lines are too long
7180
dist/ethers-wallet.js
vendored
7180
dist/ethers-wallet.js
vendored
File diff suppressed because one or more lines are too long
12
dist/ethers-wallet.min.js
vendored
12
dist/ethers-wallet.min.js
vendored
File diff suppressed because one or more lines are too long
13236
dist/ethers.js
vendored
13236
dist/ethers.js
vendored
File diff suppressed because one or more lines are too long
14
dist/ethers.min.js
vendored
14
dist/ethers.min.js
vendored
File diff suppressed because one or more lines are too long
12
index.js
12
index.js
@ -1,17 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
/*
|
||||
var contracts = require('ethers-contracts');
|
||||
var HDNode = require('ethers-hdnode');
|
||||
//var providers = require('providers');
|
||||
var providers = require('ethers-providers');
|
||||
var utils = require('ethers-utils');
|
||||
var Wallet = require('ethers-wallet');
|
||||
*/
|
||||
|
||||
var contracts = require('./contracts/index.js');
|
||||
var providers = require('./providers/index.js');
|
||||
var utils = require('./utils/index.js');
|
||||
var wallet = require('./wallet/index.js');
|
||||
var wallet = require('ethers-wallet');
|
||||
|
||||
module.exports = {
|
||||
Wallet: wallet.Wallet,
|
||||
|
Loading…
Reference in New Issue
Block a user