@argos-ci/core 4.2.1-alpha.4 → 4.3.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/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -374,7 +374,7 @@ var service4 = {
374
374
  const payload = readEventPayload(context);
375
375
  const vercelPayload = getVercelDeploymentPayload(payload);
376
376
  const sha = getSha(context, vercelPayload);
377
- const pullRequest = payload ? getPullRequestFromPayload(payload) : await getPullRequestFromHeadSha(context, sha);
377
+ const pullRequest = payload && !vercelPayload ? getPullRequestFromPayload(payload) : await getPullRequestFromHeadSha(context, sha);
378
378
  return {
379
379
  commit: sha,
380
380
  repository: getRepository3(context, payload),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/core",
3
3
  "description": "Node.js SDK for visual testing with Argos.",
4
- "version": "4.2.1-alpha.4+d1894ac",
4
+ "version": "4.3.1",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "exports": {
@@ -40,8 +40,8 @@
40
40
  "access": "public"
41
41
  },
42
42
  "dependencies": {
43
- "@argos-ci/api-client": "0.12.1-alpha.4+d1894ac",
44
- "@argos-ci/util": "3.1.2-alpha.4+d1894ac",
43
+ "@argos-ci/api-client": "0.12.0",
44
+ "@argos-ci/util": "3.1.1",
45
45
  "convict": "^6.2.4",
46
46
  "debug": "^4.4.3",
47
47
  "fast-glob": "^3.3.3",
@@ -65,5 +65,5 @@
65
65
  "lint": "eslint .",
66
66
  "test": "vitest"
67
67
  },
68
- "gitHead": "d1894acc62fb886d4673c88cc7e8cc95e81db78b"
68
+ "gitHead": "52596285b0c837a17b86503c5dfc0f1dfb9c295d"
69
69
  }