gd-sprest
Advanced tools
Comparing version 8.9.7 to 8.9.8
@@ -12,3 +12,3 @@ "use strict"; | ||
exports.$REST = { | ||
__ver: 8.97, | ||
__ver: 8.98, | ||
AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); }, | ||
@@ -15,0 +15,0 @@ Apps: Lib.Apps, |
@@ -364,7 +364,4 @@ "use strict"; | ||
else { | ||
// See if we are not bypassing the processing of the response | ||
if (base.targetInfo.disableProcessing != true) { | ||
// Update the data object | ||
exports.Request.updateDataObject(base, isBatchRequest, batchIdx); | ||
} | ||
// Update the data object | ||
exports.Request.updateDataObject(base, isBatchRequest, batchIdx); | ||
// Ensure this isn't a batch request | ||
@@ -414,7 +411,4 @@ if (!isBatchRequest) { | ||
} | ||
// See if we are not bypassing the processing of the response | ||
if (base.targetInfo.disableProcessing != true) { | ||
// Update the base object | ||
exports.Request.updateDataObject(base, isBatchRequest, batchIdx); | ||
} | ||
// Update the base object | ||
exports.Request.updateDataObject(base, isBatchRequest, batchIdx); | ||
// See if the base is a collection and has more results | ||
@@ -571,6 +565,9 @@ if (base["@odata.nextLink"] || (base["d"] && base["d"].__next)) { | ||
exports.Request.addMethods(obj, objData, objData["@odata.context"]); | ||
// Update the data collection | ||
helper_1.Helper.updateDataCollection(obj, objData["results"]); | ||
// Update the expanded properties | ||
helper_1.Helper.updateExpandedProperties(obj); | ||
// See if we are not bypassing the processing of the response | ||
if (base.targetInfo.disableProcessing != true) { | ||
// Update the data collection | ||
helper_1.Helper.updateDataCollection(obj, objData["results"]); | ||
// Update the expanded properties | ||
helper_1.Helper.updateExpandedProperties(obj); | ||
} | ||
// Update the search results | ||
@@ -596,6 +593,9 @@ helper_1.Helper.updateSearchResults(obj); | ||
exports.Request.addMethods(obj, data.d, data["@odata.context"]); | ||
// Update the data collection | ||
helper_1.Helper.updateDataCollection(obj, data.d.results); | ||
// Update the expanded properties | ||
helper_1.Helper.updateExpandedProperties(obj); | ||
// See if we are not bypassing the processing of the response | ||
if (base.targetInfo.disableProcessing != true) { | ||
// Update the data collection | ||
helper_1.Helper.updateDataCollection(obj, data.d.results); | ||
// Update the expanded properties | ||
helper_1.Helper.updateExpandedProperties(obj); | ||
} | ||
// Update the search results | ||
@@ -612,4 +612,7 @@ helper_1.Helper.updateSearchResults(obj); | ||
exports.Request.addMethods(obj, data, data["@odata.context"]); | ||
// Update the data collection | ||
helper_1.Helper.updateDataCollection(obj, data.value); | ||
// See if we are not bypassing the processing of the response | ||
if (base.targetInfo.disableProcessing != true) { | ||
// Update the data collection | ||
helper_1.Helper.updateDataCollection(obj, data.value); | ||
} | ||
} | ||
@@ -616,0 +619,0 @@ else { |
{ | ||
"name": "gd-sprest", | ||
"version": "8.9.7", | ||
"version": "8.9.8", | ||
"description": "An easy way to develop against the SharePoint REST API.", | ||
@@ -5,0 +5,0 @@ "author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
4389337
51294