gd-sprest 7.5.6 → 7.5.7

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.
@@ -17,7 +17,7 @@ export interface IHubSites {
17
17
  * Creates an instance of the user profile library.
18
18
  * @param targetInfo - (Optional) The target information.
19
19
  */
20
- (targetInfo?: ITargetInfoProps): IHubSiteCollection;
20
+ (targetInfo?: ITargetInfoProps): IBaseExecution<IHubSiteCollection>;
21
21
 
22
22
  /**
23
23
  * A static method to see if the current user can create a hub site.
@@ -577,7 +577,6 @@ exports.ListForm = {
577
577
  var reader = new FileReader();
578
578
  // Set the file loaded event
579
579
  reader.onloadend = function (ev) {
580
- var attachment = null;
581
580
  var ext = srcFile.name.split(".");
582
581
  ext = ext[ext.length - 1].toLowerCase();
583
582
  // See if the info exists
package/build/rest.js CHANGED
@@ -8,7 +8,7 @@ var sptypes_1 = require("./sptypes");
8
8
  * SharePoint REST Library
9
9
  */
10
10
  exports.$REST = {
11
- __ver: 7.56,
11
+ __ver: 7.57,
12
12
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
13
13
  Apps: Lib.Apps,
14
14
  ContextInfo: Lib.ContextInfo,
@@ -1313,7 +1313,7 @@ declare module 'gd-sprest/lib/hubSites' {
1313
1313
  * Creates an instance of the user profile library.
1314
1314
  * @param targetInfo - (Optional) The target information.
1315
1315
  */
1316
- (targetInfo?: ITargetInfoProps): IHubSiteCollection;
1316
+ (targetInfo?: ITargetInfoProps): IBaseExecution<IHubSiteCollection>;
1317
1317
 
1318
1318
  /**
1319
1319
  * A static method to see if the current user can create a hub site.