node-express-woodevice
Advanced tools
Comparing version 1.0.4 to 1.0.5
const config = require('./config'); | ||
const deviceRouter = require('./src/routers/device'); | ||
const deviceRepo = require('./src/repositories/device'); | ||
const deviceModel = require('./src/repositories/models/device'); | ||
const authTokenHandler = require('woo-utilities/authTokenHandler'); | ||
@@ -24,10 +21,10 @@ | ||
router: { | ||
device: deviceRouter | ||
device: () => require('./src/routers/device') | ||
}, | ||
repository: { | ||
device: deviceRepo | ||
device: () => require('./src/repositories/device') | ||
}, | ||
model: { | ||
device: deviceModel | ||
device: () => require('./src/repositories/models/device') | ||
} | ||
} |
{ | ||
"name": "node-express-woodevice", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5441
155