added additional exports

This commit is contained in:
2021-06-06 22:37:18 -05:00
parent c2afa74ad8
commit 9ea1e98d0a

View File

@@ -3,6 +3,9 @@ import connection from './networking/connection';
import connection_pool from './networking/connection_pool';
import * as ops from './ops';
export { default as packet } from './networking/packet';
export * as byte_order from './utils/byte_order';
export const connect = async (host_or_ip, port, password) => {
const conn = new connection(host_or_ip, port, password);
await conn.connect();