message: Make `fromCoins` take an array instead of argument spread
diff: @@ -9,7 +9,7 @@ export class CoinMap {
  private constructor() {}
  - static fromCoins(...coins: BaseCoin[]): CoinMap {
  + static fromCoins(coins: BaseCoin[]): CoinMap {
  return coins.reduce((coinMap, coin) => {
  if (coinMap._map.has(coin.name)) {
  throw new DuplicateCoinDefinitionError(coin.name);
  @@ -55,7 +55,7 @@ export class CoinMap {
  filterResult.push(value);
  }
  });
  - return CoinMap.fromCoins(...filterResult);
  + return CoinMap.fromCoins(filterResult);
  }
  public forEach(callback: (coin: BaseCoin, coinName: string) => void): void {
  @@ -69,7 +69,7 @@ export { CoinFeature } from './base';
  export * from './errors';
  export { Networks } from './networks';
  -export const coins = CoinMap.fromCoins(
  +export const coins = CoinMap.fromCoins([
  utxo('btc', 'Bitcoin', Networks.main.bitcoin),
  utxo('tbtc', 'Testnet Bitcoin', Networks.test.bitcoin),
  utxo('ltc', 'Litecoin', Networks.main.litecoin),
  @@ -78,5 +78,5 @@ export const coins = CoinMap.fromCoins(
  erc20('erc', 'ERC Token', 0, '0x8e35d374594fa07d0de5c5e6563766cd24336251'),
  erc20('omg', 'OmiseGo Token', 18, '0xd26114cd6ee289accf82350c8d8487fedb8a0c07'),
  terc20('terc', 'ERC Test Token', 0, '0x945ac907cf021a6bcd07852bb3b8c087051706a9'),
  - terc20('test', 'Test Mintable ERC20 Token', 18, '0x1fb879581f31687b905653d4bbcbe3af507bed37')
  -);
  + terc20('test', 'Test Mintable ERC20 Token', 18, '0x1fb879581f31687b905653d4bbcbe3af507bed37'),
  +]);
  