@webex/recipe-private-web-client 3.0.0-bnr.4 → 3.0.0
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 +6 -0
- package/babel.config.js +3 -0
- package/dist/config.js +1 -2
- package/dist/config.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/jest.config.js +3 -0
- package/package.json +47 -25
- package/process +1 -0
- package/dist/recipe-private-web-client.d.ts +0 -11
- package/dist/tsdoc-metadata.json +0 -11
- package/dist/types/config.d.ts +0 -10
- package/dist/types/index.d.ts +0 -8
package/.eslintrc.js
ADDED
package/babel.config.js
ADDED
package/dist/config.js
CHANGED
|
@@ -11,7 +11,7 @@ var _storageAdapterLocalStorage = _interopRequireDefault(require("@webex/storage
|
|
|
11
11
|
/*!
|
|
12
12
|
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
|
|
13
13
|
*/
|
|
14
|
-
var _default = {
|
|
14
|
+
var _default = exports.default = {
|
|
15
15
|
device: {
|
|
16
16
|
enableInactivityEnforcement: true
|
|
17
17
|
},
|
|
@@ -20,5 +20,4 @@ var _default = {
|
|
|
20
20
|
unboundedAdapter: new _storageAdapterLocalForage.default('web-client-internal')
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
|
-
exports.default = _default;
|
|
24
23
|
//# sourceMappingURL=config.js.map
|
package/dist/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["device","enableInactivityEnforcement","storage","boundedAdapter","LocalStorageStoreAdapter","unboundedAdapter","LocalForageStoreAdapter"],"sources":["config.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nimport LocalForageStoreAdapter from '@webex/storage-adapter-local-forage';\nimport LocalStorageStoreAdapter from '@webex/storage-adapter-local-storage';\n\nexport default {\n device: {\n enableInactivityEnforcement: true,\n },\n storage: {\n boundedAdapter: new LocalStorageStoreAdapter('web-client-internal'),\n unboundedAdapter: new LocalForageStoreAdapter('web-client-internal'),\n },\n};\n"],"mappings":";;;;;;;;AAIA;AACA;AALA;AACA;AACA;AAFA,
|
|
1
|
+
{"version":3,"names":["_storageAdapterLocalForage","_interopRequireDefault","require","_storageAdapterLocalStorage","_default","exports","default","device","enableInactivityEnforcement","storage","boundedAdapter","LocalStorageStoreAdapter","unboundedAdapter","LocalForageStoreAdapter"],"sources":["config.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nimport LocalForageStoreAdapter from '@webex/storage-adapter-local-forage';\nimport LocalStorageStoreAdapter from '@webex/storage-adapter-local-storage';\n\nexport default {\n device: {\n enableInactivityEnforcement: true,\n },\n storage: {\n boundedAdapter: new LocalStorageStoreAdapter('web-client-internal'),\n unboundedAdapter: new LocalForageStoreAdapter('web-client-internal'),\n },\n};\n"],"mappings":";;;;;;;;AAIA,IAAAA,0BAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,2BAAA,GAAAF,sBAAA,CAAAC,OAAA;AALA;AACA;AACA;AAFA,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAOe;EACbC,MAAM,EAAE;IACNC,2BAA2B,EAAE;EAC/B,CAAC;EACDC,OAAO,EAAE;IACPC,cAAc,EAAE,IAAIC,mCAAwB,CAAC,qBAAqB,CAAC;IACnEC,gBAAgB,EAAE,IAAIC,kCAAuB,CAAC,qBAAqB;EACrE;AACF,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,6 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = Webex;
|
|
9
|
-
var _merge2 = _interopRequireDefault(require("lodash/merge"));
|
|
10
9
|
require("@webex/plugin-authorization-browser-first-party");
|
|
11
10
|
require("@webex/internal-plugin-avatar");
|
|
12
11
|
require("@webex/internal-plugin-board");
|
|
@@ -27,6 +26,7 @@ require("@webex/internal-plugin-lyra");
|
|
|
27
26
|
require("@webex/internal-plugin-device");
|
|
28
27
|
require("@webex/plugin-people");
|
|
29
28
|
var _webexCore = _interopRequireDefault(require("@webex/webex-core"));
|
|
29
|
+
var _lodash = require("lodash");
|
|
30
30
|
var _config = _interopRequireDefault(require("./config"));
|
|
31
31
|
/*!
|
|
32
32
|
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
|
|
@@ -39,7 +39,7 @@ var _config = _interopRequireDefault(require("./config"));
|
|
|
39
39
|
*/
|
|
40
40
|
function Webex(attrs) {
|
|
41
41
|
attrs = attrs || {};
|
|
42
|
-
attrs.config = (0,
|
|
42
|
+
attrs.config = (0, _lodash.merge)(_config.default, attrs.config);
|
|
43
43
|
return new _webexCore.default(attrs);
|
|
44
44
|
}
|
|
45
45
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Webex","attrs","config","WebexCore"],"sources":["index.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nimport '@webex/plugin-authorization-browser-first-party';\nimport '@webex/internal-plugin-avatar';\nimport '@webex/internal-plugin-board';\nimport '@webex/internal-plugin-calendar';\nimport '@webex/internal-plugin-conversation';\nimport '@webex/internal-plugin-encryption';\nimport '@webex/internal-plugin-feature';\nimport '@webex/internal-plugin-flag';\nimport '@webex/plugin-logger';\nimport '@webex/internal-plugin-mercury';\nimport '@webex/internal-plugin-metrics';\nimport '@webex/internal-plugin-presence';\nimport '@webex/internal-plugin-search';\nimport '@webex/internal-plugin-support';\nimport '@webex/internal-plugin-team';\nimport '@webex/internal-plugin-user';\nimport '@webex/internal-plugin-lyra';\nimport '@webex/internal-plugin-device';\nimport '@webex/plugin-people';\n\nimport WebexCore from '@webex/webex-core';\nimport {merge} from 'lodash';\n\nimport config from './config';\n\n/**\n * @param {Object} attrs\n * @param {Object} attrs.config\n * @returns {Webex}\n */\nexport default function Webex(attrs) {\n attrs = attrs || {};\n attrs.config = merge(config, attrs.config);\n\n return new WebexCore(attrs);\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["require","_webexCore","_interopRequireDefault","_lodash","_config","Webex","attrs","config","merge","WebexCore"],"sources":["index.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nimport '@webex/plugin-authorization-browser-first-party';\nimport '@webex/internal-plugin-avatar';\nimport '@webex/internal-plugin-board';\nimport '@webex/internal-plugin-calendar';\nimport '@webex/internal-plugin-conversation';\nimport '@webex/internal-plugin-encryption';\nimport '@webex/internal-plugin-feature';\nimport '@webex/internal-plugin-flag';\nimport '@webex/plugin-logger';\nimport '@webex/internal-plugin-mercury';\nimport '@webex/internal-plugin-metrics';\nimport '@webex/internal-plugin-presence';\nimport '@webex/internal-plugin-search';\nimport '@webex/internal-plugin-support';\nimport '@webex/internal-plugin-team';\nimport '@webex/internal-plugin-user';\nimport '@webex/internal-plugin-lyra';\nimport '@webex/internal-plugin-device';\nimport '@webex/plugin-people';\n\nimport WebexCore from '@webex/webex-core';\nimport {merge} from 'lodash';\n\nimport config from './config';\n\n/**\n * @param {Object} attrs\n * @param {Object} attrs.config\n * @returns {Webex}\n */\nexport default function Webex(attrs) {\n attrs = attrs || {};\n attrs.config = merge(config, attrs.config);\n\n return new WebexCore(attrs);\n}\n"],"mappings":";;;;;;;;AAIAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AAEA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAEA,IAAAI,OAAA,GAAAF,sBAAA,CAAAF,OAAA;AA3BA;AACA;AACA;;AA2BA;AACA;AACA;AACA;AACA;AACe,SAASK,KAAKA,CAACC,KAAK,EAAE;EACnCA,KAAK,GAAGA,KAAK,IAAI,CAAC,CAAC;EACnBA,KAAK,CAACC,MAAM,GAAG,IAAAC,aAAK,EAACD,eAAM,EAAED,KAAK,CAACC,MAAM,CAAC;EAE1C,OAAO,IAAIE,kBAAS,CAACH,KAAK,CAAC;AAC7B"}
|
package/jest.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/recipe-private-web-client",
|
|
3
|
-
"version": "3.0.0-bnr.4",
|
|
4
3
|
"description": "This is a plugin recipe for the Cisco Webex JS SDK. This recipe uses internal APIs to provide the features needed by the Cisco Webex Teams Client. There is no guarantee of non-breaking changes. Non-Cisco engineers should stick to the `webex` package.",
|
|
5
4
|
"license": "MIT",
|
|
6
5
|
"main": "dist/index.js",
|
|
@@ -20,28 +19,51 @@
|
|
|
20
19
|
]
|
|
21
20
|
},
|
|
22
21
|
"dependencies": {
|
|
23
|
-
"@webex/internal-plugin-avatar": "
|
|
24
|
-
"@webex/internal-plugin-board": "
|
|
25
|
-
"@webex/internal-plugin-calendar": "
|
|
26
|
-
"@webex/internal-plugin-conversation": "
|
|
27
|
-
"@webex/internal-plugin-device": "
|
|
28
|
-
"@webex/internal-plugin-encryption": "
|
|
29
|
-
"@webex/internal-plugin-feature": "
|
|
30
|
-
"@webex/internal-plugin-flag": "
|
|
31
|
-
"@webex/internal-plugin-lyra": "
|
|
32
|
-
"@webex/internal-plugin-mercury": "
|
|
33
|
-
"@webex/internal-plugin-metrics": "
|
|
34
|
-
"@webex/internal-plugin-presence": "
|
|
35
|
-
"@webex/internal-plugin-search": "
|
|
36
|
-
"@webex/internal-plugin-support": "
|
|
37
|
-
"@webex/internal-plugin-team": "
|
|
38
|
-
"@webex/internal-plugin-user": "
|
|
39
|
-
"@webex/plugin-authorization-browser-first-party": "
|
|
40
|
-
"@webex/plugin-logger": "
|
|
41
|
-
"@webex/plugin-people": "
|
|
42
|
-
"@webex/storage-adapter-local-forage": "
|
|
43
|
-
"@webex/storage-adapter-local-storage": "
|
|
44
|
-
"@webex/webex-core": "
|
|
22
|
+
"@webex/internal-plugin-avatar": "3.0.0",
|
|
23
|
+
"@webex/internal-plugin-board": "3.0.0",
|
|
24
|
+
"@webex/internal-plugin-calendar": "3.0.0",
|
|
25
|
+
"@webex/internal-plugin-conversation": "3.0.0",
|
|
26
|
+
"@webex/internal-plugin-device": "3.0.0",
|
|
27
|
+
"@webex/internal-plugin-encryption": "3.0.0",
|
|
28
|
+
"@webex/internal-plugin-feature": "3.0.0",
|
|
29
|
+
"@webex/internal-plugin-flag": "3.0.0",
|
|
30
|
+
"@webex/internal-plugin-lyra": "3.0.0",
|
|
31
|
+
"@webex/internal-plugin-mercury": "3.0.0",
|
|
32
|
+
"@webex/internal-plugin-metrics": "3.0.0",
|
|
33
|
+
"@webex/internal-plugin-presence": "3.0.0",
|
|
34
|
+
"@webex/internal-plugin-search": "3.0.0",
|
|
35
|
+
"@webex/internal-plugin-support": "3.0.0",
|
|
36
|
+
"@webex/internal-plugin-team": "3.0.0",
|
|
37
|
+
"@webex/internal-plugin-user": "3.0.0",
|
|
38
|
+
"@webex/plugin-authorization-browser-first-party": "3.0.0",
|
|
39
|
+
"@webex/plugin-logger": "3.0.0",
|
|
40
|
+
"@webex/plugin-people": "3.0.0",
|
|
41
|
+
"@webex/storage-adapter-local-forage": "3.0.0",
|
|
42
|
+
"@webex/storage-adapter-local-storage": "3.0.0",
|
|
43
|
+
"@webex/webex-core": "3.0.0",
|
|
45
44
|
"lodash": "^4.17.21"
|
|
46
|
-
}
|
|
47
|
-
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "yarn build:src",
|
|
48
|
+
"build:src": "webex-legacy-tools build -dest \"./dist\" -src \"./src\" -js -ts -maps",
|
|
49
|
+
"deploy:npm": "yarn npm publish",
|
|
50
|
+
"test": "yarn test:style && yarn test:unit && yarn test:integration && yarn test:browser",
|
|
51
|
+
"test:browser": "webex-legacy-tools test --integration --runner karma",
|
|
52
|
+
"test:style": "eslint ./src/**/*.*",
|
|
53
|
+
"test:unit": "webex-legacy-tools test --unit --runner jest"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@babel/core": "^7.17.10",
|
|
57
|
+
"@webex/babel-config-legacy": "0.0.0",
|
|
58
|
+
"@webex/eslint-config-legacy": "0.0.0",
|
|
59
|
+
"@webex/jest-config-legacy": "0.0.0",
|
|
60
|
+
"@webex/legacy-tools": "0.0.0",
|
|
61
|
+
"@webex/test-helper-chai": "3.0.0",
|
|
62
|
+
"@webex/test-helper-mocha": "3.0.0",
|
|
63
|
+
"@webex/test-helper-mock-webex": "3.0.0",
|
|
64
|
+
"@webex/test-helper-test-users": "3.0.0",
|
|
65
|
+
"eslint": "^8.24.0",
|
|
66
|
+
"prettier": "^2.7.1"
|
|
67
|
+
},
|
|
68
|
+
"version": "3.0.0"
|
|
69
|
+
}
|
package/process
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = {browser: true};
|
package/dist/tsdoc-metadata.json
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.34.4"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|
package/dist/types/config.d.ts
DELETED