Export everything and all types
This commit is contained in:
16
src/index.ts
16
src/index.ts
@@ -1,13 +1,9 @@
|
||||
export * as types from './packet.types';
|
||||
export * from './parser';
|
||||
export * from './identity';
|
||||
export { Packet } from './packet';
|
||||
export * from './identity.types';
|
||||
export type * from './identity.types';
|
||||
|
||||
import { Packet as _Packet } from './packet';
|
||||
import { RouteType, PayloadType } from './packet.types';
|
||||
export * from './crypto';
|
||||
export type * from './crypto.types';
|
||||
|
||||
export default {
|
||||
Packet: _Packet,
|
||||
RouteType,
|
||||
PayloadType,
|
||||
};
|
||||
export * from './packet';
|
||||
export type * from './packet.types';
|
||||
|
||||
Reference in New Issue
Block a user