Comparing version 1.0.4 to 1.0.5
@@ -16,3 +16,3 @@ 'use strict'; | ||
return reject(this.error(100, this.verify[item].error && this.verify[item].error.isUndefined|| | ||
`${item} is undefined.`)) | ||
`${item} is undefined.`)) | ||
} | ||
@@ -31,7 +31,7 @@ | ||
error(code, error){ | ||
return { ok: false, code, error} | ||
return JSON.stringify({ ok: false, code, error}) | ||
} | ||
success(data){ | ||
return { ok: true, data } | ||
return JSON.stringify({ ok: true, data }) | ||
} | ||
@@ -38,0 +38,0 @@ |
{ | ||
"name": "jares", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "simple json api ewsult format", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
18487