@argos-ci/api-client 0.14.0 → 0.15.1-alpha.5

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/dist/index.d.ts CHANGED
@@ -303,6 +303,8 @@ interface operations {
303
303
  runAttempt?: number | null;
304
304
  /** @description Whether the build was skipped, not comparing anything and always succeeding */
305
305
  skipped?: boolean | null;
306
+ /** @description Whether the build has been created in a merge queue */
307
+ mergeQueue?: boolean | null;
306
308
  };
307
309
  };
308
310
  };
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ function isNetworkError(error) {
39
39
  return errorMessages.has(message);
40
40
  }
41
41
 
42
- // ../../node_modules/.pnpm/p-retry@7.1.0/node_modules/p-retry/index.js
42
+ // ../../node_modules/.pnpm/p-retry@7.1.1/node_modules/p-retry/index.js
43
43
  function validateRetries(retries) {
44
44
  if (typeof retries === "number") {
45
45
  if (retries < 0) {
@@ -131,6 +131,7 @@ async function onAttemptFailure({ error, attemptNumber, retriesConsumed, startTi
131
131
  }
132
132
  const delayTime = calculateDelay(retriesConsumed, options);
133
133
  const finalDelay = Math.min(delayTime, remainingTime);
134
+ options.signal?.throwIfAborted();
134
135
  if (finalDelay > 0) {
135
136
  await new Promise((resolve, reject) => {
136
137
  const onAbort = () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/api-client",
3
3
  "description": "Argos API Client library.",
4
- "version": "0.14.0",
4
+ "version": "0.15.1-alpha.5+4a513df",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -46,11 +46,11 @@
46
46
  "@types/debug": "^4.1.12",
47
47
  "@types/node": "catalog:",
48
48
  "openapi-typescript": "^7.10.1",
49
- "p-retry": "^7.1.0"
49
+ "p-retry": "^7.1.1"
50
50
  },
51
51
  "dependencies": {
52
52
  "debug": "^4.4.3",
53
53
  "openapi-fetch": "^0.15.0"
54
54
  },
55
- "gitHead": "fb54cf311b705f214041f18443352577be01e822"
55
+ "gitHead": "4a513dfc1b959dc5fb000ffb77d122c3096bf481"
56
56
  }