@konplit-services/common 1.0.50 → 1.0.51

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.
@@ -13,7 +13,7 @@ const configureSwagger = (app, paths) => {
13
13
  info: {
14
14
  title: "Konplit Payment System Documentation",
15
15
  version: "1.0.0",
16
- description: "This is a complete APIs definittion for konplit payment system documented with Swagger",
16
+ description: "This is a complete API definition for the Konplit payment system documented with Swagger",
17
17
  license: {
18
18
  name: "IEC Code Components End-user licence agreement",
19
19
  url: "https://spdx.org/licenses/IEC-Code-Components-EULA.html",
@@ -29,19 +29,21 @@ const configureSwagger = (app, paths) => {
29
29
  url: "http://localhost:3000",
30
30
  },
31
31
  ],
32
- },
33
- components: {
34
- securitySchemes: {
35
- type: "http",
36
- scheme: "bearer",
37
- bearerFormat: "JWT",
32
+ components: {
33
+ securitySchemes: {
34
+ bearerAuth: {
35
+ type: "http",
36
+ scheme: "bearer",
37
+ bearerFormat: "JWT",
38
+ },
39
+ },
38
40
  },
41
+ security: [
42
+ {
43
+ bearerAuth: [],
44
+ },
45
+ ],
39
46
  },
40
- security: [
41
- {
42
- bearerAuth: [],
43
- },
44
- ],
45
47
  apis: [paths],
46
48
  };
47
49
  const swaggerSpec = (0, swagger_jsdoc_1.default)(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",