@webex/webex-server 2.52.13 → 2.54.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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +26 -26
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_compression","_interopRequireDefault","require","_cors","_errorhandler","_express","_morgan","_onFinished","_express2","_responseTime","_uuid","_webex","_session","app","express","use","responseTime","requestId","generator","sequence","concat","uuid","v4","reqHeader","resHeader","morgan","req","res","next","onFinished","console","info","method","toUpperCase","path","statusCode","getHeader","compression","cors","origin","credentials","maxAge","get","send","name","version","Webex","sessionRouter","errorHandler","module","exports"],"sources":["index.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\n/* eslint-disable no-console */\n\nimport compression from 'compression';\nimport cors from 'cors';\nimport errorHandler from 'errorhandler';\nimport express from 'express';\nimport morgan from 'morgan';\nimport onFinished from 'on-finished';\nimport requestId from 'request-id/express';\nimport responseTime from 'response-time';\nimport uuid from 'uuid';\n\nimport Webex from './webex';\nimport sessionRouter from './session';\n\nconst app = express();\n\napp.use(responseTime());\napp.use(\n requestId({\n generator() {\n // TODO get sequence from session data\n const sequence = 0;\n\n return `webex-server_${uuid.v4()}_${sequence}`;\n },\n reqHeader: 'TrackingID',\n resHeader: 'TrackingID',\n })\n);\napp.use(morgan('dev'));\napp.use((req, res, next) => {\n onFinished(res, () => {\n console.info(\n req.method.toUpperCase(),\n req.path,\n res.statusCode,\n res.getHeader('X-Response-Time')\n );\n });\n next();\n});\napp.use(compression());\napp.use(\n cors({\n origin: true,\n credentials: true,\n maxAge: 24 * 60 * 60,\n })\n);\n\napp.get('/ping', (req, res) => {\n res.send({\n name: '@webex/webex-server',\n version: PACKAGE_VERSION,\n 'sdk-version': Webex.version,\n });\n});\n\napp.use('/api/v1', session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G,CAACQ,IAAI,EACRP,GAAG,CAACQ,UAAU,EACdR,GAAG,CAACS,SAAS,CAAC,iBAAiB,CAAC,CACjC;EACH,CAAC,CAAC;EACFR,IAAI,EAAE;AACR,CAAC,CAAC;AACFf,GAAG,CAACE,GAAG,CAAC,IAAAsB,oBAAW,GAAE,CAAC;AACtBxB,GAAG,CAACE,GAAG,CACL,IAAAuB,aAAI,EAAC;EACHC,MAAM,EAAE,IAAI;EACZC,WAAW,EAAE,IAAI;EACjBC,MAAM,EAAE,EAAE,GAAG,EAAE,GAAG;AACpB,CAAC,CAAC,CACH;AAED5B,GAAG,CAAC6B,GAAG,CAAC,OAAO,EAAE,UAAChB,GAAG,EAAEC,GAAG,EAAK;EAC7BA,GAAG,CAACgB,IAAI,CAAC;IACPC,IAAI,EAAE,qBAAqB;IAC3BC,OAAO,
|
|
1
|
+
{"version":3,"names":["_compression","_interopRequireDefault","require","_cors","_errorhandler","_express","_morgan","_onFinished","_express2","_responseTime","_uuid","_webex","_session","app","express","use","responseTime","requestId","generator","sequence","concat","uuid","v4","reqHeader","resHeader","morgan","req","res","next","onFinished","console","info","method","toUpperCase","path","statusCode","getHeader","compression","cors","origin","credentials","maxAge","get","send","name","version","Webex","sessionRouter","errorHandler","module","exports"],"sources":["index.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\n/* eslint-disable no-console */\n\nimport compression from 'compression';\nimport cors from 'cors';\nimport errorHandler from 'errorhandler';\nimport express from 'express';\nimport morgan from 'morgan';\nimport onFinished from 'on-finished';\nimport requestId from 'request-id/express';\nimport responseTime from 'response-time';\nimport uuid from 'uuid';\n\nimport Webex from './webex';\nimport sessionRouter from './session';\n\nconst app = express();\n\napp.use(responseTime());\napp.use(\n requestId({\n generator() {\n // TODO get sequence from session data\n const sequence = 0;\n\n return `webex-server_${uuid.v4()}_${sequence}`;\n },\n reqHeader: 'TrackingID',\n resHeader: 'TrackingID',\n })\n);\napp.use(morgan('dev'));\napp.use((req, res, next) => {\n onFinished(res, () => {\n console.info(\n req.method.toUpperCase(),\n req.path,\n res.statusCode,\n res.getHeader('X-Response-Time')\n );\n });\n next();\n});\napp.use(compression());\napp.use(\n cors({\n origin: true,\n credentials: true,\n maxAge: 24 * 60 * 60,\n })\n);\n\napp.get('/ping', (req, res) => {\n res.send({\n name: '@webex/webex-server',\n version: PACKAGE_VERSION,\n 'sdk-version': Webex.version,\n });\n});\n\napp.use('/api/v1', sessionRouter);\n\napp.use(errorHandler());\n\nmodule.exports = app;\n"],"mappings":";;;AAMA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,aAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,QAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,OAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,WAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,SAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,aAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,KAAA,GAAAT,sBAAA,CAAAC,OAAA;AAEA,IAAAS,MAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,QAAA,GAAAX,sBAAA,CAAAC,OAAA;AAjBA;AACA;AACA;;AAEA;;AAeA,IAAMW,GAAG,GAAG,IAAAC,gBAAO,GAAE;AAErBD,GAAG,CAACE,GAAG,CAAC,IAAAC,qBAAY,GAAE,CAAC;AACvBH,GAAG,CAACE,GAAG,CACL,IAAAE,iBAAS,EAAC;EACRC,SAAS,WAAAA,UAAA,EAAG;IACV;IACA,IAAMC,QAAQ,GAAG,CAAC;IAElB,uBAAAC,MAAA,CAAuBC,aAAI,CAACC,EAAE,EAAE,OAAAF,MAAA,CAAID,QAAQ;EAC9C,CAAC;EACDI,SAAS,EAAE,YAAY;EACvBC,SAAS,EAAE;AACb,CAAC,CAAC,CACH;AACDX,GAAG,CAACE,GAAG,CAAC,IAAAU,eAAM,EAAC,KAAK,CAAC,CAAC;AACtBZ,GAAG,CAACE,GAAG,CAAC,UAACW,GAAG,EAAEC,GAAG,EAAEC,IAAI,EAAK;EAC1B,IAAAC,mBAAU,EAACF,GAAG,EAAE,YAAM;IACpBG,OAAO,CAACC,IAAI,CACVL,GAAG,CAACM,MAAM,CAACC,WAAW,EAAE,EACxBP,GAAG,CAACQ,IAAI,EACRP,GAAG,CAACQ,UAAU,EACdR,GAAG,CAACS,SAAS,CAAC,iBAAiB,CAAC,CACjC;EACH,CAAC,CAAC;EACFR,IAAI,EAAE;AACR,CAAC,CAAC;AACFf,GAAG,CAACE,GAAG,CAAC,IAAAsB,oBAAW,GAAE,CAAC;AACtBxB,GAAG,CAACE,GAAG,CACL,IAAAuB,aAAI,EAAC;EACHC,MAAM,EAAE,IAAI;EACZC,WAAW,EAAE,IAAI;EACjBC,MAAM,EAAE,EAAE,GAAG,EAAE,GAAG;AACpB,CAAC,CAAC,CACH;AAED5B,GAAG,CAAC6B,GAAG,CAAC,OAAO,EAAE,UAAChB,GAAG,EAAEC,GAAG,EAAK;EAC7BA,GAAG,CAACgB,IAAI,CAAC;IACPC,IAAI,EAAE,qBAAqB;IAC3BC,OAAO,UAAiB;IACxB,aAAa,EAAEC,cAAK,CAACD;EACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEFhC,GAAG,CAACE,GAAG,CAAC,SAAS,EAAEgC,gBAAa,CAAC;AAEjClC,GAAG,CAACE,GAAG,CAAC,IAAAiC,qBAAY,GAAE,CAAC;AAEvBC,MAAM,CAACC,OAAO,GAAGrC,GAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/webex-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.54.0",
|
|
4
4
|
"description": ".",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -34,35 +34,35 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@babel/core": "^7.17.10",
|
|
36
36
|
"@babel/polyfill": "^7.12.1",
|
|
37
|
-
"@webex/babel-config-legacy": "2.
|
|
38
|
-
"@webex/eslint-config-legacy": "2.
|
|
39
|
-
"@webex/jest-config-legacy": "2.
|
|
40
|
-
"@webex/legacy-tools": "2.
|
|
41
|
-
"@webex/test-helper-chai": "2.
|
|
42
|
-
"@webex/test-helper-mocha": "2.
|
|
43
|
-
"@webex/test-helper-mock-webex": "2.
|
|
44
|
-
"@webex/test-helper-test-users": "2.
|
|
37
|
+
"@webex/babel-config-legacy": "2.54.0",
|
|
38
|
+
"@webex/eslint-config-legacy": "2.54.0",
|
|
39
|
+
"@webex/jest-config-legacy": "2.54.0",
|
|
40
|
+
"@webex/legacy-tools": "2.54.0",
|
|
41
|
+
"@webex/test-helper-chai": "2.54.0",
|
|
42
|
+
"@webex/test-helper-mocha": "2.54.0",
|
|
43
|
+
"@webex/test-helper-mock-webex": "2.54.0",
|
|
44
|
+
"@webex/test-helper-test-users": "2.54.0",
|
|
45
45
|
"eslint": "^8.24.0",
|
|
46
46
|
"prettier": "^2.7.1"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@webex/internal-plugin-avatar": "2.
|
|
50
|
-
"@webex/internal-plugin-board": "2.
|
|
51
|
-
"@webex/internal-plugin-calendar": "2.
|
|
52
|
-
"@webex/internal-plugin-conversation": "2.
|
|
53
|
-
"@webex/internal-plugin-device": "2.
|
|
54
|
-
"@webex/internal-plugin-encryption": "2.
|
|
55
|
-
"@webex/internal-plugin-feature": "2.
|
|
56
|
-
"@webex/internal-plugin-flag": "2.
|
|
57
|
-
"@webex/internal-plugin-mercury": "2.
|
|
58
|
-
"@webex/internal-plugin-metrics": "2.
|
|
59
|
-
"@webex/internal-plugin-search": "2.
|
|
60
|
-
"@webex/internal-plugin-support": "2.
|
|
61
|
-
"@webex/internal-plugin-team": "2.
|
|
62
|
-
"@webex/internal-plugin-user": "2.
|
|
63
|
-
"@webex/plugin-authorization-node": "2.
|
|
64
|
-
"@webex/plugin-logger": "2.
|
|
65
|
-
"@webex/webex-core": "2.
|
|
49
|
+
"@webex/internal-plugin-avatar": "2.54.0",
|
|
50
|
+
"@webex/internal-plugin-board": "2.54.0",
|
|
51
|
+
"@webex/internal-plugin-calendar": "2.54.0",
|
|
52
|
+
"@webex/internal-plugin-conversation": "2.54.0",
|
|
53
|
+
"@webex/internal-plugin-device": "2.54.0",
|
|
54
|
+
"@webex/internal-plugin-encryption": "2.54.0",
|
|
55
|
+
"@webex/internal-plugin-feature": "2.54.0",
|
|
56
|
+
"@webex/internal-plugin-flag": "2.54.0",
|
|
57
|
+
"@webex/internal-plugin-mercury": "2.54.0",
|
|
58
|
+
"@webex/internal-plugin-metrics": "2.54.0",
|
|
59
|
+
"@webex/internal-plugin-search": "2.54.0",
|
|
60
|
+
"@webex/internal-plugin-support": "2.54.0",
|
|
61
|
+
"@webex/internal-plugin-team": "2.54.0",
|
|
62
|
+
"@webex/internal-plugin-user": "2.54.0",
|
|
63
|
+
"@webex/plugin-authorization-node": "2.54.0",
|
|
64
|
+
"@webex/plugin-logger": "2.54.0",
|
|
65
|
+
"@webex/webex-core": "2.54.0",
|
|
66
66
|
"body-parser": "^1.19.0",
|
|
67
67
|
"compression": "^1.7.4",
|
|
68
68
|
"cors": "^2.8.5",
|