@webex/plugin-meetings 2.29.2 → 2.29.5
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 +2 -1
- package/dist/common/collection.js +1 -1
- package/dist/common/collection.js.map +1 -1
- package/dist/meeting/index.js +2 -1
- package/dist/meeting/index.js.map +1 -1
- package/dist/metrics/index.js +4 -0
- package/dist/metrics/index.js.map +1 -1
- package/dist/peer-connection-manager/index.js +3 -3
- package/dist/peer-connection-manager/index.js.map +1 -1
- package/dist/reachability/index.js +17 -13
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/request.js +16 -7
- package/dist/reachability/request.js.map +1 -1
- package/internal-README.md +18 -9
- package/package.json +59 -41
- package/src/common/collection.ts +1 -1
- package/src/meeting/index.js +1 -1
- package/src/metrics/index.js +3 -0
- package/src/peer-connection-manager/index.js +3 -3
- package/src/reachability/index.js +12 -8
- package/src/reachability/{request.js → request.ts} +23 -6
- package/test/integration/spec/journey.js +2 -0
- package/test/integration/spec/space-meeting.js +1 -1
- package/test/unit/spec/meeting/index.js +3 -1
- package/test/.eslintrc.json +0 -6
package/README.md
CHANGED
|
@@ -1114,7 +1114,8 @@ There are several events submitted by this package that you can subscribe to.
|
|
|
1114
1114
|
|
|
1115
1115
|
## Development
|
|
1116
1116
|
|
|
1117
|
-
To use `webpack-dev-server` to load this package, run `
|
|
1117
|
+
To use `webpack-dev-server` to load this package, run `yarn run samples:serve`.
|
|
1118
|
+
|
|
1118
1119
|
|
|
1119
1120
|
Files placed in the `docs/samples/browser-plugin-meetings` folder will be served statically.
|
|
1120
1121
|
|
|
@@ -18,7 +18,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/he
|
|
|
18
18
|
|
|
19
19
|
var _isString2 = _interopRequireDefault(require("lodash/isString"));
|
|
20
20
|
|
|
21
|
-
var _parameter = _interopRequireDefault(require("
|
|
21
|
+
var _parameter = _interopRequireDefault(require("./errors/parameter"));
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @class Collection
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Collection","property","ParameterError","propertyName","id","value","get","set","getAll"],"sources":["collection.ts"],"sourcesContent":["import {isString} from 'lodash';\n\nimport ParameterError from '
|
|
1
|
+
{"version":3,"names":["Collection","property","ParameterError","propertyName","id","value","get","set","getAll"],"sources":["collection.ts"],"sourcesContent":["import {isString} from 'lodash';\n\nimport ParameterError from './errors/parameter';\n\n/**\n * @class Collection\n */\nexport default class Collection {\n namespace = 'Meetings';\n propertyName: string;\n\n /**\n * @param {String} property\n * @memberof Collection\n */\n constructor(property) {\n if (!property || !isString(property)) {\n throw new ParameterError('Collection expects a string to use as a property name.');\n }\n /**\n * The property name for what collection will be stored, i.e., this.meetingInfos, this.meetings, etc.\n * @instance\n * @type {String}\n * @public\n * @memberof Meetings\n */\n this.propertyName = property;\n /**\n * The actual object for the collection\n * @instance\n * @type {Object}\n * @public\n * @memberof Meetings\n */\n this[this.propertyName] = {};\n }\n\n /**\n * @param {String} id ID of the thing stuffed into the collection at id location\n * @returns {Any} returns whatever is being stuffed into the collection\n * @public\n * @memberof Collection\n */\n get(id) {\n return this[this.propertyName] && this[this.propertyName][id] ? this[this.propertyName][id] : null;\n }\n\n /**\n * @param {String} id the id of the meeting info instance to add to the collection\n * @param {Any} value the thing to set in the collection\n * @returns {Any} returns the thing just put in the collection\n * @public\n * @memberof Collection\n */\n set(id, value) {\n this[this.propertyName][id] = value;\n\n return this.get(id);\n }\n\n /**\n * remove the thing at the id\n * @param {String} id ID of the thing you wish to delete from the collection\n * @returns {undefined}\n * @public\n * @memberof Collection\n */\n delete(id) {\n delete this[this.propertyName][id];\n }\n\n /**\n * @returns {Object} returns an object map of things stuffed into the collection\n * @public\n * @memberof Collection\n */\n getAll() {\n return this[this.propertyName];\n }\n\n /**\n * @param {Object} set the replacement object\n * @returns {Object} returns an object map of things stuffed into the collection\n * @public\n * @memberof Collection\n */\n setAll(set) {\n this[this.propertyName] = set;\n\n return this.getAll();\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAEA;;AAEA;AACA;AACA;IACqBA,U;EAInB;AACF;AACA;AACA;EACE,oBAAYC,QAAZ,EAAsB;IAAA;IAAA,iDAPV,UAOU;IAAA;;IACpB,IAAI,CAACA,QAAD,IAAa,CAAC,wBAASA,QAAT,CAAlB,EAAsC;MACpC,MAAM,IAAIC,kBAAJ,CAAmB,wDAAnB,CAAN;IACD;IACD;AACJ;AACA;AACA;AACA;AACA;AACA;;;IACI,KAAKC,YAAL,GAAoBF,QAApB;IACA;AACJ;AACA;AACA;AACA;AACA;AACA;;IACI,KAAK,KAAKE,YAAV,IAA0B,EAA1B;EACD;EAED;AACF;AACA;AACA;AACA;AACA;;;;;WACE,aAAIC,EAAJ,EAAQ;MACN,OAAO,KAAK,KAAKD,YAAV,KAA2B,KAAK,KAAKA,YAAV,EAAwBC,EAAxB,CAA3B,GAAyD,KAAK,KAAKD,YAAV,EAAwBC,EAAxB,CAAzD,GAAuF,IAA9F;IACD;IAED;AACF;AACA;AACA;AACA;AACA;AACA;;;;WACE,aAAIA,EAAJ,EAAQC,KAAR,EAAe;MACb,KAAK,KAAKF,YAAV,EAAwBC,EAAxB,IAA8BC,KAA9B;MAEA,OAAO,KAAKC,GAAL,CAASF,EAAT,CAAP;IACD;IAED;AACF;AACA;AACA;AACA;AACA;AACA;;;;WACE,iBAAOA,EAAP,EAAW;MACT,OAAO,KAAK,KAAKD,YAAV,EAAwBC,EAAxB,CAAP;IACD;IAED;AACF;AACA;AACA;AACA;;;;WACE,kBAAS;MACP,OAAO,KAAK,KAAKD,YAAV,CAAP;IACD;IAED;AACF;AACA;AACA;AACA;AACA;;;;WACE,gBAAOI,GAAP,EAAY;MACV,KAAK,KAAKJ,YAAV,IAA0BI,GAA1B;MAEA,OAAO,KAAKC,MAAL,EAAP;IACD"}
|
package/dist/meeting/index.js
CHANGED
|
@@ -3996,7 +3996,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3996
3996
|
event: _config.eventType.CALL_INITIATED,
|
|
3997
3997
|
meeting: this,
|
|
3998
3998
|
data: {
|
|
3999
|
-
trigger: _config.trigger.USER_INTERACTION
|
|
3999
|
+
trigger: _config.trigger.USER_INTERACTION,
|
|
4000
|
+
isRoapCallEnabled: true
|
|
4000
4001
|
}
|
|
4001
4002
|
});
|
|
4002
4003
|
|