@prismatic-io/spectral 7.3.6 → 7.3.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.
@@ -151,7 +151,7 @@ const sendRawRequest = (baseUrl, values, authorizationHeaders = {}) => __awaiter
151
151
  url: values.url,
152
152
  headers: Object.assign(Object.assign(Object.assign({}, util_1.default.types.keyValPairListToObject(values.headers)), (payload instanceof form_data_1.default ? payload.getHeaders() : {})), authorizationHeaders),
153
153
  params: util_1.default.types.keyValPairListToObject(values.queryParams),
154
- data: payload,
154
+ data: payload || undefined,
155
155
  });
156
156
  });
157
157
  exports.sendRawRequest = sendRawRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "7.3.6",
3
+ "version": "7.3.7",
4
4
  "description": "Utility library for building Prismatic components",
5
5
  "keywords": [
6
6
  "prismatic"