Skip to content

Commit

Permalink
Merge pull request #4 from percy/map/update-percy-client
Browse files Browse the repository at this point in the history
Update percy-client
  • Loading branch information
maprules1000 authored Sep 14, 2018
2 parents ce12fb7 + c6fc915 commit fb86aeb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"mime-types": "^2.1.17",
"percy-client": "^2.6.0",
"percy-client": "^3.0.0",
"walk": "^2.3.9"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/Percy.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class Percy {
const resources = await this.gatherBuildResources();

// Create the build
const buildResponse = await this.client.createBuild(this.environment.repo, { resources });
const buildResponse = await this.client.createBuild({ resources });
this.buildId = buildResponse.body.data.id;
this.webUrl = buildResponse.body.data.attributes['web-url'];

Expand Down
13 changes: 10 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3162,9 +3162,9 @@ path-type@^2.0.0:
dependencies:
pify "^2.0.0"

percy-client@^2.6.0:
version "2.8.2"
resolved "https://registry.yarnpkg.com/percy-client/-/percy-client-2.8.2.tgz#2415dcc5d07bd4dea913df5f237cff4f0295839a"
percy-client@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/percy-client/-/percy-client-3.0.0.tgz#86289f8224817cf550c9b21aaf994b7fa16f291d"
dependencies:
base64-js "^1.2.3"
bluebird "^3.5.1"
Expand All @@ -3174,6 +3174,7 @@ percy-client@^2.6.0:
regenerator-runtime "^0.11.1"
request "^2.85.0"
request-promise "^4.2.2"
walk "^2.3.14"
optionalDependencies:
lint-staged "^7.0.4"

Expand Down Expand Up @@ -4018,6 +4019,12 @@ w3c-hr-time@^1.0.1:
dependencies:
browser-process-hrtime "^0.1.2"

walk@^2.3.14:
version "2.3.14"
resolved "https://registry.yarnpkg.com/walk/-/walk-2.3.14.tgz#60ec8631cfd23276ae1e7363ce11d626452e1ef3"
dependencies:
foreachasync "^3.0.0"

walk@^2.3.9:
version "2.3.13"
resolved "https://registry.yarnpkg.com/walk/-/walk-2.3.13.tgz#400852ade80df679f54637e4f08654ed6628f6da"
Expand Down

0 comments on commit fb86aeb

Please sign in to comment.