Make exports consistent (#269)
* Make exports consistent * Cleanup trie impl
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user