@thzero/library_server 0.16.3 → 0.16.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.
package/README.md CHANGED
@@ -6,16 +6,16 @@
6
6
 
7
7
  An opinionated library of common functionality to bootstrap an API application using MongoDb and Firebase. Currently either Fastify or Koa can be used as the web server; Fastify will be the focus going forward due to lack of support and updates with the Koa stack.
8
8
 
9
- ### Installation
10
-
11
- [![NPM](https://nodei.co/npm/@thzero/library_server.png?compact=true)](https://npmjs.org/package/@thzero/library_server)
12
-
13
9
  ### Requirements
14
10
 
15
11
  #### NodeJs
16
12
 
17
13
  Requires [NodeJs ](https://nodejs.org) version 18+.
18
14
 
15
+ ### Installation
16
+
17
+ [![NPM](https://nodei.co/npm/@thzero/library_server.png?compact=true)](https://npmjs.org/package/@thzero/library_server)
18
+
19
19
  #### Mongo
20
20
 
21
21
  Mongo is the only currently supposed option as the server side data source.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@thzero/library_server",
3
3
  "type": "module",
4
- "version": "0.16.3",
4
+ "version": "0.16.5",
5
5
  "version_major": 0,
6
6
  "version_minor": 16,
7
- "version_patch": 3,
8
- "version_date": "11/21/2022",
7
+ "version_patch": 5,
8
+ "version_date": "11/25/2022",
9
9
  "description": "An opinionated library of common functionality to bootstrap an API application using MongoDb and Firebase. Currently either Fastify or Koa can be used as the web server.",
10
10
  "author": "thZero",
11
11
  "license": "MIT",
@@ -25,9 +25,9 @@
25
25
  "test": "echo \"Error: no test specified\" && exit 1"
26
26
  },
27
27
  "dependencies": {
28
- "@godaddy/terminus": "^4.11.1",
29
- "async-mutex": "^0.3.2",
30
- "config": "^3.3.7",
28
+ "@godaddy/terminus": "^4.11.2",
29
+ "async-mutex": "^0.4.0",
30
+ "config": "^3.3.8",
31
31
  "default-gateway": "^6.0.3",
32
32
  "easy-rbac": "^3.2.0",
33
33
  "ipaddr.js": "^2.0.1"
@@ -1,6 +1,6 @@
1
1
  import LibraryConstants from '../constants.js';
2
2
 
3
- import Utilities from '@thzero/library_common/utility/index.js';
3
+ import Utility from '@thzero/library_common/utility/index.js';
4
4
 
5
5
  import Service from './index.js';
6
6
 
@@ -32,7 +32,7 @@ class UsageMetricsService extends Service {
32
32
  }
33
33
  }
34
34
 
35
- usageMetrics.date = new Date(new Date(Utilities.getTimestamp()).toISOString());
35
+ usageMetrics.date = new Date(new Date(Utility.getTimestamp()).toISOString());
36
36
 
37
37
  await this._repositoryUsageMetrics.register(usageMetrics);
38
38
  return this._success(usageMetrics.correlationId);