dynogels-promise
Advanced tools
Comparing version 1.0.5 to 1.0.6
const Promise = require('bluebird') | ||
const dynogels = require('./dynamodb') | ||
const dynogelsModel = dyngoels.model | ||
dynogels.model = function (name, model) { | ||
if (model) { | ||
Promsie.promisifyAll(model) | ||
} | ||
return dynogelsModel.apply(dynogels, arguments) | ||
} | ||
Promise.promisifyAll(dynogels) | ||
module.exports = dynogels |
{ | ||
"name": "dynogels-promise", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Promisified dynogels module", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
69034
2303