jitz-sharepoint-utilities 1.11.0 → 1.11.2

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.
@@ -172,7 +172,7 @@ var CommonRepository = /** @class */ (function () {
172
172
  //etag: "1",
173
173
  type: entityType,
174
174
  };
175
- var requestUrl = "_api/web/lists/getbytitle('" + listName + "')/items(" + item.Id + ")";
175
+ var requestUrl = "_api/web/lists/getbytitle('" + listName + "')/items(" + item.Id + ")?$select=*,File/Name,File/ServerRelativeUrl&$expand=File";
176
176
  return _this.context.client
177
177
  .post(requestUrl, item, {
178
178
  Accept: "application/json;odata=nometadata",
@@ -44,6 +44,7 @@ var Repository = /** @class */ (function () {
44
44
  var queryUrlGetAllItems = this.context.siteUrl + "/_api/web/lists/GetByTitle('" +
45
45
  this.listName +
46
46
  "')/items";
47
+ console.log(queryUrlGetAllItems);
47
48
  if (selectFields != null && selectFields != "") {
48
49
  queryUrlGetAllItems = queryUrlGetAllItems + "?$select=" + selectFields;
49
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jitz-sharepoint-utilities",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "description": "Essential SharePoint utilities for SharePoint Add-in and SPFx development",
5
5
  "author": "Jithendra Mani",
6
6
  "license": "ISC",