@percy/client 1.5.0 → 1.6.1

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.
Files changed (2) hide show
  1. package/dist/utils.js +1 -1
  2. package/package.json +4 -4
package/dist/utils.js CHANGED
@@ -125,7 +125,7 @@ export async function request(url, options = {}, callback) {
125
125
  proxyAgentFor
126
126
  } = await import('./proxy.js'); // automatically stringify body content
127
127
 
128
- if (body && typeof body !== 'string') {
128
+ if (body !== undefined && typeof body !== 'string') {
129
129
  headers = {
130
130
  'Content-Type': 'application/json',
131
131
  ...headers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/client",
3
- "version": "1.5.0",
3
+ "version": "1.6.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,8 +31,8 @@
31
31
  "test:coverage": "yarn test --coverage"
32
32
  },
33
33
  "dependencies": {
34
- "@percy/env": "1.5.0",
35
- "@percy/logger": "1.5.0"
34
+ "@percy/env": "1.6.1",
35
+ "@percy/logger": "1.6.1"
36
36
  },
37
- "gitHead": "813db57980acd418a03d5bf39174ee840feb6229"
37
+ "gitHead": "87e8afc35605110fa7c7bde2100be18e6e74826b"
38
38
  }