@webex/internal-plugin-conversation 2.52.6 → 2.52.8

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 ADDED
@@ -0,0 +1,6 @@
1
+ const config = {
2
+ root: true,
3
+ extends: ['@webex/eslint-config-legacy'],
4
+ };
5
+
6
+ module.exports = config;
@@ -0,0 +1,3 @@
1
+ const babelConfigLegacy = require('@webex/babel-config-legacy');
2
+
3
+ module.exports = babelConfigLegacy;
@@ -2496,7 +2496,7 @@ var Conversation = _webexCore.WebexPlugin.extend({
2496
2496
  });
2497
2497
  }));
2498
2498
  },
2499
- version: "2.52.6"
2499
+ version: "2.52.8"
2500
2500
  });
2501
2501
  ['favorite', 'hide', 'lock', 'mute', 'unfavorite', 'unhide', 'unlock', 'unmute'].forEach(function (verb) {
2502
2502
  Conversation.prototype[verb] = function submitSimpleActivity(conversation, activity) {
@@ -395,7 +395,7 @@ var ShareActivity = _webexCore.WebexPlugin.extend({
395
395
  return res.body.spaceUrl;
396
396
  });
397
397
  },
398
- version: "2.52.6"
398
+ version: "2.52.8"
399
399
  });
400
400
 
401
401
  /**
package/jest.config.js ADDED
@@ -0,0 +1,3 @@
1
+ const config = require('@webex/jest-config-legacy');
2
+
3
+ module.exports = config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/internal-plugin-conversation",
3
- "version": "2.52.6",
3
+ "version": "2.52.8",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -20,26 +20,41 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@webex/common": "2.52.6",
24
- "@webex/helper-html": "2.52.6",
25
- "@webex/helper-image": "2.52.6",
26
- "@webex/internal-plugin-conversation": "2.52.6",
27
- "@webex/internal-plugin-encryption": "2.52.6",
28
- "@webex/internal-plugin-user": "2.52.6",
29
- "@webex/webex-core": "2.52.6",
23
+ "@webex/common": "2.52.8",
24
+ "@webex/helper-html": "2.52.8",
25
+ "@webex/helper-image": "2.52.8",
26
+ "@webex/internal-plugin-encryption": "2.52.8",
27
+ "@webex/internal-plugin-user": "2.52.8",
28
+ "@webex/webex-core": "2.52.8",
30
29
  "crypto-js": "^4.1.1",
31
30
  "lodash": "^4.17.21",
32
31
  "node-scr": "^0.3.0",
33
32
  "uuid": "^3.3.2"
34
33
  },
35
34
  "devDependencies": {
36
- "@webex/test-helper-chai": "2.52.6",
37
- "@webex/test-helper-file": "2.52.6",
38
- "@webex/test-helper-make-local-url": "2.52.6",
39
- "@webex/test-helper-mocha": "2.52.6",
40
- "@webex/test-helper-mock-webex": "2.52.6",
41
- "@webex/test-helper-retry": "2.52.6",
42
- "@webex/test-helper-test-users": "2.52.6",
35
+ "@babel/core": "^7.17.10",
36
+ "@webex/babel-config-legacy": "2.52.8",
37
+ "@webex/eslint-config-legacy": "2.52.8",
38
+ "@webex/jest-config-legacy": "2.52.8",
39
+ "@webex/legacy-tools": "2.52.8",
40
+ "@webex/test-helper-chai": "2.52.8",
41
+ "@webex/test-helper-file": "2.52.8",
42
+ "@webex/test-helper-make-local-url": "2.52.8",
43
+ "@webex/test-helper-mocha": "2.52.8",
44
+ "@webex/test-helper-mock-webex": "2.52.8",
45
+ "@webex/test-helper-retry": "2.52.8",
46
+ "@webex/test-helper-test-users": "2.52.8",
47
+ "eslint": "^8.24.0",
48
+ "prettier": "^2.7.1",
43
49
  "sinon": "^9.2.4"
50
+ },
51
+ "scripts": {
52
+ "build": "yarn build:src",
53
+ "build:src": "webex-legacy-tools build -dest \"./dist\" -src \"./src\" -js -ts -maps",
54
+ "test": "yarn test:style && yarn test:unit && yarn test:integration && yarn test:browser",
55
+ "test:browser:broken": "webex-legacy-tools test --integration --unit --runner karma",
56
+ "test:integration:broken": "webex-legacy-tools test --integration --runner mocha",
57
+ "test:style": "eslint ./src/**/*.*",
58
+ "test:unit": "webex-legacy-tools test --unit --runner jest"
44
59
  }
45
60
  }
package/process ADDED
@@ -0,0 +1 @@
1
+ module.exports = {browser: true};
@@ -138,7 +138,7 @@ describe('plugin-conversation', () => {
138
138
  it('should convert a "us" cluster to WEBEX_CONVERSATION_DEFAULT_CLUSTER cluster', async () => {
139
139
  await webex.internal.conversation.getUrlFromClusterId({cluster: 'us'});
140
140
 
141
- sinon.assert.calledWith(webex.internal.services.getServiceFromClusterId, {clusterId: 'urn:TEAM:us-east-2_a:identityLookup'});
141
+ sinon.assert.calledWith(webex.internal.services.getServiceFromClusterId, {clusterId: 'urn:TEAM:us-east-1_int13:identityLookup'});
142
142
  });
143
143
 
144
144
  it('should add the cluster service when missing', async () => {