-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
1 lines (1 loc) · 919 Bytes
/
index.js
1
function t(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,e(t,o)}function e(t,o){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},e(t,o)}var o,r=function(t){this.providerName=void 0,this.baseURL=void 0,this.providerName=t.providerName,this.baseURL=t.baseURL||"http://localhost:8000"},n=/*#__PURE__*/function(e){function o(){return e.apply(this,arguments)||this}t(o,e);var r=o.prototype;return r.createConnection=function(){return"hello world. I am connected"},r.createSocketConnection=function(t){return require("socket.io")(t)},o}(r),c=/*#__PURE__*/function(e){function o(){return e.apply(this,arguments)||this}return t(o,e),o}(r);o=c,[n].forEach(function(t){Object.getOwnPropertyNames(t.prototype).forEach(function(e){Object.defineProperty(o.prototype,e,Object.getOwnPropertyDescriptor(t.prototype,e)||Object.create(null))})}),module.exports=c;