webex 2.52.12 → 2.53.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/meetings.js +45 -0
- package/dist/meetings.js.map +1 -0
- package/dist/webex.js +1 -1
- package/package.json +25 -25
- package/src/meetings.js +51 -0
- package/umd/meetings.min.js +3 -0
- package/umd/meetings.min.js.map +1 -0
- package/umd/webex.min.js +2 -2
- package/umd/webex.min.js.map +1 -1
package/dist/meetings.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/*!
|
|
4
|
+
* Copyright (c) 2015-2023 Cisco Systems, Inc. See the LICENSE file.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Note: this file is written using commonjs instead of import/export to
|
|
8
|
+
// simplify consumption by those less familiar with the current state of
|
|
9
|
+
// JavaScript modularization
|
|
10
|
+
|
|
11
|
+
/* istanbul ignore else */
|
|
12
|
+
if (!global._babelPolyfill) {
|
|
13
|
+
/* eslint global-require: [0] */
|
|
14
|
+
require('@babel/polyfill');
|
|
15
|
+
}
|
|
16
|
+
require('@webex/plugin-authorization');
|
|
17
|
+
// explicitly load wdm, since we're relying on preDiscoveryServices and the
|
|
18
|
+
// url interceptor
|
|
19
|
+
require('@webex/plugin-logger');
|
|
20
|
+
require('@webex/common');
|
|
21
|
+
require('@webex/plugin-meetings');
|
|
22
|
+
require('@webex/internal-plugin-device');
|
|
23
|
+
require('@webex/internal-plugin-metrics');
|
|
24
|
+
require('@webex/internal-plugin-support');
|
|
25
|
+
require('@webex/internal-plugin-user');
|
|
26
|
+
require('@webex/plugin-people');
|
|
27
|
+
var merge = require('lodash/merge');
|
|
28
|
+
var WebexCore = require('@webex/webex-core').default;
|
|
29
|
+
var config = require('./config');
|
|
30
|
+
var Webex = WebexCore.extend({
|
|
31
|
+
webex: true,
|
|
32
|
+
version: "2.53.1"
|
|
33
|
+
});
|
|
34
|
+
Webex.init = function init() {
|
|
35
|
+
var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
36
|
+
attrs.config = merge({
|
|
37
|
+
meetings: {
|
|
38
|
+
disableHydraId: true
|
|
39
|
+
}
|
|
40
|
+
}, config, attrs.config); // eslint-disable-line no-param-reassign
|
|
41
|
+
|
|
42
|
+
return new Webex(attrs);
|
|
43
|
+
};
|
|
44
|
+
module.exports = Webex;
|
|
45
|
+
//# sourceMappingURL=meetings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["global","_babelPolyfill","require","merge","WebexCore","default","config","Webex","extend","webex","version","init","attrs","arguments","length","undefined","meetings","disableHydraId","module","exports"],"sources":["meetings.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2023 Cisco Systems, Inc. See the LICENSE file.\n */\n\n// Note: this file is written using commonjs instead of import/export to\n// simplify consumption by those less familiar with the current state of\n// JavaScript modularization\n\n/* istanbul ignore else */\nif (!global._babelPolyfill) {\n /* eslint global-require: [0] */\n require('@babel/polyfill');\n}\n\nrequire('@webex/plugin-authorization');\n// explicitly load wdm, since we're relying on preDiscoveryServices and the\n// url interceptor\nrequire('@webex/plugin-logger');\nrequire('@webex/common');\nrequire('@webex/plugin-meetings');\nrequire('@webex/internal-plugin-device');\nrequire('@webex/internal-plugin-metrics');\nrequire('@webex/internal-plugin-support');\nrequire('@webex/internal-plugin-user');\nrequire('@webex/plugin-people');\n\nconst merge = require('lodash/merge');\nconst WebexCore = require('@webex/webex-core').default;\n\nconst config = require('./config');\n\nconst Webex = WebexCore.extend({\n webex: true,\n version: PACKAGE_VERSION,\n});\n\nWebex.init = function init(attrs = {}) {\n attrs.config = merge(\n {\n meetings: {\n disableHydraId: true,\n },\n },\n config,\n attrs.config\n ); // eslint-disable-line no-param-reassign\n\n return new Webex(attrs);\n};\n\nmodule.exports = Webex;\n"],"mappings":";;AAAA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,IAAI,CAACA,MAAM,CAACC,cAAc,EAAE;EAC1B;EACAC,OAAO,CAAC,iBAAiB,CAAC;AAC5B;AAEAA,OAAO,CAAC,6BAA6B,CAAC;AACtC;AACA;AACAA,OAAO,CAAC,sBAAsB,CAAC;AAC/BA,OAAO,CAAC,eAAe,CAAC;AACxBA,OAAO,CAAC,wBAAwB,CAAC;AACjCA,OAAO,CAAC,+BAA+B,CAAC;AACxCA,OAAO,CAAC,gCAAgC,CAAC;AACzCA,OAAO,CAAC,gCAAgC,CAAC;AACzCA,OAAO,CAAC,6BAA6B,CAAC;AACtCA,OAAO,CAAC,sBAAsB,CAAC;AAE/B,IAAMC,KAAK,GAAGD,OAAO,CAAC,cAAc,CAAC;AACrC,IAAME,SAAS,GAAGF,OAAO,CAAC,mBAAmB,CAAC,CAACG,OAAO;AAEtD,IAAMC,MAAM,GAAGJ,OAAO,CAAC,UAAU,CAAC;AAElC,IAAMK,KAAK,GAAGH,SAAS,CAACI,MAAM,CAAC;EAC7BC,KAAK,EAAE,IAAI;EACXC,OAAO;AACT,CAAC,CAAC;AAEFH,KAAK,CAACI,IAAI,GAAG,SAASA,IAAIA,CAAA,EAAa;EAAA,IAAZC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACnCD,KAAK,CAACN,MAAM,GAAGH,KAAK,CAClB;IACEa,QAAQ,EAAE;MACRC,cAAc,EAAE;IAClB;EACF,CAAC,EACDX,MAAM,EACNM,KAAK,CAACN,MAAM,CACb,CAAC,CAAC;;EAEH,OAAO,IAAIC,KAAK,CAACK,KAAK,CAAC;AACzB,CAAC;AAEDM,MAAM,CAACC,OAAO,GAAGZ,KAAK"}
|
package/dist/webex.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webex",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.53.1",
|
|
4
4
|
"description": "SDK for Cisco Webex",
|
|
5
5
|
"license": "Cisco EULA (https://www.cisco.com/c/en/us/products/end-user-license-agreement.html)",
|
|
6
6
|
"contributors": [
|
|
@@ -34,34 +34,34 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@webex/plugin-authorization": "2.
|
|
38
|
-
"@webex/test-helper-chai": "2.
|
|
39
|
-
"@webex/test-helper-mocha": "2.
|
|
40
|
-
"@webex/test-helper-test-users": "2.
|
|
37
|
+
"@webex/plugin-authorization": "2.53.1",
|
|
38
|
+
"@webex/test-helper-chai": "2.53.1",
|
|
39
|
+
"@webex/test-helper-mocha": "2.53.1",
|
|
40
|
+
"@webex/test-helper-test-users": "2.53.1",
|
|
41
41
|
"sinon": "^9.2.4",
|
|
42
|
-
"webex": "2.
|
|
42
|
+
"webex": "2.53.1"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@babel/polyfill": "^7.12.1",
|
|
46
|
-
"@webex/common": "2.
|
|
47
|
-
"@webex/internal-plugin-calendar": "2.
|
|
48
|
-
"@webex/internal-plugin-device": "2.
|
|
49
|
-
"@webex/internal-plugin-presence": "2.
|
|
50
|
-
"@webex/internal-plugin-support": "2.
|
|
51
|
-
"@webex/plugin-attachment-actions": "2.
|
|
52
|
-
"@webex/plugin-authorization": "2.
|
|
53
|
-
"@webex/plugin-device-manager": "2.
|
|
54
|
-
"@webex/plugin-logger": "2.
|
|
55
|
-
"@webex/plugin-meetings": "2.
|
|
56
|
-
"@webex/plugin-memberships": "2.
|
|
57
|
-
"@webex/plugin-messages": "2.
|
|
58
|
-
"@webex/plugin-people": "2.
|
|
59
|
-
"@webex/plugin-rooms": "2.
|
|
60
|
-
"@webex/plugin-team-memberships": "2.
|
|
61
|
-
"@webex/plugin-teams": "2.
|
|
62
|
-
"@webex/plugin-webhooks": "2.
|
|
63
|
-
"@webex/storage-adapter-local-storage": "2.
|
|
64
|
-
"@webex/webex-core": "2.
|
|
46
|
+
"@webex/common": "2.53.1",
|
|
47
|
+
"@webex/internal-plugin-calendar": "2.53.1",
|
|
48
|
+
"@webex/internal-plugin-device": "2.53.1",
|
|
49
|
+
"@webex/internal-plugin-presence": "2.53.1",
|
|
50
|
+
"@webex/internal-plugin-support": "2.53.1",
|
|
51
|
+
"@webex/plugin-attachment-actions": "2.53.1",
|
|
52
|
+
"@webex/plugin-authorization": "2.53.1",
|
|
53
|
+
"@webex/plugin-device-manager": "2.53.1",
|
|
54
|
+
"@webex/plugin-logger": "2.53.1",
|
|
55
|
+
"@webex/plugin-meetings": "2.53.1",
|
|
56
|
+
"@webex/plugin-memberships": "2.53.1",
|
|
57
|
+
"@webex/plugin-messages": "2.53.1",
|
|
58
|
+
"@webex/plugin-people": "2.53.1",
|
|
59
|
+
"@webex/plugin-rooms": "2.53.1",
|
|
60
|
+
"@webex/plugin-team-memberships": "2.53.1",
|
|
61
|
+
"@webex/plugin-teams": "2.53.1",
|
|
62
|
+
"@webex/plugin-webhooks": "2.53.1",
|
|
63
|
+
"@webex/storage-adapter-local-storage": "2.53.1",
|
|
64
|
+
"@webex/webex-core": "2.53.1",
|
|
65
65
|
"lodash": "^4.17.21"
|
|
66
66
|
}
|
|
67
67
|
}
|
package/src/meetings.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2015-2023 Cisco Systems, Inc. See the LICENSE file.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
// Note: this file is written using commonjs instead of import/export to
|
|
6
|
+
// simplify consumption by those less familiar with the current state of
|
|
7
|
+
// JavaScript modularization
|
|
8
|
+
|
|
9
|
+
/* istanbul ignore else */
|
|
10
|
+
if (!global._babelPolyfill) {
|
|
11
|
+
/* eslint global-require: [0] */
|
|
12
|
+
require('@babel/polyfill');
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
require('@webex/plugin-authorization');
|
|
16
|
+
// explicitly load wdm, since we're relying on preDiscoveryServices and the
|
|
17
|
+
// url interceptor
|
|
18
|
+
require('@webex/plugin-logger');
|
|
19
|
+
require('@webex/common');
|
|
20
|
+
require('@webex/plugin-meetings');
|
|
21
|
+
require('@webex/internal-plugin-device');
|
|
22
|
+
require('@webex/internal-plugin-metrics');
|
|
23
|
+
require('@webex/internal-plugin-support');
|
|
24
|
+
require('@webex/internal-plugin-user');
|
|
25
|
+
require('@webex/plugin-people');
|
|
26
|
+
|
|
27
|
+
const merge = require('lodash/merge');
|
|
28
|
+
const WebexCore = require('@webex/webex-core').default;
|
|
29
|
+
|
|
30
|
+
const config = require('./config');
|
|
31
|
+
|
|
32
|
+
const Webex = WebexCore.extend({
|
|
33
|
+
webex: true,
|
|
34
|
+
version: PACKAGE_VERSION,
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
Webex.init = function init(attrs = {}) {
|
|
38
|
+
attrs.config = merge(
|
|
39
|
+
{
|
|
40
|
+
meetings: {
|
|
41
|
+
disableHydraId: true,
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
config,
|
|
45
|
+
attrs.config
|
|
46
|
+
); // eslint-disable-line no-param-reassign
|
|
47
|
+
|
|
48
|
+
return new Webex(attrs);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
module.exports = Webex;
|