@webex/internal-plugin-board 2.59.3-next.1 → 2.59.4-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/dist/board.js CHANGED
@@ -16,13 +16,10 @@ var _deleteProperty = _interopRequireDefault(require("@babel/runtime-corejs2/cor
16
16
  var _stringify = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/json/stringify"));
17
17
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/slicedToArray"));
18
18
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
19
- var _pick2 = _interopRequireDefault(require("lodash/pick"));
20
- var _chunk2 = _interopRequireDefault(require("lodash/chunk"));
21
- var _defaults2 = _interopRequireDefault(require("lodash/defaults"));
22
- var _assign2 = _interopRequireDefault(require("lodash/assign"));
23
19
  var _querystring = _interopRequireDefault(require("querystring"));
24
20
  var _webexCore = require("@webex/webex-core");
25
21
  var _es6PromiseSeries = _interopRequireDefault(require("es6-promise-series"));
22
+ var _lodash = require("lodash");
26
23
  var _realtime = _interopRequireDefault(require("./realtime"));
27
24
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
28
25
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
@@ -31,20 +28,20 @@ var Board = _webexCore.WebexPlugin.extend({
31
28
  children: {
32
29
  realtime: _realtime.default
33
30
  },
34
- /**
35
- * Adds Content to a Channel
36
- * If contents length is greater than config.board.numberContentsPerPageForAdd, this method
37
- * will break contents into chunks and make multiple GET request to the
38
- * board service
39
- * @memberof Board.BoardService
40
- * @param {Board~Channel} channel
41
- * @param {Array} contents - Array of {@link Board~Content} objects
42
- * @returns {Promise<Board~Content>}
31
+ /**
32
+ * Adds Content to a Channel
33
+ * If contents length is greater than config.board.numberContentsPerPageForAdd, this method
34
+ * will break contents into chunks and make multiple GET request to the
35
+ * board service
36
+ * @memberof Board.BoardService
37
+ * @param {Board~Channel} channel
38
+ * @param {Array} contents - Array of {@link Board~Content} objects
39
+ * @returns {Promise<Board~Content>}
43
40
  */
44
41
  addContent: function addContent(channel, contents) {
45
42
  var _this = this;
46
43
  var chunks = [];
47
- chunks = (0, _chunk2.default)(contents, this.config.numberContentsPerPageForAdd);
44
+ chunks = (0, _lodash.chunk)(contents, this.config.numberContentsPerPageForAdd);
48
45
 
49
46
  // we want the first promise to resolve before continuing with the next
50
47
  // chunk or else we'll have race conditions among patches
@@ -52,15 +49,15 @@ var Board = _webexCore.WebexPlugin.extend({
52
49
  return _this._addContentChunk.bind(_this, channel, part);
53
50
  }));
54
51
  },
55
- /**
56
- * Adds Image to a Channel
57
- * Uploads image to webex files and adds SCR + downloadUrl to the persistence
58
- * service
59
- * @memberof Board.BoardService
60
- * @param {Board~Channel} channel
61
- * @param {File} image - image to be uploaded
62
- * @param {Object} metadata - metadata such as displayName
63
- * @returns {Promise<Board~Content>}
52
+ /**
53
+ * Adds Image to a Channel
54
+ * Uploads image to webex files and adds SCR + downloadUrl to the persistence
55
+ * service
56
+ * @memberof Board.BoardService
57
+ * @param {Board~Channel} channel
58
+ * @param {File} image - image to be uploaded
59
+ * @param {Object} metadata - metadata such as displayName
60
+ * @returns {Promise<Board~Content>}
64
61
  */
65
62
  addImage: function addImage(channel, image, metadata) {
66
63
  var _this2 = this;
@@ -77,12 +74,12 @@ var Board = _webexCore.WebexPlugin.extend({
77
74
  }]);
78
75
  });
79
76
  },
