Make exports consistent (#269)

* Make exports consistent

* Cleanup trie impl
This commit is contained in:
Jaco Greeff
2018-12-09 13:25:14 +01:00
committed by GitHub
parent 23ced723df
commit cab0713f33
21 changed files with 120 additions and 259 deletions
+8 -17
View File
@@ -2,23 +2,14 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import u8aConcat from './concat';
import u8aFixLength from './fixLength';
import u8aToBn from './toBn';
import u8aToBuffer from './toBuffer';
import u8aToHex from './toHex';
import u8aToString from './toString';
import u8aToU8a from './toU8a';
/**
* @summary Utility methods to convert to and from `Uint8Array` objects
*/
export {
u8aConcat,
u8aFixLength,
u8aToBn,
u8aToBuffer,
u8aToHex,
u8aToString,
u8aToU8a
};
export { default as u8aConcat } from './concat';
export { default as u8aFixLength } from './fixLength';
export { default as u8aToBn } from './toBn';
export { default as u8aToBuffer } from './toBuffer';
export { default as u8aToHex } from './toHex';
export { default as u8aToString } from './toString';
export { default as u8aToU8a } from './toU8a';