@webex/internal-plugin-locus 2.59.2 → 2.59.3-next.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/.eslintrc.js CHANGED
@@ -1,6 +1,6 @@
1
- const config = {
2
- root: true,
3
- extends: ['@webex/eslint-config-legacy'],
4
- };
5
-
6
- module.exports = config;
1
+ const config = {
2
+ root: true,
3
+ extends: ['@webex/eslint-config-legacy'],
4
+ };
5
+
6
+ module.exports = config;
package/README.md CHANGED
@@ -1,42 +1,42 @@
1
- # @webex/internal-plugin-locus
2
-
3
- [![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
4
-
5
- > Plugin for the Locus service
6
-
7
- This is an internal Cisco Webex plugin. As such, it does not strictly adhere to semantic versioning. Use at your own risk. If you're not working on one of our first party clients, please look at our [developer api](https://developer.webex.com/) and stick to our public plugins.
8
-
9
- - [Install](#install)
10
- - [Usage](#usage)
11
- - [Contribute](#contribute)
12
- - [Maintainers](#maintainers)
13
- - [License](#license)
14
-
15
- ## Install
16
-
17
- ```bash
18
- npm install --save @webex/internal-plugin-locus
19
- ```
20
-
21
- ## Usage
22
-
23
- ```js
24
- import '@webex/internal-plugin-locus';
25
-
26
- import WebexCore from '@webex/webex-core';
27
-
28
- const webex = new WebexCore();
29
- webex.internal.locus.WHATEVER;
30
- ```
31
-
32
- ## Maintainers
33
-
34
- This package is maintained by [Cisco Webex for Developers](https://developer.webex.com/).
35
-
36
- ## Contribute
37
-
38
- Pull requests welcome. Please see [CONTRIBUTING.md](https://github.com/webex/webex-js-sdk/blob/master/CONTRIBUTING.md) for more details.
39
-
40
- ## License
41
-
42
- © 2016-2020 Cisco and/or its affiliates. All Rights Reserved.
1
+ # @webex/internal-plugin-locus
2
+
3
+ [![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
4
+
5
+ > Plugin for the Locus service
6
+
7
+ This is an internal Cisco Webex plugin. As such, it does not strictly adhere to semantic versioning. Use at your own risk. If you're not working on one of our first party clients, please look at our [developer api](https://developer.webex.com/) and stick to our public plugins.
8
+
9
+ - [Install](#install)
10
+ - [Usage](#usage)
11
+ - [Contribute](#contribute)
12
+ - [Maintainers](#maintainers)
13
+ - [License](#license)
14
+
15
+ ## Install
16
+
17
+ ```bash
18
+ npm install --save @webex/internal-plugin-locus
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ ```js
24
+ import '@webex/internal-plugin-locus';
25
+
26
+ import WebexCore from '@webex/webex-core';
27
+
28
+ const webex = new WebexCore();
29
+ webex.internal.locus.WHATEVER;
30
+ ```
31
+
32
+ ## Maintainers
33
+
34
+ This package is maintained by [Cisco Webex for Developers](https://developer.webex.com/).
35
+
36
+ ## Contribute
37
+
38
+ Pull requests welcome. Please see [CONTRIBUTING.md](https://github.com/webex/webex-js-sdk/blob/master/CONTRIBUTING.md) for more details.
39
+
40
+ ## License
41
+
42
+ © 2016-2020 Cisco and/or its affiliates. All Rights Reserved.
package/babel.config.js CHANGED
@@ -1,3 +1,3 @@
1
- const babelConfigLegacy = require('@webex/babel-config-legacy');
2
-
3
- module.exports = babelConfigLegacy;
1
+ const babelConfigLegacy = require('@webex/babel-config-legacy');
2
+
3
+ module.exports = babelConfigLegacy;
@@ -5,8 +5,8 @@ _Object$defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.locusEventKeys = exports.default = void 0;
8
- /*!
9
- * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
8
+ /*!
9
+ * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
10
10
  */
11
11
 
12
12
  var locusEventKeys = ['locus.summary', 'locus.self_changed', 'locus.participant_joined', 'locus.participant_left', 'locus.participant_declined', 'locus.participant_alerted', 'locus.participant_updated', 'locus.participant_roles_updated', 'locus.participant_audio_muted', 'locus.participant_audio_unmuted', 'locus.participant_video_muted', 'locus.participant_video_unmuted', 'locus.floor_granted', 'locus.floor_released', 'locus.space_users_modified', 'locus.controls_updated', 'locus.participant_controls_updated'];
@@ -1 +1 @@
1
- {"version":3,"names":["locusEventKeys","exports","_default","default"],"sources":["event-keys.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nexport const locusEventKeys = [\n 'locus.summary',\n 'locus.self_changed',\n 'locus.participant_joined',\n 'locus.participant_left',\n 'locus.participant_declined',\n 'locus.participant_alerted',\n 'locus.participant_updated',\n 'locus.participant_roles_updated',\n 'locus.participant_audio_muted',\n 'locus.participant_audio_unmuted',\n 'locus.participant_video_muted',\n 'locus.participant_video_unmuted',\n 'locus.floor_granted',\n 'locus.floor_released',\n 'locus.space_users_modified',\n 'locus.controls_updated',\n 'locus.participant_controls_updated',\n];\n\nexport default locusEventKeys;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;;AAEO,IAAMA,cAAc,GAAG,CAC5B,eAAe,EACf,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,2BAA2B,EAC3B,2BAA2B,EAC3B,iCAAiC,EACjC,+BAA+B,EAC/B,iCAAiC,EACjC,+BAA+B,EAC/B,iCAAiC,EACjC,qBAAqB,EACrB,sBAAsB,EACtB,4BAA4B,EAC5B,wBAAwB,EACxB,oCAAoC,CACrC;AAACC,OAAA,CAAAD,cAAA,GAAAA,cAAA;AAAA,IAAAE,QAAA,GAEaF,cAAc;AAAAC,OAAA,CAAAE,OAAA,GAAAD,QAAA"}
1
+ {"version":3,"names":["locusEventKeys","exports","_default","default"],"sources":["event-keys.js"],"sourcesContent":["/*!\r\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\r\n */\r\n\r\nexport const locusEventKeys = [\r\n 'locus.summary',\r\n 'locus.self_changed',\r\n 'locus.participant_joined',\r\n 'locus.participant_left',\r\n 'locus.participant_declined',\r\n 'locus.participant_alerted',\r\n 'locus.participant_updated',\r\n 'locus.participant_roles_updated',\r\n 'locus.participant_audio_muted',\r\n 'locus.participant_audio_unmuted',\r\n 'locus.participant_video_muted',\r\n 'locus.participant_video_unmuted',\r\n 'locus.floor_granted',\r\n 'locus.floor_released',\r\n 'locus.space_users_modified',\r\n 'locus.controls_updated',\r\n 'locus.participant_controls_updated',\r\n];\r\n\r\nexport default locusEventKeys;\r\n"],"mappings":";;;;;;;AAAA;AACA;AACA;;AAEO,IAAMA,cAAc,GAAG,CAC5B,eAAe,EACf,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,2BAA2B,EAC3B,2BAA2B,EAC3B,iCAAiC,EACjC,+BAA+B,EAC/B,iCAAiC,EACjC,+BAA+B,EAC/B,iCAAiC,EACjC,qBAAqB,EACrB,sBAAsB,EACtB,4BAA4B,EAC5B,wBAAwB,EACxB,oCAAoC,CACrC;AAACC,OAAA,CAAAD,cAAA,GAAAA,cAAA;AAAA,IAAAE,QAAA,GAEaF,cAAc;AAAAC,OAAA,CAAAE,OAAA,GAAAD,QAAA"}
package/dist/index.js CHANGED
@@ -62,8 +62,8 @@ var _locus = _interopRequireWildcard(require("./locus"));
62
62
  var _eventKeys = require("./event-keys");
63
63
  function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
64
64
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
65
- /*!
66
- * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
65
+ /*!
66
+ * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
67
67
  */
68
68
 
69
69
  (0, _webexCore.registerInternalPlugin)('locus', _locus.default);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["require","_webexCore","_locus","_interopRequireWildcard","_eventKeys","_getRequireWildcardCache","nodeInterop","_WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","_Object$defineProperty","_Object$getOwnPropertyDescriptor","key","Object","prototype","hasOwnProperty","call","desc","set","registerInternalPlugin","Locus","_default","exports"],"sources":["index.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nimport '@webex/internal-plugin-mercury';\nimport {registerInternalPlugin} from '@webex/webex-core';\n\nimport Locus from './locus';\n\nregisterInternalPlugin('locus', Locus);\n\nexport default Locus;\nexport {locusEventKeys as eventKeys} from './event-keys';\nexport {USE_INCOMING, USE_CURRENT, EQUAL, FETCH, GREATER_THAN, LESS_THAN, DESYNC} from './locus';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIAA,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAC,uBAAA,CAAAH,OAAA;AAKA,IAAAI,UAAA,GAAAJ,OAAA;AAAyD,SAAAK,yBAAAC,WAAA,eAAAC,QAAA,kCAAAC,iBAAA,OAAAD,QAAA,QAAAE,gBAAA,OAAAF,QAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAH,wBAAAO,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAE,OAAA,CAAAF,GAAA,yBAAAA,GAAA,4BAAAG,OAAA,EAAAH,GAAA,UAAAI,KAAA,GAAAT,wBAAA,CAAAC,WAAA,OAAAQ,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAL,GAAA,YAAAI,KAAA,CAAAE,GAAA,CAAAN,GAAA,SAAAO,MAAA,WAAAC,qBAAA,GAAAC,sBAAA,IAAAC,gCAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAC,MAAA,CAAAC,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAf,GAAA,EAAAW,GAAA,SAAAK,IAAA,GAAAR,qBAAA,GAAAE,gCAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAK,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,sBAAA,CAAAF,MAAA,EAAAI,GAAA,EAAAK,IAAA,YAAAT,MAAA,CAAAI,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAJ,MAAA,CAAAJ,OAAA,GAAAH,GAAA,MAAAI,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAjB,GAAA,EAAAO,MAAA,YAAAA,MAAA;AAZzD;AACA;AACA;;AAOA,IAAAW,iCAAsB,EAAC,OAAO,EAAEC,cAAK,CAAC;AAAC,IAAAC,QAAA,GAExBD,cAAK;AAAAE,OAAA,CAAAlB,OAAA,GAAAiB,QAAA"}
1
+ {"version":3,"names":["require","_webexCore","_locus","_interopRequireWildcard","_eventKeys","_getRequireWildcardCache","nodeInterop","_WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","_Object$defineProperty","_Object$getOwnPropertyDescriptor","key","Object","prototype","hasOwnProperty","call","desc","set","registerInternalPlugin","Locus","_default","exports"],"sources":["index.js"],"sourcesContent":["/*!\r\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\r\n */\r\n\r\nimport '@webex/internal-plugin-mercury';\r\nimport {registerInternalPlugin} from '@webex/webex-core';\r\n\r\nimport Locus from './locus';\r\n\r\nregisterInternalPlugin('locus', Locus);\r\n\r\nexport default Locus;\r\nexport {locusEventKeys as eventKeys} from './event-keys';\r\nexport {USE_INCOMING, USE_CURRENT, EQUAL, FETCH, GREATER_THAN, LESS_THAN, DESYNC} from './locus';\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIAA,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAC,uBAAA,CAAAH,OAAA;AAKA,IAAAI,UAAA,GAAAJ,OAAA;AAAyD,SAAAK,yBAAAC,WAAA,eAAAC,QAAA,kCAAAC,iBAAA,OAAAD,QAAA,QAAAE,gBAAA,OAAAF,QAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAH,wBAAAO,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAE,OAAA,CAAAF,GAAA,yBAAAA,GAAA,4BAAAG,OAAA,EAAAH,GAAA,UAAAI,KAAA,GAAAT,wBAAA,CAAAC,WAAA,OAAAQ,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAL,GAAA,YAAAI,KAAA,CAAAE,GAAA,CAAAN,GAAA,SAAAO,MAAA,WAAAC,qBAAA,GAAAC,sBAAA,IAAAC,gCAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAC,MAAA,CAAAC,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAf,GAAA,EAAAW,GAAA,SAAAK,IAAA,GAAAR,qBAAA,GAAAE,gCAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAK,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,sBAAA,CAAAF,MAAA,EAAAI,GAAA,EAAAK,IAAA,YAAAT,MAAA,CAAAI,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAJ,MAAA,CAAAJ,OAAA,GAAAH,GAAA,MAAAI,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAjB,GAAA,EAAAO,MAAA,YAAAA,MAAA;AAZzD;AACA;AACA;;AAOA,IAAAW,iCAAsB,EAAC,OAAO,EAAEC,cAAK,CAAC;AAAC,IAAAC,QAAA,GAExBD,cAAK;AAAAE,OAAA,CAAAlB,OAAA,GAAAiB,QAAA"}
package/dist/locus.js CHANGED
@@ -41,11 +41,11 @@ var LESS_THAN = 'LESS_THAN';
41
41
  exports.LESS_THAN = LESS_THAN;
42
42
  var DESYNC = 'DESYNC';
43
43
 
44
- /**
45
- * Transates the result of a sequence comparison into an intended behavior
46
- * @param {string} result
47
- * @private
48
- * @returns {string}
44
+ /**
45
+ * Transates the result of a sequence comparison into an intended behavior
46
+ * @param {string} result
47
+ * @private
48
+ * @returns {string}
49
49
  */
50
50
  exports.DESYNC = DESYNC;
51
51
  function compareToAction(result) {
@@ -62,18 +62,18 @@ function compareToAction(result) {
62
62
  }
63
63
  }
64
64
 
65
- /**
66
- * @class
65
+ /**
66
+ * @class
67
67
  */
68
68
  var Locus = _webexCore.WebexPlugin.extend({
69
69
  namespace: 'Locus',
70
- /**
71
- * Alert the specified locus that the local user has been notified of the
72
- * locus's active state
73
- * @instance
74
- * @memberof Locus
75
- * @param {Types~Locus} locus
76
- * @returns {Promise}
70
+ /**
71
+ * Alert the specified locus that the local user has been notified of the
72
+ * locus's active state
73
+ * @instance
74
+ * @memberof Locus
75
+ * @param {Types~Locus} locus
76
+ * @returns {Promise}
77
77
  */
78
78
  alert: function alert(locus) {
79
79
  return this.request({
@@ -87,20 +87,20 @@ var Locus = _webexCore.WebexPlugin.extend({
87
87
  return res.body;
88
88
  });
89
89
  },
90
- /**
91
- * Compares two loci to determine which one contains the most recent state
92
- * @instance
93
- * @memberof Locus
94
- * @param {Types~Locus} current
95
- * @param {Types~Locus} incoming
96
- * @returns {string} one of USE_INCOMING, USE_CURRENT, or FETCH
90
+ /**
91
+ * Compares two loci to determine which one contains the most recent state
92
+ * @instance
93
+ * @memberof Locus
94
+ * @param {Types~Locus} current
95
+ * @param {Types~Locus} incoming
96
+ * @returns {string} one of USE_INCOMING, USE_CURRENT, or FETCH
97
97
  */
98
98
  compare: function compare(current, incoming) {
99
- /**
100
- * Determines if a paricular locus's sequence is empty
101
- * @param {Types~Locus} locus
102
- * @private
103
- * @returns {bool}
99
+ /**
100
+ * Determines if a paricular locus's sequence is empty
101
+ * @param {Types~Locus} locus
102
+ * @private
103
+ * @returns {bool}
104
104
  */
105
105
  function isEmpty(locus) {
106
106
  var sequence = locus.sequence;
@@ -114,15 +114,15 @@ var Locus = _webexCore.WebexPlugin.extend({
114
114
  }
115
115
  return compareToAction(this.compareSequence(current.sequence, incoming.sequence));
116
116
  },
117
- /**
118
- * Compares two loci sequences (with delta params) and indicates what action
119
- * to take.
120
- * @instance
121
- * @memberof Locus
122
- * @param {Types~Locus} current
123
- * @param {Types~Locus} incoming
124
- * @private
125
- * @returns {string} one of USE_INCOMING, USE_CURRENT, or FETCH
117
+ /**
118
+ * Compares two loci sequences (with delta params) and indicates what action
119
+ * to take.
120
+ * @instance
121
+ * @memberof Locus
122
+ * @param {Types~Locus} current
123
+ * @param {Types~Locus} incoming
124
+ * @private
125
+ * @returns {string} one of USE_INCOMING, USE_CURRENT, or FETCH
126
126
  */
127
127
  compareDelta: function compareDelta(current, incoming) {
128
128
  var ret = this.compareSequence(current.sequence, incoming.sequence);
@@ -138,13 +138,13 @@ var Locus = _webexCore.WebexPlugin.extend({
138
138
  return FETCH;
139
139
  }
140
140
  },
141
- /**
142
- * Compares two Locus sequences
143
- * @instance
144
- * @memberof Locus
145
- * @param {LocusSequence} current
146
- * @param {LocusSequence} incoming
147
- * @returns {string} one of LESS_THAN, GREATER_THAN, EQUAL, or DESYNC
141
+ /**
142
+ * Compares two Locus sequences
143
+ * @instance
144
+ * @memberof Locus
145
+ * @param {LocusSequence} current
146
+ * @param {LocusSequence} incoming
147
+ * @returns {string} one of LESS_THAN, GREATER_THAN, EQUAL, or DESYNC
148
148
  */
149
149
  compareSequence: function compareSequence(current, incoming) {
150
150
  if (!current) {
@@ -179,11 +179,11 @@ var Locus = _webexCore.WebexPlugin.extend({
179
179
  return getEntriesLastValue(sequence) || sequence.rangeEnd;
180
180
  });
181
181
 
182
- /**
183
- * @param {number} entry
184
- * @param {LocusSequence} sequence
185
- * @private
186
- * @returns {Boolean}
182
+ /**
183
+ * @param {number} entry
184
+ * @param {LocusSequence} sequence
185
+ * @private
186
+ * @returns {Boolean}
187
187
  */
188
188
  function inRange(entry, sequence) {
189
189
  return entry >= sequence.rangeStart && entry <= sequence.rangeEnd;
@@ -261,15 +261,15 @@ var Locus = _webexCore.WebexPlugin.extend({
261
261
  }
262
262
  return LESS_THAN;
263
263
  },
264
- /**
265
- * Calls the specified invitee and offers the specified media via
266
- * options.localSdp
267
- * @instance
268
- * @memberof Locus
269
- * @param {string} invitee
270
- * @param {Object} options
271
- * @param {Object} options.localSdp
272
- * @returns {Promise<Types~Locus>}
264
+ /**
265
+ * Calls the specified invitee and offers the specified media via
266
+ * options.localSdp
267
+ * @instance
268
+ * @memberof Locus
269
+ * @param {string} invitee
270
+ * @param {Object} options
271
+ * @param {Object} options.localSdp
272
+ * @returns {Promise<Types~Locus>}
273
273
  */
274
274
  create: function create(invitee) {
275
275
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -309,15 +309,15 @@ var Locus = _webexCore.WebexPlugin.extend({
309
309
  return res.body.locus;
310
310
  });
311
311
  },
312
- /**
313
- * This is mostly an internal function to simplify the phone plugin. Decides
314
- * which path to call based on the type of the thing being joined.
315
- * @instance
316
- * @memberof Locus
317
- * @param {Object|Types~Locus} target
318
- * @param {Object} options
319
- * @private
320
- * @returns {Promise<Types~Locus>}
312
+ /**
313
+ * This is mostly an internal function to simplify the phone plugin. Decides
314
+ * which path to call based on the type of the thing being joined.
315
+ * @instance
316
+ * @memberof Locus
317
+ * @param {Object|Types~Locus} target
318
+ * @param {Object} options
319
+ * @private
320
+ * @returns {Promise<Types~Locus>}
321
321
  */
322
322
  createOrJoin: function createOrJoin(target, options) {
323
323
  if (target.url) {
@@ -325,12 +325,12 @@ var Locus = _webexCore.WebexPlugin.extend({
325
325
  }
326
326
  return this.create(target, options);
327
327
  },
328
- /**
329
- * Decline to join the specified Locus
330
- * @instance
331
- * @memberof Locus
332
- * @param {Types~Locus} locus
333
- * @returns {Promise<Types~Locus>}
328
+ /**
329
+ * Decline to join the specified Locus
330
+ * @instance
331
+ * @memberof Locus
332
+ * @param {Types~Locus} locus
333
+ * @returns {Promise<Types~Locus>}
334
334
  */
335
335
  decline: function decline(locus) {
336
336
  var _this = this;
@@ -350,12 +350,12 @@ var Locus = _webexCore.WebexPlugin.extend({
350
350
  return _promise.default.reject(reason);
351
351
  });
352
352
  },
353
- /**
354
- * Retrieves a single Locus
355
- * @instance
356
- * @memberof Locus
357
- * @param {Types~Locus} locus
358
- * @returns {Types~Locus}
353
+ /**
354
+ * Retrieves a single Locus
355
+ * @instance
356
+ * @memberof Locus
357
+ * @param {Types~Locus} locus
358
+ * @returns {Types~Locus}
359
359
  */
360
360
  get: function get(locus) {
361
361
  return this.request({
@@ -365,13 +365,13 @@ var Locus = _webexCore.WebexPlugin.extend({
365
365
  return res.body;
366
366
  });
367
367
  },
368
- /**
369
- * Retrieves the call history for the current user
370
- * @instance
371
- * @memberof Locus
372
- * @param {Object} options
373
- * @param {Date|number} options.from
374
- * @returns {Promise<Object>}
368
+ /**
369
+ * Retrieves the call history for the current user
370
+ * @instance
371
+ * @memberof Locus
372
+ * @param {Object} options
373
+ * @param {Date|number} options.from
374
+ * @returns {Promise<Object>}
375
375
  */
376
376
  getCallHistory: function getCallHistory() {
377
377
  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -387,14 +387,14 @@ var Locus = _webexCore.WebexPlugin.extend({
387
387
  return res.body;
388
388
  });
389
389
  },
390
- /**
391
- * Join the specified Locus and offer to send it media
392
- * @instance
393
- * @memberof Locus
394
- * @param {Types~Locus} locus
395
- * @param {Object} options
396
- * @param {Object} options.localSdp
397
- * @returns {Types~Locus}
390
+ /**
391
+ * Join the specified Locus and offer to send it media
392
+ * @instance
393
+ * @memberof Locus
394
+ * @param {Types~Locus} locus
395
+ * @param {Object} options
396
+ * @param {Object} options.localSdp
397
+ * @returns {Types~Locus}
398
398
  */
399
399
  join: function join(locus) {
400
400
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -430,12 +430,12 @@ var Locus = _webexCore.WebexPlugin.extend({
430
430
  return res.body.locus;
431
431
  });
432
432
  },
433
- /**
434
- * Leave the specified Locus
435
- * @instance
436
- * @memberof Locus
437
- * @param {Types~Locus} locus
438
- * @returns {Promise<Types~Locus>}
433
+ /**
434
+ * Leave the specified Locus
435
+ * @instance
436
+ * @memberof Locus
437
+ * @param {Types~Locus} locus
438
+ * @returns {Promise<Types~Locus>}
439
439
  */
440
440
  leave: function leave(locus) {
441
441
  var _this2 = this;
@@ -455,11 +455,11 @@ var Locus = _webexCore.WebexPlugin.extend({
455
455
  return _promise.default.reject(reason);
456
456
  });
457
457
  },
458
- /**
459
- * Lists active loci
460
- * @instance
461
- * @memberof Locus
462
- * @returns {Promise<Array<Types~Locus>>}
458
+ /**
459
+ * Lists active loci
460
+ * @instance
461
+ * @memberof Locus
462
+ * @returns {Promise<Array<Types~Locus>>}
463
463
  */
464
464
  list: function list() {
465
465
  return this.request({
@@ -470,13 +470,13 @@ var Locus = _webexCore.WebexPlugin.extend({
470
470
  return res.body.loci;
471
471
  });
472
472
  },
473
- /**
474
- * Merges two locus DTOs (for the same locus)
475
- * @instance
476
- * @memberof Locus
477
- * @param {Types~Locus} current
478
- * @param {Types~Locus|Types~LocusDelta} incoming
479
- * @returns {Type~Locus}
473
+ /**
474
+ * Merges two locus DTOs (for the same locus)
475
+ * @instance
476
+ * @memberof Locus
477
+ * @param {Types~Locus} current
478
+ * @param {Types~Locus|Types~LocusDelta} incoming
479
+ * @returns {Type~Locus}
480
480
  */
481
481
  merge: function merge(current, incoming) {
482
482
  // if incoming is not a delta event, treat it as a new full locus.
@@ -531,12 +531,12 @@ var Locus = _webexCore.WebexPlugin.extend({
531
531
  }
532
532
  return next;
533
533
  },
534
- /**
535
- * Signals to locus that the current user is done sharing their additional
536
- * media stream
537
- * @param {Types~Locus} locus
538
- * @param {Types~MediaShare} share
539
- * @returns {Promise}
534
+ /**
535
+ * Signals to locus that the current user is done sharing their additional
536
+ * media stream
537
+ * @param {Types~Locus} locus
538
+ * @param {Types~MediaShare} share
539
+ * @returns {Promise}
540
540
  */
541
541
  releaseFloorGrant: function releaseFloorGrant(locus, share) {
542
542
  return this.webex.request({
@@ -552,12 +552,12 @@ var Locus = _webexCore.WebexPlugin.extend({
552
552
  return body;
553
553
  });
554
554
  },
555
- /**
556
- * Signals to locus that the current user would like to share an additional
557
- * media stream
558
- * @param {Types~Locus} locus
559
- * @param {Types~MediaShare} share
560
- * @returns {Promise}
555
+ /**
556
+ * Signals to locus that the current user would like to share an additional
557
+ * media stream
558
+ * @param {Types~Locus} locus
559
+ * @param {Types~MediaShare} share
560
+ * @returns {Promise}
561
561
  */
562
562
  requestFloorGrant: function requestFloorGrant(locus, share) {
563
563
  return this.webex.request({
@@ -579,13 +579,13 @@ var Locus = _webexCore.WebexPlugin.extend({
579
579
  return body;
580
580
  });
581
581
  },
582
- /**
583
- * Sends a string of DTMF tones to the locus
584
- * @instance
585
- * @memberof Locus
586
- * @param {Types~Locus} locus
587
- * @param {string} tones
588
- * @returns {Promise}
582
+ /**
583
+ * Sends a string of DTMF tones to the locus
584
+ * @instance
585
+ * @memberof Locus
586
+ * @param {Types~Locus} locus
587
+ * @param {string} tones
588
+ * @returns {Promise}
589
589
  */
590
590
  sendDtmf: function sendDtmf(locus, tones) {
591
591
  return this.request({
@@ -600,12 +600,12 @@ var Locus = _webexCore.WebexPlugin.extend({
600
600
  }
601
601
  });
602
602
  },
603
- /**
604
- * Fetches the delta for the locus from its syncUrl. *Does not merge*
605
- * @instance
606
- * @memberof Locus
607
- * @param {Types~Locus} locus
608
- * @returns {Types~LocusDelta}
603
+ /**
604
+ * Fetches the delta for the locus from its syncUrl. *Does not merge*
605
+ * @instance
606
+ * @memberof Locus
607
+ * @param {Types~Locus} locus
608
+ * @returns {Types~LocusDelta}
609
609
  */
610
610
  sync: function sync(locus) {
611
611
  return this.request({
@@ -618,18 +618,18 @@ var Locus = _webexCore.WebexPlugin.extend({
618
618
  return res.body || {};
619
619
  });
620
620
  },
621
- /**
622
- * Send a new sdp to Linus via the Locus API to update media state (e.g. to
623
- * start or stop sending audio or video)
624
- * @instance
625
- * @memberof Locus
626
- * @param {Types~Locus} locus
627
- * @param {Object} options
628
- * @param {string} options.localSdp
629
- * @param {string} options.mediaId
630
- * @param {Boolean} options.audioMuted
631
- * @param {Boolean} options.videoMuted
632
- * @returns {Promise<Types~Locus>}
621
+ /**
622
+ * Send a new sdp to Linus via the Locus API to update media state (e.g. to
623
+ * start or stop sending audio or video)
624
+ * @instance
625
+ * @memberof Locus
626
+ * @param {Types~Locus} locus
627
+ * @param {Object} options
628
+ * @param {string} options.localSdp
629
+ * @param {string} options.mediaId
630
+ * @param {Boolean} options.audioMuted
631
+ * @param {Boolean} options.videoMuted
632
+ * @returns {Promise<Types~Locus>}
633
633
  */
634
634
  updateMedia: function updateMedia(locus, _ref3) {
635
635
  var sdp = _ref3.sdp,
@@ -659,7 +659,7 @@ var Locus = _webexCore.WebexPlugin.extend({
659
659
  return res.body.locus;
660
660
  });
661
661
  },
662
- version: "2.59.2"
662
+ version: "2.59.0"
663
663
  });
664
664
  var _default = Locus;
665
665
  exports.default = _default;