UNPKG

webex

Version:

SDK for Cisco Webex

36 lines (31 loc) 1.05 kB
"use strict"; /*! * Copyright (c) 2015-2025 Cisco Systems, Inc. See the LICENSE file. */ // Note: this file is written using commonjs instead of import/export to // simplify consumption by those less familiar with the current state of // JavaScript modularization /* istanbul ignore else */ if (!global._babelPolyfill) { /* eslint global-require: [0] */ require('@babel/polyfill'); } require('@webex/plugin-authorization'); require('@webex/internal-plugin-encryption'); // required require('@webex/plugin-encryption'); var merge = require('lodash/merge'); var WebexCore = require('@webex/webex-core').default; var config = require('./config'); var Webex = WebexCore.extend({ webex: true, version: "3.9.0" }); Webex.init = function init() { var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; attrs.config = merge({ sdkType: 'encryption' }, config, attrs.config); // eslint-disable-line no-param-reassign return new Webex(attrs); }; module.exports = Webex; //# sourceMappingURL=encryption.js.map