webex 3.0.0-beta.16 → 3.0.0-beta.161
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/README.md +1 -3
- package/dist/webex.js +2 -1
- package/dist/webex.js.map +1 -1
- package/package.json +26 -25
- package/src/webex.js +1 -0
- package/umd/webex.min.js +2 -2
- package/umd/webex.min.js.map +1 -1
package/README.md
CHANGED
|
@@ -65,15 +65,13 @@ webex.rooms.create({ title: `My First Room` }).then(room => {
|
|
|
65
65
|
|
|
66
66
|
#### _A note on browser usage_
|
|
67
67
|
|
|
68
|
-
We provide a built, minified version of the SDK, that includes `window.Webex`. You can access it via [unpkg](https://unpkg.com/)
|
|
68
|
+
We provide a built, minified version of the SDK, that includes `window.Webex`. You can access it via [unpkg](https://unpkg.com/) or [jsdelivr](https://jsdelivr.com/).
|
|
69
69
|
|
|
70
70
|
```html
|
|
71
71
|
<!-- unpkg -->
|
|
72
72
|
<script src="https://unpkg.com/webex/umd/webex.min.js"></script>
|
|
73
73
|
<!-- jsdelivr -->
|
|
74
74
|
<script src="https://cdn.jsdelivr.net/npm/webex/umd/webex.min.js"></script>
|
|
75
|
-
<!-- gitcdn -->
|
|
76
|
-
<script src="https://gitcdn.xyz/repo/webex/webex-js-sdk/master/packages/node_modules/webex/umd/webex.min.js"></script>
|
|
77
75
|
```
|
|
78
76
|
|
|
79
77
|
If you're already using a bundler (like [Webpack](https://webpack.js.org/)) you can simply import/require the package and use the above snippet and assign the initialized `webex` variable to `window.webex`.
|
package/dist/webex.js
CHANGED
|
@@ -17,6 +17,7 @@ require('@webex/internal-plugin-calendar');
|
|
|
17
17
|
require('@webex/internal-plugin-device');
|
|
18
18
|
require('@webex/internal-plugin-presence');
|
|
19
19
|
require('@webex/internal-plugin-support');
|
|
20
|
+
require('@webex/internal-plugin-llm');
|
|
20
21
|
require('@webex/plugin-attachment-actions');
|
|
21
22
|
require('@webex/plugin-device-manager');
|
|
22
23
|
require('@webex/plugin-logger');
|
|
@@ -43,7 +44,7 @@ var config = require('./config');
|
|
|
43
44
|
*/
|
|
44
45
|
var Webex = WebexCore.extend({
|
|
45
46
|
webex: true,
|
|
46
|
-
version: "3.0.0-beta.
|
|
47
|
+
version: "3.0.0-beta.161"
|
|
47
48
|
});
|
|
48
49
|
|
|
49
50
|
/**
|
package/dist/webex.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["require","merge","WebexCore","default","config","Webex","extend","webex","version","init","attrs","module","exports"],"sources":["webex.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See 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/* eslint camelcase: [0] */\n\nrequire('@webex/plugin-authorization');\n// explicitly load wdm, since we're relying on preDiscoveryServices and the\n// url interceptor\nrequire('@webex/internal-plugin-calendar');\nrequire('@webex/internal-plugin-device');\nrequire('@webex/internal-plugin-presence');\nrequire('@webex/internal-plugin-support');\nrequire('@webex/plugin-attachment-actions');\nrequire('@webex/plugin-device-manager');\nrequire('@webex/plugin-logger');\nrequire('@webex/plugin-meetings');\nrequire('@webex/plugin-messages');\nrequire('@webex/plugin-memberships');\nrequire('@webex/plugin-people');\nrequire('@webex/plugin-rooms');\nrequire('@webex/plugin-teams');\nrequire('@webex/plugin-team-memberships');\nrequire('@webex/plugin-webhooks');\n\nconst merge = require('lodash/merge');\nconst WebexCore = require('@webex/webex-core').default;\n\nconst config = require('./config');\n\n// documentation.js puts hashes in relative urls, so need to specify full urls\n// here\n/**\n * See {@link https://webex.github.io/webex-js-sdk/example/browsers|Browser Guide} and\n * {@link https://webex.github.io/webex-js-sdk/example/servers|Server Guide}\n * @see {@link /example/browsers|Browser Guide}\n * @see {@link /example/servers|Server Guide}\n * @class Webex\n */\nconst Webex = WebexCore.extend({\n webex: true,\n version: PACKAGE_VERSION,\n});\n\n/**\n * Create a new {@link Webex} instance\n *\n * @example\n * <caption>Create a new Webex instance configured for your OAuth client</caption>\n * const webex = Webex.init({\n * config: {\n * credentials: {\n * authorizationString: `<AUTHORIZATION URL FROM DEVELOPER PORTAL>`\n * }\n * }\n * });\n *\n * @example\n * <caption>Create a new Webex instance configured for a Bot</caption>\n * const webex = Webex.init({\n * credentials: `<BOT TOKEN FROM DEVELOPER PORTAL>`\n * });\n *\n *\n * @param {Object} attrs\n * @param {Object} attrs.config (optional)\n * @memberof Webex\n * @returns {Webex}\n */\nWebex.init = function init(attrs = {}) {\n attrs.config = merge({}, config, attrs.config); // 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;;AAEAA,OAAO,CAAC,6BAA6B,CAAC;AACtC;AACA;AACAA,OAAO,CAAC,iCAAiC,CAAC;AAC1CA,OAAO,CAAC,+BAA+B,CAAC;AACxCA,OAAO,CAAC,iCAAiC,CAAC;AAC1CA,OAAO,CAAC,gCAAgC,CAAC;AACzCA,OAAO,CAAC,kCAAkC,CAAC;AAC3CA,OAAO,CAAC,8BAA8B,CAAC;AACvCA,OAAO,CAAC,sBAAsB,CAAC;AAC/BA,OAAO,CAAC,wBAAwB,CAAC;AACjCA,OAAO,CAAC,wBAAwB,CAAC;AACjCA,OAAO,CAAC,2BAA2B,CAAC;AACpCA,OAAO,CAAC,sBAAsB,CAAC;AAC/BA,OAAO,CAAC,qBAAqB,CAAC;AAC9BA,OAAO,CAAC,qBAAqB,CAAC;AAC9BA,OAAO,CAAC,gCAAgC,CAAC;AACzCA,OAAO,CAAC,wBAAwB,CAAC;AAEjC,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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAMK,KAAK,GAAGH,SAAS,CAACI,MAAM,CAAC;EAC7BC,KAAK,EAAE,IAAI;EACXC,OAAO;AACT,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACAH,KAAK,CAACI,IAAI,GAAG,SAASA,IAAI,GAAa;EAAA,IAAZC,KAAK,uEAAG,CAAC,CAAC;EACnCA,KAAK,CAACN,MAAM,GAAGH,KAAK,CAAC,CAAC,CAAC,EAAEG,MAAM,EAAEM,KAAK,CAACN,MAAM,CAAC,CAAC,CAAC;;EAEhD,OAAO,IAAIC,KAAK,CAACK,KAAK,CAAC;AACzB,CAAC;AAEDC,MAAM,CAACC,OAAO,GAAGP,KAAK"}
|
|
1
|
+
{"version":3,"names":["require","merge","WebexCore","default","config","Webex","extend","webex","version","init","attrs","module","exports"],"sources":["webex.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See 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/* eslint camelcase: [0] */\n\nrequire('@webex/plugin-authorization');\n// explicitly load wdm, since we're relying on preDiscoveryServices and the\n// url interceptor\nrequire('@webex/internal-plugin-calendar');\nrequire('@webex/internal-plugin-device');\nrequire('@webex/internal-plugin-presence');\nrequire('@webex/internal-plugin-support');\nrequire('@webex/internal-plugin-llm');\nrequire('@webex/plugin-attachment-actions');\nrequire('@webex/plugin-device-manager');\nrequire('@webex/plugin-logger');\nrequire('@webex/plugin-meetings');\nrequire('@webex/plugin-messages');\nrequire('@webex/plugin-memberships');\nrequire('@webex/plugin-people');\nrequire('@webex/plugin-rooms');\nrequire('@webex/plugin-teams');\nrequire('@webex/plugin-team-memberships');\nrequire('@webex/plugin-webhooks');\n\nconst merge = require('lodash/merge');\nconst WebexCore = require('@webex/webex-core').default;\n\nconst config = require('./config');\n\n// documentation.js puts hashes in relative urls, so need to specify full urls\n// here\n/**\n * See {@link https://webex.github.io/webex-js-sdk/example/browsers|Browser Guide} and\n * {@link https://webex.github.io/webex-js-sdk/example/servers|Server Guide}\n * @see {@link /example/browsers|Browser Guide}\n * @see {@link /example/servers|Server Guide}\n * @class Webex\n */\nconst Webex = WebexCore.extend({\n webex: true,\n version: PACKAGE_VERSION,\n});\n\n/**\n * Create a new {@link Webex} instance\n *\n * @example\n * <caption>Create a new Webex instance configured for your OAuth client</caption>\n * const webex = Webex.init({\n * config: {\n * credentials: {\n * authorizationString: `<AUTHORIZATION URL FROM DEVELOPER PORTAL>`\n * }\n * }\n * });\n *\n * @example\n * <caption>Create a new Webex instance configured for a Bot</caption>\n * const webex = Webex.init({\n * credentials: `<BOT TOKEN FROM DEVELOPER PORTAL>`\n * });\n *\n *\n * @param {Object} attrs\n * @param {Object} attrs.config (optional)\n * @memberof Webex\n * @returns {Webex}\n */\nWebex.init = function init(attrs = {}) {\n attrs.config = merge({}, config, attrs.config); // 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;;AAEAA,OAAO,CAAC,6BAA6B,CAAC;AACtC;AACA;AACAA,OAAO,CAAC,iCAAiC,CAAC;AAC1CA,OAAO,CAAC,+BAA+B,CAAC;AACxCA,OAAO,CAAC,iCAAiC,CAAC;AAC1CA,OAAO,CAAC,gCAAgC,CAAC;AACzCA,OAAO,CAAC,4BAA4B,CAAC;AACrCA,OAAO,CAAC,kCAAkC,CAAC;AAC3CA,OAAO,CAAC,8BAA8B,CAAC;AACvCA,OAAO,CAAC,sBAAsB,CAAC;AAC/BA,OAAO,CAAC,wBAAwB,CAAC;AACjCA,OAAO,CAAC,wBAAwB,CAAC;AACjCA,OAAO,CAAC,2BAA2B,CAAC;AACpCA,OAAO,CAAC,sBAAsB,CAAC;AAC/BA,OAAO,CAAC,qBAAqB,CAAC;AAC9BA,OAAO,CAAC,qBAAqB,CAAC;AAC9BA,OAAO,CAAC,gCAAgC,CAAC;AACzCA,OAAO,CAAC,wBAAwB,CAAC;AAEjC,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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAMK,KAAK,GAAGH,SAAS,CAACI,MAAM,CAAC;EAC7BC,KAAK,EAAE,IAAI;EACXC,OAAO;AACT,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACAH,KAAK,CAACI,IAAI,GAAG,SAASA,IAAI,GAAa;EAAA,IAAZC,KAAK,uEAAG,CAAC,CAAC;EACnCA,KAAK,CAACN,MAAM,GAAGH,KAAK,CAAC,CAAC,CAAC,EAAEG,MAAM,EAAEM,KAAK,CAACN,MAAM,CAAC,CAAC,CAAC;;EAEhD,OAAO,IAAIC,KAAK,CAACK,KAAK,CAAC;AACzB,CAAC;AAEDC,MAAM,CAACC,OAAO,GAAGP,KAAK"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webex",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.161",
|
|
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,35 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@webex/plugin-authorization": "3.0.0-beta.
|
|
38
|
-
"@webex/test-helper-chai": "3.0.0-beta.
|
|
39
|
-
"@webex/test-helper-mocha": "3.0.0-beta.
|
|
40
|
-
"@webex/test-helper-test-users": "3.0.0-beta.
|
|
37
|
+
"@webex/plugin-authorization": "3.0.0-beta.161",
|
|
38
|
+
"@webex/test-helper-chai": "3.0.0-beta.161",
|
|
39
|
+
"@webex/test-helper-mocha": "3.0.0-beta.161",
|
|
40
|
+
"@webex/test-helper-test-users": "3.0.0-beta.161",
|
|
41
41
|
"sinon": "^9.2.4",
|
|
42
|
-
"webex": "3.0.0-beta.
|
|
42
|
+
"webex": "3.0.0-beta.161"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@babel/polyfill": "^7.12.1",
|
|
46
|
-
"@webex/common": "3.0.0-beta.
|
|
47
|
-
"@webex/internal-plugin-calendar": "3.0.0-beta.
|
|
48
|
-
"@webex/internal-plugin-device": "3.0.0-beta.
|
|
49
|
-
"@webex/internal-plugin-
|
|
50
|
-
"@webex/internal-plugin-
|
|
51
|
-
"@webex/plugin-
|
|
52
|
-
"@webex/plugin-
|
|
53
|
-
"@webex/plugin-
|
|
54
|
-
"@webex/plugin-
|
|
55
|
-
"@webex/plugin-
|
|
56
|
-
"@webex/plugin-
|
|
57
|
-
"@webex/plugin-
|
|
58
|
-
"@webex/plugin-
|
|
59
|
-
"@webex/plugin-
|
|
60
|
-
"@webex/plugin-
|
|
61
|
-
"@webex/plugin-
|
|
62
|
-
"@webex/plugin-
|
|
63
|
-
"@webex/
|
|
64
|
-
"@webex/
|
|
46
|
+
"@webex/common": "3.0.0-beta.161",
|
|
47
|
+
"@webex/internal-plugin-calendar": "3.0.0-beta.161",
|
|
48
|
+
"@webex/internal-plugin-device": "3.0.0-beta.161",
|
|
49
|
+
"@webex/internal-plugin-llm": "3.0.0-beta.161",
|
|
50
|
+
"@webex/internal-plugin-presence": "3.0.0-beta.161",
|
|
51
|
+
"@webex/internal-plugin-support": "3.0.0-beta.161",
|
|
52
|
+
"@webex/plugin-attachment-actions": "3.0.0-beta.161",
|
|
53
|
+
"@webex/plugin-authorization": "3.0.0-beta.161",
|
|
54
|
+
"@webex/plugin-device-manager": "3.0.0-beta.161",
|
|
55
|
+
"@webex/plugin-logger": "3.0.0-beta.161",
|
|
56
|
+
"@webex/plugin-meetings": "3.0.0-beta.161",
|
|
57
|
+
"@webex/plugin-memberships": "3.0.0-beta.161",
|
|
58
|
+
"@webex/plugin-messages": "3.0.0-beta.161",
|
|
59
|
+
"@webex/plugin-people": "3.0.0-beta.161",
|
|
60
|
+
"@webex/plugin-rooms": "3.0.0-beta.161",
|
|
61
|
+
"@webex/plugin-team-memberships": "3.0.0-beta.161",
|
|
62
|
+
"@webex/plugin-teams": "3.0.0-beta.161",
|
|
63
|
+
"@webex/plugin-webhooks": "3.0.0-beta.161",
|
|
64
|
+
"@webex/storage-adapter-local-storage": "3.0.0-beta.161",
|
|
65
|
+
"@webex/webex-core": "3.0.0-beta.161",
|
|
65
66
|
"lodash": "^4.17.21"
|
|
66
67
|
}
|
|
67
68
|
}
|
package/src/webex.js
CHANGED
|
@@ -15,6 +15,7 @@ require('@webex/internal-plugin-calendar');
|
|
|
15
15
|
require('@webex/internal-plugin-device');
|
|
16
16
|
require('@webex/internal-plugin-presence');
|
|
17
17
|
require('@webex/internal-plugin-support');
|
|
18
|
+
require('@webex/internal-plugin-llm');
|
|
18
19
|
require('@webex/plugin-attachment-actions');
|
|
19
20
|
require('@webex/plugin-device-manager');
|
|
20
21
|
require('@webex/plugin-logger');
|