80
- /**
81
- * Set a snapshot image for a board
82
- *
83
- * @param {Board~Channel} channel
84
- * @param {File} image
85
- * @returns {Promise<Board~Channel>}
77
+ /**
78
+ * Set a snapshot image for a board
79
+ *
80
+ * @param {Board~Channel} channel
81
+ * @param {File} image
82
+ * @returns {Promise<Board~Channel>}
86
83
  */
87
84
  setSnapshotImage: function setSnapshotImage(channel, image) {
88
85
  var _this3 = this;
@@ -116,12 +113,12 @@ var Board = _webexCore.WebexPlugin.extend({
116
113
  return res.body;
117
114
  });
118
115
  },
119
- /**
120
- * Creates a Channel
121
- * @memberof Board.BoardService
122
- * @param {Conversation~ConversationObject} conversation
123
- * @param {Board~Channel} channel
124
- * @returns {Promise<Board~Channel>}
116
+ /**
117
+ * Creates a Channel
118
+ * @memberof Board.BoardService
119
+ * @param {Conversation~ConversationObject} conversation
120
+ * @param {Board~Channel} channel
121
+ * @returns {Promise<Board~Channel>}
125
122
  */
126
123
  createChannel: function createChannel(conversation, channel) {
127
124
  return this.webex.request({
@@ -144,14 +141,14 @@ var Board = _webexCore.WebexPlugin.extend({
144
141
  }
145
142
  }, channel);
146
143
  },
147
- /**
148
- * Deletes a Channel from a Conversation
149
- * @memberof Board.BoardService
150
- * @param {Conversation~ConversationObject} conversation
151
- * @param {Board~Channel} channel
152
- * @param {Object} options
153
- * @param {Object} options.preventDeleteActiveChannel Returns error if channel is in use
154
- * @returns {Promise}
144
+ /**
145
+ * Deletes a Channel from a Conversation
146
+ * @memberof Board.BoardService
147
+ * @param {Conversation~ConversationObject} conversation
148
+ * @param {Board~Channel} channel
149
+ * @param {Object} options
150
+ * @param {Object} options.preventDeleteActiveChannel Returns error if channel is in use
151
+ * @returns {Promise}
155
152
  */
156
153
  deleteChannel: function deleteChannel(conversation, channel) {
157
154
  var _this4 = this;
@@ -183,12 +180,12 @@ var Board = _webexCore.WebexPlugin.extend({
183
180
  return res.body;
184
181
  });
185
182
  },
186
- /**
187
- * Locks and marks a channel for deletion
188
- * If a channel is being used, it will return 409 - Conflict
189
- * @memberof Board.BoardService
190
- * @param {Board~Channel} channel
191
- * @returns {Promise}
183
+ /**
184
+ * Locks and marks a channel for deletion
185
+ * If a channel is being used, it will return 409 - Conflict
186
+ * @memberof Board.BoardService
187
+ * @param {Board~Channel} channel
188
+ * @returns {Promise}
192
189
  */
193
190
  lockChannelForDeletion: function lockChannelForDeletion(channel) {
194
191
  return this.webex.request({
@@ -201,10 +198,10 @@ var Board = _webexCore.WebexPlugin.extend({
201
198
  return res.body;
202
199
  });
203
200
  },
204
- /**
205
- * Keeps a channel as 'active' to prevent other people from deleting it
206
- * @param {Board~Channel} channel
207
- * @returns {Promise}
201
+ /**
202
+ * Keeps a channel as 'active' to prevent other people from deleting it
203
+ * @param {Board~Channel} channel
204
+ * @returns {Promise}
208
205
  */
209
206
  keepActive: function keepActive(channel) {
210
207
  return this.webex.request({
@@ -212,12 +209,12 @@ var Board = _webexCore.WebexPlugin.extend({
212
209
  uri: "".concat(channel.channelUrl, "/keepAlive")
213
210
  });
214
211
  },
215
- /**
216
- * Decrypts a collection of content objects
217
- *
218
- * @memberof Board.BoardService
219
- * @param {Array} contents curves, text, and images
220
- * @returns {Promise<Array>} Resolves with an array of {@link Board~Content} objects.
212
+ /**
213
+ * Decrypts a collection of content objects
214
+ *
215
+ * @memberof Board.BoardService
216
+ * @param {Array} contents curves, text, and images
217
+ * @returns {Promise<Array>} Resolves with an array of {@link Board~Content} objects.
221
218
  */
222
219
  decryptContents: function decryptContents(contents) {
223
220
  var _this5 = this;
@@ -231,28 +228,28 @@ var Board = _webexCore.WebexPlugin.extend({
231
228
  return decryptPromise.then(function (res) {
232
229
  (0, _deleteProperty.default)(content, 'payload');
233
230
  (0, _deleteProperty.default)(content, 'encryptionKeyUrl');
234
- return (0, _defaults2.default)(res, content);
231
+ return (0, _lodash.defaults)(res, content);
235
232
  });
236
233
  }));
237
234
  },
238
- /**
239
- * Decryts a single STRING content object
240
- * @memberof Board.BoardService
241
- * @param {string} encryptionKeyUrl
242
- * @param {string} encryptedData
243
- * @returns {Promise<Board~Content>}
235
+ /**
236
+ * Decryts a single STRING content object
237
+ * @memberof Board.BoardService
238
+ * @param {string} encryptionKeyUrl
239
+ * @param {string} encryptedData
240
+ * @returns {Promise<Board~Content>}
244
241
  */
245
242
  decryptSingleContent: function decryptSingleContent(encryptionKeyUrl, encryptedData) {
246
243
  return this.webex.internal.encryption.decryptText(encryptionKeyUrl, encryptedData).then(function (res) {
247
244
  return JSON.parse(res);
248
245
  });
249
246
  },
250
- /**
251
- * Decryts a single FILE content object
252
- * @memberof Board.BoardService
253
- * @param {string} encryptionKeyUrl
254
- * @param {object} encryptedContent {file, payload}
255
- * @returns {Promise<Board~Content>}
247
+ /**
248
+ * Decryts a single FILE content object
249
+ * @memberof Board.BoardService
250
+ * @param {string} encryptionKeyUrl
251
+ * @param {object} encryptedContent {file, payload}
252
+ * @returns {Promise<Board~Content>}
256
253
  */
257
254
  decryptSingleFileContent: function decryptSingleFileContent(encryptionKeyUrl, encryptedContent) {
258
255
  var _this6 = this;
@@ -278,11 +275,11 @@ var Board = _webexCore.WebexPlugin.extend({
278
275
  return encryptedContent;
279
276
  });
280
277
  },
281
- /**
282
- * Deletes all Content from a Channel
283
- * @memberof Board.BoardService
284
- * @param {Board~Channel} channel
285
- * @returns {Promise} Resolves with an content response
278
+ /**
279
+ * Deletes all Content from a Channel
280
+ * @memberof Board.BoardService
281
+ * @param {Board~Channel} channel
282
+ * @returns {Promise} Resolves with an content response
286
283
  */
287
284
  deleteAllContent: function deleteAllContent(channel) {
288
285
  return this.webex.request({
@@ -292,16 +289,16 @@ var Board = _webexCore.WebexPlugin.extend({
292
289
  return res.body;
293
290
  });
294
291
  },
295
- /**
296
- * Deletes Contents from a Channel except the ones listed in contentsToKeep
297
- * @memberof Board.BoardService
298
- * @param {Board~Channel} channel
299
- * @param {Array<Board~Content>} contentsToKeep Array of board objects (curves, text, and images) with valid contentId (received from server)
300
- * @returns {Promise} Resolves with an content response
292
+ /**
293
+ * Deletes Contents from a Channel except the ones listed in contentsToKeep
294
+ * @memberof Board.BoardService
295
+ * @param {Board~Channel} channel
296
+ * @param {Array<Board~Content>} contentsToKeep Array of board objects (curves, text, and images) with valid contentId (received from server)
297
+ * @returns {Promise} Resolves with an content response
301
298
  */
302
299
  deletePartialContent: function deletePartialContent(channel, contentsToKeep) {
303
300
  var body = contentsToKeep.map(function (content) {
304
- return (0, _pick2.default)(content, 'contentId');
301
+ return (0, _lodash.pick)(content, 'contentId');
305
302
  });
306
303
  return this.webex.request({
307
304
  method: 'POST',
@@ -314,12 +311,12 @@ var Board = _webexCore.WebexPlugin.extend({
314
311
  return res.body;
315
312
  });
316
313
  },
317
- /**
318
- * Encrypts a collection of content
319
- * @memberof Board.BoardService
320
- * @param {string} encryptionKeyUrl channel.defaultEncryptionKeyUrl
321
- * @param {Array} contents Array of {@link Board~Content} objects. (curves, text, and images)
322
- * @returns {Promise<Array>} Resolves with an array of encrypted {@link Board~Content} objects.
314
+ /**
315
+ * Encrypts a collection of content
316
+ * @memberof Board.BoardService
317
+ * @param {string} encryptionKeyUrl channel.defaultEncryptionKeyUrl
318
+ * @param {Array} contents Array of {@link Board~Content} objects. (curves, text, and images)
319
+ * @returns {Promise<Array>} Resolves with an array of encrypted {@link Board~Content} objects.
323
320
  */
324
321
  encryptContents: function encryptContents(encryptionKeyUrl, contents) {
325
322
  var _this7 = this;
@@ -335,20 +332,20 @@ var Board = _webexCore.WebexPlugin.extend({
335
332
  encryptionPromise = _this7.encryptSingleContent(encryptionKeyUrl, content);
336
333
  }
337
334
  return encryptionPromise.then(function (res) {
338
- return (0, _assign2.default)({
335
+ return (0, _lodash.assign)({
339
336
  device: _this7.webex.internal.device.deviceType,
340
337
  type: contentType,
341
338
  encryptionKeyUrl: encryptionKeyUrl
342
- }, (0, _pick2.default)(res, 'file', 'payload'));
339
+ }, (0, _lodash.pick)(res, 'file', 'payload'));
343
340
  });
344
341
  }));
345
342
  },
346
- /**
347
- * Encrypts a single STRING content object
348
- * @memberof Board.BoardService
349
- * @param {string} encryptionKeyUrl
350
- * @param {Board~Content} content
351
- * @returns {Promise<Board~Content>}
343
+ /**
344
+ * Encrypts a single STRING content object
345
+ * @memberof Board.BoardService
346
+ * @param {string} encryptionKeyUrl
347
+ * @param {Board~Content} content
348
+ * @returns {Promise<Board~Content>}
352
349
  */
353
350
  encryptSingleContent: function encryptSingleContent(encryptionKeyUrl, content) {
354
351
  return this.webex.internal.encryption.encryptText(encryptionKeyUrl, (0, _stringify.default)(content)).then(function (res) {
@@ -358,19 +355,19 @@ var Board = _webexCore.WebexPlugin.extend({
358
355
  };
359
356
  });
360
357
  },
361
- /**
362
- * Encrypts a single FILE content object
363
- * @memberof Board.BoardService
364
- * @param {string} encryptionKeyUrl
365
- * @param {Board~Content} content
366
- * @returns {Promise<Board~Content>}
358
+ /**
359
+ * Encrypts a single FILE content object
360
+ * @memberof Board.BoardService
361
+ * @param {string} encryptionKeyUrl
362
+ * @param {Board~Content} content
363
+ * @returns {Promise<Board~Content>}
367
364
  */
368
365
  encryptSingleFileContent: function encryptSingleFileContent(encryptionKeyUrl, content) {
369
366
  var _this8 = this;
370
367
  return this.webex.internal.encryption.encryptScr(encryptionKeyUrl, content.file.scr).then(function (encryptedScr) {
371
368
  content.file.scr = encryptedScr;
372
369
  if (content.displayName) {
373
- content.metadata = (0, _assign2.default)(content.metadata, {
370
+ content.metadata = (0, _lodash.assign)(content.metadata, {
374
371
  displayName: content.displayName
375
372
  });
376
373
  }
@@ -388,13 +385,13 @@ var Board = _webexCore.WebexPlugin.extend({
388
385
  };
389
386
  });
390
387
  },
391
- /**
392
- * Retrieves contents from a specified channel
393
- * @memberof Board.BoardService
394
- * @param {Board~Channel} channel
395
- * @param {Object} options
396
- * @param {Object} options.qs
397
- * @returns {Promise<Page<Board~Channel>>} Resolves with an array of Content items
388
+ /**
389
+ * Retrieves contents from a specified channel
390
+ * @memberof Board.BoardService
391
+ * @param {Board~Channel} channel
392
+ * @param {Object} options
393
+ * @param {Object} options.qs
394
+ * @returns {Promise<Page<Board~Channel>>} Resolves with an array of Content items
398
395
  */
399
396
  getContents: function getContents(channel, options) {
400
397
  var _this9 = this;
@@ -405,16 +402,16 @@ var Board = _webexCore.WebexPlugin.extend({
405
402
  contentsLimit: this.config.numberContentsPerPageForGet
406
403
  }
407
404
  };
408
- (0, _assign2.default)(params.qs, (0, _pick2.default)(options, 'contentsLimit'));
405
+ (0, _lodash.assign)(params.qs, (0, _lodash.pick)(options, 'contentsLimit'));
409
406
  return this.request(params).then(function (res) {
410
407
  return new _webexCore.Page(res, _this9.webex);
411
408
  });
412
409
  },
413
- /**
414
- * Gets a Channel
415
- * @memberof Board.BoardService
416
- * @param {Board~Channel} channel
417
- * @returns {Promise<Board~Channel>}
410
+ /**
411
+ * Gets a Channel
412
+ * @memberof Board.BoardService
413
+ * @param {Board~Channel} channel
414
+ * @returns {Promise<Board~Channel>}
418
415
  */
419
416
  getChannel: function getChannel(channel) {
420
417
  return this.webex.request({
@@ -424,14 +421,14 @@ var Board = _webexCore.WebexPlugin.extend({
424
421
  return res.body;
425
422
  });
426
423
  },
427
- /**
428
- * Gets Channels
429
- * @memberof Board.BoardService
430
- * @param {Conversation~ConversationObject} conversation
431
- * @param {Object} options
432
- * @param {number} options.channelsLimit number of boards to return per page
433
- * @param {number} options.type type of whiteboard: whiteboard or annotated
434
- * @returns {Promise<Page<Board~Channel>>} Resolves with an array of Channel items
424
+ /**
425
+ * Gets Channels
426
+ * @memberof Board.BoardService
427
+ * @param {Conversation~ConversationObject} conversation
428
+ * @param {Object} options
429
+ * @param {number} options.channelsLimit number of boards to return per page
430
+ * @param {number} options.type type of whiteboard: whiteboard or annotated
431
+ * @returns {Promise<Page<Board~Channel>>} Resolves with an array of Channel items
435
432
  */
436
433
  getChannels: function getChannels(conversation, options) {
437
434
  var _this10 = this;
@@ -446,15 +443,15 @@ var Board = _webexCore.WebexPlugin.extend({
446
443
  aclUrlLink: conversation.aclUrl
447
444
  }
448
445
  };
449
- (0, _assign2.default)(params.qs, (0, _pick2.default)(options, 'channelsLimit', 'type'));
446
+ (0, _lodash.assign)(params.qs, (0, _lodash.pick)(options, 'channelsLimit', 'type'));
450
447
  return this.request(params).then(function (res) {
451
448
  return new _webexCore.Page(res, _this10.webex);
452
449
  });
453
450
  },
454
- /**
455
- * Pings persistence
456
- * @memberof Board.BoardService
457
- * @returns {Promise<Object>} ping response body
451
+ /**
452
+ * Pings persistence
453
+ * @memberof Board.BoardService
454
+ * @returns {Promise<Object>} ping response body
458
455
  */
459
456
  ping: function ping() {
460
457
  return this.webex.request({
@@ -478,11 +475,11 @@ var Board = _webexCore.WebexPlugin.extend({
478
475
  return message;
479
476
  });
480
477
  },
481
- /**
482
- * Registers with Mercury
483
- * @memberof Board.BoardService
484
- * @param {Object} data - Mercury bindings
485
- * @returns {Promise<Board~Registration>}
478
+ /**
479
+ * Registers with Mercury
480
+ * @memberof Board.BoardService
481
+ * @param {Object} data - Mercury bindings
482
+ * @returns {Promise<Board~Registration>}
486
483
  */
487
484
  register: function register(data) {
488
485
  return this.webex.request({
@@ -494,11 +491,11 @@ var Board = _webexCore.WebexPlugin.extend({
494
491
  return res.body;
495
492
  });
496
493
  },
497
- /**
498
- * Registers with Mercury for sharing web socket
499
- * @memberof Board.BoardService
500
- * @param {Board~Channel} channel
501
- * @returns {Promise<Board~Registration>}
494
+ /**
495
+ * Registers with Mercury for sharing web socket
496
+ * @memberof Board.BoardService
497
+ * @param {Board~Channel} channel
498
+ * @returns {Promise<Board~Registration>}
502
499
  */
503
500
  registerToShareMercury: function registerToShareMercury(channel) {
504
501
  var _this11 = this;
@@ -525,12 +522,12 @@ var Board = _webexCore.WebexPlugin.extend({
525
522
  return res.body;
526
523
  });
527
524
  },
528
- /**
529
- * Remove board binding from existing mercury connection
530
- * @memberof Board.BoardService
531
- * @param {Board~Channel} channel
532
- * @param {String} binding - the binding as provided in board registration
533
- * @returns {Promise<Board~Registration>}
525
+ /**
526
+ * Remove board binding from existing mercury connection
527
+ * @memberof Board.BoardService
528
+ * @param {Board~Channel} channel
529
+ * @param {String} binding - the binding as provided in board registration
530
+ * @returns {Promise<Board~Registration>}
534
531
  */
535
532
  unregisterFromSharedMercury: function unregisterFromSharedMercury(channel, binding) {
536
533
  var webSocketUrl = this.webex.internal.device.webSocketUrl;
@@ -559,15 +556,15 @@ var Board = _webexCore.WebexPlugin.extend({
559
556
  return res.body;
560
557
  });
561
558
  },
562
- /**
563
- * Encrypts and uploads image to WebexFiles
564
- * @memberof Board.BoardService
565
- * @param {Board~Channel} channel
566
- * @param {File} file - File to be uploaded
567
- * @param {Object} options
568
- * @param {Object} options.hiddenSpace - true for hidden, false for open space
569
- * @private
570
- * @returns {Object} Encrypted Scr and KeyUrl
559
+ /**
560
+ * Encrypts and uploads image to WebexFiles
561
+ * @memberof Board.BoardService
562
+ * @param {Board~Channel} channel
563
+ * @param {File} file - File to be uploaded
564
+ * @param {Object} options
565
+ * @param {Object} options.hiddenSpace - true for hidden, false for open space
566
+ * @private
567
+ * @returns {Object} Encrypted Scr and KeyUrl
571
568
  */
572
569
  _uploadImage: function _uploadImage(channel, file, options) {
573
570
  var _this13 = this;
@@ -580,7 +577,7 @@ var Board = _webexCore.WebexPlugin.extend({
580
577
  var _ref3 = (0, _slicedToArray2.default)(_ref2, 2),
581
578
  scr = _ref3[0],
582
579
  res = _ref3[1];
583
- return (0, _assign2.default)(scr, {
580
+ return (0, _lodash.assign)(scr, {
584
581
  loc: res.downloadUrl
585
582
  });
586
583
  });
@@ -628,11 +625,11 @@ var Board = _webexCore.WebexPlugin.extend({
628
625
  });
629
626
  });
630
627
  },
631
- /** Authorize transcoder (for sharing whiteboard to mobile)
632
- *
633
- * @param {Board~Channel} board
634
- * @memberof Board.BoardService
635
- * @returns {String} authorization
628
+ /** Authorize transcoder (for sharing whiteboard to mobile)
629
+ *
630
+ * @param {Board~Channel} board
631
+ * @memberof Board.BoardService
632
+ * @returns {String} authorization
636
633
  */
637
634
  authorizeMediaInjector: function authorizeMediaInjector(board) {
638
635
  var _this15 = this;
@@ -661,18 +658,18 @@ var Board = _webexCore.WebexPlugin.extend({
661
658
  return undefined;
662
659
  }).catch(function (err) {
663
660
  return (
664
- /* We want to resolve any errors so that whiteboard share will still work
665
- * except mobile being able to receive the share
661
+ /* We want to resolve any errors so that whiteboard share will still work
662
+ * except mobile being able to receive the share
666
663
  */
667
664
  _promise.default.resolve(err)
668
665
  );
669
666
  });
670
667
  },
671
- /** Unauthorize transcoder (for stopping whiteboard share to mobile)
672
- *
673
- * @param {Board~Channel} board
674
- * @memberof Board.BoardService
675
- * @returns {Array} list of authIds removed
668
+ /** Unauthorize transcoder (for stopping whiteboard share to mobile)
669
+ *
670
+ * @param {Board~Channel} board
671
+ * @memberof Board.BoardService
672
+ * @returns {Array} list of authIds removed
676
673
  */
677
674
  unauthorizeMediaInjector: function unauthorizeMediaInjector(board) {
678
675
  var _this16 = this;
@@ -682,8 +679,8 @@ var Board = _webexCore.WebexPlugin.extend({
682
679
  return this.webex.internal.encryption.kms.listAuthorizations({
683
680
  kroUri: board.kmsResourceUrl
684
681
  }).then(function (authorizations) {
685
- /* Attempt to remove the authorization made from starting whiteboard share
686
- * Also removing any previous authorizations that were not cleared
682
+ /* Attempt to remove the authorization made from starting whiteboard share
683
+ * Also removing any previous authorizations that were not cleared
687
684
  */
688
685
  var promises = authorizations.map(function (auth) {
689
686
  var authId = auth.authId;
@@ -694,8 +691,8 @@ var Board = _webexCore.WebexPlugin.extend({
694
691
  return _promise.default.resolve(authId);
695
692
  }).catch(function (err) {
696
693
  return (
697
- /* We don't want this to error out, otherwise the
698
- * Promise.all will not process the rest of the request
694
+ /* We don't want this to error out, otherwise the
695
+ * Promise.all will not process the rest of the request
699
696
  */
700
697
  _promise.default.resolve(err)
701
698
  );
@@ -709,7 +706,7 @@ var Board = _webexCore.WebexPlugin.extend({
709
706
  return _promise.default.resolve([]);
710
707
  });
711
708
  },
712
- version: "2.59.0"
709
+ version: "2.59.4-next.1"
713
710
  });
714
711
  var _default = Board;
715
712
  exports.default = _default;