UNPKG

@skyway-sdk/rtc-api-client

Version:

The official Next Generation JavaScript SDK for SkyWay

24 lines 750 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Config = void 0; const deepmerge_1 = __importDefault(require("deepmerge")); class Config { constructor(options = {}) { this.rtcApi = { domain: 'rtc-api.skyway.ntt.com', timeout: 30000, secure: true, eventSubscribeTimeout: 5000, }; this.log = { level: 'error', format: 'object', }; Object.assign(this, (0, deepmerge_1.default)(this, options)); } } exports.Config = Config; //# sourceMappingURL=config.js.map