@onehat/data 1.8.0 → 1.8.1
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/package.json
CHANGED
package/src/Repository/Ajax.js
CHANGED
|
@@ -102,6 +102,11 @@ class AjaxRepository extends Repository {
|
|
|
102
102
|
*/
|
|
103
103
|
this.allowsMultiSort = false;
|
|
104
104
|
|
|
105
|
+
/**
|
|
106
|
+
* @member {object} lastSendOptions - Last options sent to server
|
|
107
|
+
*/
|
|
108
|
+
this.lastSendOptions = null;
|
|
109
|
+
|
|
105
110
|
/**
|
|
106
111
|
* @member {Object} _params - Object of query params to submit to server
|
|
107
112
|
* @private
|
|
@@ -786,6 +791,8 @@ class AjaxRepository extends Repository {
|
|
|
786
791
|
console.log(url, options);
|
|
787
792
|
}
|
|
788
793
|
|
|
794
|
+
this.lastSendOptions = options;
|
|
795
|
+
|
|
789
796
|
return this.axios(options)
|
|
790
797
|
.catch(error => {
|
|
791
798
|
if (this.debugMode) {
|