axj-ab_ 1.0.13 → 1.0.14

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -627,13 +627,13 @@ var ab_ = {
627
627
  req.success = function (rep) {
628
628
  loading && loading();
629
629
  if (callback) {
630
- callback(undefined, rep.data);
630
+ callback(undefined, rep.data, rep);
631
631
  }
632
632
  };
633
633
  req.fail = function (err) {
634
634
  loading && loading();
635
635
  if (callback) {
636
- callback(err || 'fail', undefined);
636
+ callback(err || 'fail', undefined, rep);
637
637
  }
638
638
  };
639
639
  init && init(req);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "axj-ab_",
3
3
  "type": "commonjs",
4
- "version": "1.0.13",
4
+ "version": "1.0.14",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {