parsony 1.1.2 → 1.1.4

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/index.js CHANGED
@@ -68,7 +68,7 @@ const parsony = {};
68
68
  let instantiated = false;
69
69
  let pFile;
70
70
  let app;
71
-
71
+ let server;
72
72
  const init = settings => {
73
73
  try {
74
74
  _init(settings);
@@ -399,7 +399,7 @@ function _startScheduledServices() {
399
399
  }
400
400
 
401
401
  function _startAppListening() {
402
- app.listen(parsony.configs[HTTP_PORT]);
402
+ server = app.listen(parsony.configs[HTTP_PORT]);
403
403
  }
404
404
 
405
405
  async function _genInitialKeyPair() {
@@ -487,7 +487,8 @@ const getBundle = () => {
487
487
  app,
488
488
  api,
489
489
  errors,
490
- cache
490
+ cache,
491
+ server
491
492
  };
492
493
  };
493
494
 
package/lib/db/db.js CHANGED
@@ -44,7 +44,8 @@ const createPool = connProps => {
44
44
  password,
45
45
  database,
46
46
  connectionLimit,
47
- debug
47
+ debug,
48
+ timezone:'Z'
48
49
  });
49
50
  };
50
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parsony",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "API Engine for Parsony Framework.",
5
5
  "keywords": [
6
6
  "JSON-RPC, API, Rapid Development"