@webex/webex-server 3.9.0 → 3.10.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 CHANGED
@@ -45,7 +45,7 @@ app.use((0, _cors.default)({
45
45
  app.get('/ping', function (req, res) {
46
46
  res.send({
47
47
  name: '@webex/webex-server',
48
- version: "3.9.0",
48
+ version: "3.10.0",
49
49
  'sdk-version': _webex.default.version
50
50
  });
51
51
  });
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', 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,EAAC,CAAC;AAErBD,GAAG,CAACE,GAAG,CAAC,IAAAC,qBAAY,EAAC,CAAC,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,CAAC,CAAC,OAAAF,MAAA,CAAID,QAAQ;EAC9C,CAAC;EACDI,SAAS,EAAE,YAAY;EACvBC,SAAS,EAAE;AACb,CAAC,CACH,CAAC;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,CAAC,CAAC,EACxBP,GAAG,CAACQ,IAAI,EACRP,GAAG,CAACQ,UAAU,EACdR,GAAG,CAACS,SAAS,CAAC,iBAAiB,CACjC,CAAC;EACH,CAAC,CAAC;EACFR,IAAI,CAAC,CAAC;AACR,CAAC,CAAC;AACFf,GAAG,CAACE,GAAG,CAAC,IAAAsB,oBAAW,EAAC,CAAC,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,CACH,CAAC;AAED5B,GAAG,CAAC6B,GAAG,CAAC,OAAO,EAAE,UAAChB,GAAG,EAAEC,GAAG,EAAK;EAC7BA,GAAG,CAACgB,IAAI,CAAC;IACPC,IAAI,EAAE,qBAAqB;IAC3BC,OAAO,SAAiB;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,EAAC,CAAC,CAAC;AAEvBC,MAAM,CAACC,OAAO,GAAGrC,GAAG"}
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;A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B;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,EAAC,CAAC,CAAC;AAEvBC,MAAM,CAACC,OAAO,GAAGrC,GAAG"}
package/package.json CHANGED
@@ -37,31 +37,31 @@
37
37
  "@webex/eslint-config-legacy": "0.0.0",
38
38
  "@webex/jest-config-legacy": "0.0.0",
39
39
  "@webex/legacy-tools": "0.0.0",
40
- "@webex/test-helper-chai": "3.9.0",
41
- "@webex/test-helper-mocha": "3.9.0",
42
- "@webex/test-helper-mock-webex": "3.9.0",
43
- "@webex/test-helper-test-users": "3.9.0",
40
+ "@webex/test-helper-chai": "3.10.0",
41
+ "@webex/test-helper-mocha": "3.10.0",
42
+ "@webex/test-helper-mock-webex": "3.10.0",
43
+ "@webex/test-helper-test-users": "3.10.0",
44
44
  "eslint": "^8.24.0",
45
45
  "prettier": "^2.7.1"
46
46
  },
47
47
  "dependencies": {
48
- "@webex/internal-plugin-avatar": "3.9.0",
49
- "@webex/internal-plugin-board": "3.9.0",
50
- "@webex/internal-plugin-calendar": "3.9.0",
51
- "@webex/internal-plugin-conversation": "3.9.0",
52
- "@webex/internal-plugin-device": "3.9.0",
53
- "@webex/internal-plugin-encryption": "3.9.0",
54
- "@webex/internal-plugin-feature": "3.9.0",
55
- "@webex/internal-plugin-flag": "3.9.0",
56
- "@webex/internal-plugin-mercury": "3.9.0",
57
- "@webex/internal-plugin-metrics": "3.9.0",
58
- "@webex/internal-plugin-search": "3.9.0",
59
- "@webex/internal-plugin-support": "3.9.0",
60
- "@webex/internal-plugin-team": "3.9.0",
61
- "@webex/internal-plugin-user": "3.9.0",
62
- "@webex/plugin-authorization-node": "3.9.0",
63
- "@webex/plugin-logger": "3.9.0",
64
- "@webex/webex-core": "3.9.0",
48
+ "@webex/internal-plugin-avatar": "3.10.0",
49
+ "@webex/internal-plugin-board": "3.10.0",
50
+ "@webex/internal-plugin-calendar": "3.10.0",
51
+ "@webex/internal-plugin-conversation": "3.10.0",
52
+ "@webex/internal-plugin-device": "3.10.0",
53
+ "@webex/internal-plugin-encryption": "3.10.0",
54
+ "@webex/internal-plugin-feature": "3.10.0",
55
+ "@webex/internal-plugin-flag": "3.10.0",
56
+ "@webex/internal-plugin-mercury": "3.10.0",
57
+ "@webex/internal-plugin-metrics": "3.10.0",
58
+ "@webex/internal-plugin-search": "3.10.0",
59
+ "@webex/internal-plugin-support": "3.10.0",
60
+ "@webex/internal-plugin-team": "3.10.0",
61
+ "@webex/internal-plugin-user": "3.10.0",
62
+ "@webex/plugin-authorization-node": "3.10.0",
63
+ "@webex/plugin-logger": "3.10.0",
64
+ "@webex/webex-core": "3.10.0",
65
65
  "body-parser": "^1.19.0",
66
66
  "compression": "^1.7.4",
67
67
  "cors": "^2.8.5",
@@ -86,5 +86,5 @@
86
86
  "test:integration": "webex-legacy-tools test --integration --runner mocha",
87
87
  "test:style": "eslint ./src/**/*.*"
88
88
  },
89
- "version": "3.9.0"
89
+ "version": "3.10.0"
90
90
  }