gd-sprest 7.4.3 → 7.4.5

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.
@@ -555,7 +555,7 @@ var _ContextInfo = /** @class */ (function () {
555
555
  configurable: true
556
556
  });
557
557
  Object.defineProperty(_ContextInfo, "theme", {
558
- get: function () { return (this._contextInfo.window && this._contextInfo.window["__themeState__"] ? this._contextInfo.window["__themeState__"].theme : null) || {}; },
558
+ get: function () { return (this.window && this.window["__themeState__"] ? this.window["__themeState__"].theme : null) || {}; },
559
559
  enumerable: false,
560
560
  configurable: true
561
561
  });
@@ -6299,7 +6299,8 @@ exports.Mapper = {
6299
6299
  },
6300
6300
  getFileByUrl: {
6301
6301
  argNames: ["fileUrl"],
6302
- requestType: utils_1.RequestType.GetWithArgsValueOnly,
6302
+ name: "getFileByUrl(@url)?@url='[[fileUrl]]'",
6303
+ requestType: utils_1.RequestType.GetReplace,
6303
6304
  returnType: "SP.File"
6304
6305
  },
6305
6306
  getFileByWOPIFrameUrl: {
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.43,
11
+ __ver: 7.45,
12
12
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
13
13
  Apps: Lib.Apps,
14
14
  ContextInfo: Lib.ContextInfo,