@thzero/library_server 0.15.1 → 0.15.5

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.
@@ -1,14 +1,13 @@
1
1
  import LibraryConstants from '../../constants';
2
2
  import LibraryCommonServiceConstants from '@thzero/library_common_service/constants';
3
3
 
4
- import NotImplementedError from '@thzero/library_common/errors/notImplemented';
5
-
6
4
  import BootPlugin from './index';
7
5
 
8
6
  import homeRoute from '../../routes/home';
9
7
  import versionRoute from '../../routes/version';
10
8
 
11
9
  import cryptoService from '../../service/crypto';
10
+ import versionService from '../../service/version';
12
11
 
13
12
  class ApiBootPlugin extends BootPlugin {
14
13
  async _initRoutesPost() {
@@ -52,7 +51,7 @@ class ApiBootPlugin extends BootPlugin {
52
51
  }
53
52
 
54
53
  _initServicesVersion() {
55
- throw new NotImplementedError();
54
+ return new versionService();
56
55
  }
57
56
  }
58
57
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@thzero/library_server",
3
3
  "type": "module",
4
- "version": "0.15.1",
4
+ "version": "0.15.5",
5
5
  "version_major": 0,
6
6
  "version_minor": 15,
7
- "version_patch": 1,
8
- "version_date": "10/20/2021",
7
+ "version_patch": 5,
8
+ "version_date": "12/31/2021",
9
9
  "description": "An opinionated library of common functionality to bootstrap a Koa based API application using MongoDb and Firebase.",
10
10
  "author": "thZero",
11
11
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "dayjs": "^1.10.7",
35
35
  "dayjs-plugin-utc": "^0.1.2",
36
36
  "default-gateway": "^6.0.3",
37
- "easy-rbac": "^3.1.1",
37
+ "easy-rbac": "^3.2.0",
38
38
  "esm": "^3.2.25",
39
39
  "ipaddr.js": "^2.0.1",
40
40
  "koa": "^2.13.4",
@@ -46,16 +46,16 @@
46
46
  "@thzero/library_cli": "^0.13.21"
47
47
  },
48
48
  "peerDependencies": {
49
- "@thzero/library_common": "^0.14",
50
- "@thzero/library_common_service": "^0.14",
51
- "@babel/core": "^7.15.8",
52
- "@babel/plugin-proposal-class-properties": "^7.14.5",
53
- "@babel/preset-env": "^7.15.8",
54
- "babel-loader": "^8.2.2",
55
- "eslint": "^8.0.1",
49
+ "@thzero/library_common": "^0.15",
50
+ "@thzero/library_common_service": "^0.15",
51
+ "@babel/core": "^7.16.7",
52
+ "@babel/plugin-proposal-class-properties": "^7.16.7",
53
+ "@babel/preset-env": "^7.16.7",
54
+ "babel-loader": "^8.2.3",
55
+ "eslint": "^8.5.0",
56
56
  "eslint-plugin-node": "^11.1.0",
57
- "pino-pretty": "^7.1.0",
58
- "webpack": "^5.59.0",
57
+ "pino-pretty": "^7.3.0",
58
+ "webpack": "^5.65.0",
59
59
  "webpack-cli": "^4.9.1"
60
60
  }
61
61
  }
package/push.sh ADDED
@@ -0,0 +1,3 @@
1
+ git add .
2
+ git commit -m "$1"
3
+ git push
package/version.bat CHANGED
@@ -1 +1 @@
1
- @npm run cli-update
1
+ @npm run cli-update-w
package/version.sh ADDED
@@ -0,0 +1 @@
1
+ npm run cli-update