gd-sprest 9.2.7 → 9.2.8

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.
@@ -131,7 +131,11 @@ var FieldSchemaXML = function (fieldInfo, targetWebUrl) {
131
131
  props["Min"] = fieldInfo.min;
132
132
  }
133
133
  // Generate the schema
134
- schemaXml = "<Field " + toString(props) + " />";
134
+ schemaXml = "<Field " + toString(props) + ">";
135
+ if (fieldInfo.defaultValue) {
136
+ schemaXml += "<Default>" + fieldInfo.defaultValue + "</Default>";
137
+ }
138
+ schemaXml += "</Field>";
135
139
  // Resolve the request
136
140
  _resolve(schemaXml);
137
141
  };
package/build/rest.js CHANGED
@@ -9,7 +9,7 @@ var sptypes_1 = require("./sptypes");
9
9
  * SharePoint REST Library
10
10
  */
11
11
  exports.$REST = {
12
- __ver: 9.27,
12
+ __ver: 9.28,
13
13
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
14
14
  Apps: Lib.Apps,
15
15
  ContextInfo: Lib.ContextInfo,