diff --git a/lib/sylkrtc.js b/lib/sylkrtc.js index 02bab0d..d0b1234 100644 --- a/lib/sylkrtc.js +++ b/lib/sylkrtc.js @@ -1,25 +1,25 @@ 'use strict'; import debug from 'debug'; import rtcninja from 'rtcninja'; import { Connection } from './connection'; // Public API function createConnection(options = {}) { if (!rtcninja.hasWebRTC()) { throw new Error('WebRTC support not detected'); } let conn = new Connection(options); conn._initialize(); return conn; } -export default { +export { createConnection, debug, rtcninja };