artes 1.0.63 → 1.0.64

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artes",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
4
4
  "description": "The simplest way to automate UI and API tests using Cucumber-style steps.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -255,7 +255,7 @@ const api = {
255
255
  const resolvedPayload = (await payload) && resolveVariable(payload);
256
256
  const payloadJSON = (await resolvedPayload) && JSON.parse(resolvedPayload);
257
257
 
258
- const req = await requestMaker(payloadJSON.headers || {});
258
+ const req = await requestMaker(payloadJSON?.headers || {});
259
259
 
260
260
  const res = await context.request.delete(resolvedURL, req);
261
261