q-koa 11.4.7 → 11.5.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.
Files changed (2) hide show
  1. package/core/app.js +5 -0
  2. package/package.json +1 -1
package/core/app.js CHANGED
@@ -1930,13 +1930,18 @@ class APP {
1930
1930
  APP.Sequelize = Sequelize
1931
1931
  APP.lodash = _
1932
1932
  APP.Random = Random
1933
+
1933
1934
  APP.Validator = Validator
1934
1935
  APP.ServiceError = ServiceError
1935
1936
  APP.moment = moment
1937
+
1936
1938
  global.moment = moment
1937
1939
  global.Sequelize = Sequelize
1938
1940
  global.lodash = _
1939
1941
 
1942
+ global.Validator = Validator
1943
+ global.ServiceError = ServiceError
1944
+
1940
1945
  APP.sleep = (time) => new Promise((resolve) => setTimeout(resolve, time * 1000))
1941
1946
 
1942
1947
  APP.getService = (name) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "11.4.7",
3
+ "version": "11.5.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {