added additional exports
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user