gd-sprest
Advanced tools
Comparing version 8.1.4 to 8.1.5
@@ -12,3 +12,3 @@ "use strict"; | ||
exports.$REST = { | ||
__ver: 8.14, | ||
__ver: 8.15, | ||
AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); }, | ||
@@ -15,0 +15,0 @@ Apps: Lib.Apps, |
@@ -45,8 +45,19 @@ "use strict"; | ||
else { | ||
// Append the request | ||
base.base.batchRequests[base.base.batchRequests.length - 1].push({ | ||
callback: callback, | ||
changesetId: lib_1.ContextInfo.generateGUID(), | ||
targetInfo: new _1.TargetInfo(base.targetInfo) | ||
}); | ||
// Batch requests are limited to 100 per execution, so we need to add a check for this | ||
if (base.base.batchRequests[base.base.batchRequests.length - 1].length == 100) { | ||
// Create a new request | ||
base.base.batchRequests.push([{ | ||
callback: callback, | ||
changesetId: lib_1.ContextInfo.generateGUID(), | ||
targetInfo: new _1.TargetInfo(base.targetInfo) | ||
}]); | ||
} | ||
else { | ||
// Append the request | ||
base.base.batchRequests[base.base.batchRequests.length - 1].push({ | ||
callback: callback, | ||
changesetId: lib_1.ContextInfo.generateGUID(), | ||
targetInfo: new _1.TargetInfo(base.targetInfo) | ||
}); | ||
} | ||
} | ||
@@ -53,0 +64,0 @@ // Return this object |
{ | ||
"name": "gd-sprest", | ||
"version": "8.1.4", | ||
"version": "8.1.5", | ||
"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
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
2578460
31406