jsharmony 1.27.2 → 1.27.3

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.
package/lib/WebConnect.js CHANGED
@@ -44,7 +44,7 @@ function WebConnect() {
44
44
  this.MAX_REDIRECTS = 20;
45
45
  }
46
46
  WebConnect.prototype.reqjson = function (url, method, post, headers, ftarget, callback, options) {
47
- this.req(url, method, post, headers, ftarget, function (err, res, rslt) {
47
+ return this.req(url, method, post, headers, ftarget, function (err, res, rslt) {
48
48
  if (callback) {
49
49
  if (err) return callback(err, null, null, null);
50
50
  if (rslt && (rslt == '---SAVEDTOFILE---')) return callback(err, '---SAVEDTOFILE---', null, res);
@@ -166,6 +166,7 @@ WebConnect.prototype.req = function (url, method, post, headers, ftarget, callba
166
166
  else req.write(post);
167
167
  }
168
168
  req.end();
169
+ return req;
169
170
  };
170
171
 
171
172
  exports.WebConnect = WebConnect;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsharmony",
3
- "version": "1.27.2",
3
+ "version": "1.27.3",
4
4
  "description": "Rapid Application Development (RAD) Platform for Node.js Database Application Development",
5
5
  "main": "index.js",
6
6
  "scripts": {