dynogels-promise
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -96,2 +96,3 @@ 'use strict' | ||
const self = this | ||
return new Promise((resolve, reject) => { | ||
@@ -122,2 +123,4 @@ if ( | ||
callback = callback || _.noop | ||
self.sendRequest('get', params, (err, data) => { | ||
@@ -651,2 +654,3 @@ if (err) { | ||
const self = this | ||
callback = callback || _.noop | ||
@@ -673,2 +677,4 @@ return new Promise((resolve, reject) => { | ||
const self = this | ||
callback = callback || _.noop | ||
return new Promise((resolve, reject) => { | ||
@@ -839,2 +845,3 @@ const promisifiedCallback = (err, data) => { | ||
const promisifiedCallback = (err, data) => { | ||
callback = callback || _.noop | ||
if (err) { | ||
@@ -841,0 +848,0 @@ callback(err) |
{ | ||
"name": "dynogels-promise", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "Promisified dynogels module", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75221
2487