@webex/internal-plugin-board 3.0.0-beta.191 → 3.0.0-beta.193

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
@@ -725,7 +725,7 @@ var Board = _webexCore.WebexPlugin.extend({
725
725
  return _promise.default.resolve([]);
726
726
  });
727
727
  },
728
- version: "3.0.0-beta.191"
728
+ version: "3.0.0-beta.193"
729
729
  });
730
730
  var _default = Board;
731
731
  exports.default = _default;
package/dist/realtime.js CHANGED
@@ -221,7 +221,7 @@ var RealtimeService = _webexCore.WebexPlugin.extend({
221
221
  return _this7.realtimeChannels.remove(channel.channelId);
222
222
  }));
223
223
  },
224
- version: "3.0.0-beta.191"
224
+ version: "3.0.0-beta.193"
225
225
  });
226
226
  var _default = RealtimeService;
227
227
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/internal-plugin-board",
3
- "version": "3.0.0-beta.191",
3
+ "version": "3.0.0-beta.193",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "Greg Hewett <ghewett@cisco.com>",
@@ -21,22 +21,22 @@
21
21
  ]
22
22
  },
23
23
  "devDependencies": {
24
- "@webex/test-helper-chai": "3.0.0-beta.191",
25
- "@webex/test-helper-file": "3.0.0-beta.191",
26
- "@webex/test-helper-mocha": "3.0.0-beta.191",
27
- "@webex/test-helper-mock-web-socket": "3.0.0-beta.191",
28
- "@webex/test-helper-mock-webex": "3.0.0-beta.191",
29
- "@webex/test-helper-test-users": "3.0.0-beta.191",
24
+ "@webex/test-helper-chai": "3.0.0-beta.193",
25
+ "@webex/test-helper-file": "3.0.0-beta.193",
26
+ "@webex/test-helper-mocha": "3.0.0-beta.193",
27
+ "@webex/test-helper-mock-web-socket": "3.0.0-beta.193",
28
+ "@webex/test-helper-mock-webex": "3.0.0-beta.193",
29
+ "@webex/test-helper-test-users": "3.0.0-beta.193",
30
30
  "sinon": "^9.2.4"
31
31
  },
32
32
  "dependencies": {
33
- "@webex/common": "3.0.0-beta.191",
34
- "@webex/internal-plugin-board": "3.0.0-beta.191",
35
- "@webex/internal-plugin-conversation": "3.0.0-beta.191",
36
- "@webex/internal-plugin-encryption": "3.0.0-beta.191",
37
- "@webex/internal-plugin-feature": "3.0.0-beta.191",
38
- "@webex/internal-plugin-mercury": "3.0.0-beta.191",
39
- "@webex/webex-core": "3.0.0-beta.191",
33
+ "@webex/common": "3.0.0-beta.193",
34
+ "@webex/internal-plugin-board": "3.0.0-beta.193",
35
+ "@webex/internal-plugin-conversation": "3.0.0-beta.193",
36
+ "@webex/internal-plugin-encryption": "3.0.0-beta.193",
37
+ "@webex/internal-plugin-feature": "3.0.0-beta.193",
38
+ "@webex/internal-plugin-mercury": "3.0.0-beta.193",
39
+ "@webex/webex-core": "3.0.0-beta.193",
40
40
  "ampersand-collection": "^2.0.2",
41
41
  "es6-promise-series": "^0.2.2",
42
42
  "lodash": "^4.17.21",
@@ -109,7 +109,9 @@ describe('plugin-board', () => {
109
109
  it('uploads image to webex files', () =>
110
110
  participants[0].webex.internal.board
111
111
  ._uploadImage(board, fixture)
112
- .then((scr) => participants[1].webex.internal.encryption.download(scr))
112
+ .then((scr) => {
113
+ participants[0].webex.logger.debug('@@@@', scr)
114
+ return participants[1].webex.internal.encryption.download(scr.loc, scr)})
113
115
  .then((downloadedFile) =>
114
116
  fh
115
117
  .isMatchingFile(downloadedFile, fixture)
@@ -142,7 +144,7 @@ describe('plugin-board', () => {
142
144
  res.image.scr
143
145
  );
144
146
  })
145
- .then((decryptedScr) => participants[2].webex.internal.encryption.download(decryptedScr))
147
+ .then((decryptedScr) => participants[2].webex.internal.encryption.download(decryptedScr.loc, decryptedScr))
146
148
  .then((file) =>
147
149
  fh.isMatchingFile(file, fixture).then((result) => assert.deepEqual(result, true))
148
150
  );
@@ -190,7 +192,7 @@ describe('plugin-board', () => {
190
192
 
191
193
  it('matches file file downloaded', () =>
192
194
  participants[0].webex.internal.encryption
193
- .download(testScr)
195
+ .download(testScr.loc, testScr)
194
196
  .then((downloadedFile) =>
195
197
  fh
196
198
  .isMatchingFile(downloadedFile, fixture)
@@ -199,7 +201,7 @@ describe('plugin-board', () => {
199
201
 
200
202
  it('allows others to download image', () =>
201
203
  participants[2].webex.internal.encryption
202
- .download(testScr)
204
+ .download(testScr.loc, testScr)
203
205
  .then((downloadedFile) =>
204
206
  fh
205
207
  .isMatchingFile(downloadedFile, fixture)
@@ -245,7 +247,7 @@ describe('plugin-board', () => {
245
247
  })
246
248
  .then(() =>
247
249
  participants[0].webex.internal.encryption
248
- .download(testScr)
250
+ .download(testScr.loc, testScr)
249
251
  .then((downloadedFile) => fh.isMatchingFile(downloadedFile, fixture))
250
252
  .then((res) => assert.isTrue(res))
251
253
  );