@argos-ci/core 4.1.4 → 4.1.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -982,10 +982,10 @@ async function getConfigFromOptions({
982
982
  }) {
983
983
  return readConfig({
984
984
  ...options,
985
- parallel: Boolean(parallel),
986
- parallelNonce: parallel ? parallel.nonce : null,
987
- parallelTotal: parallel ? parallel.total : null,
988
- parallelIndex: parallel ? parallel.index : null
985
+ parallel: parallel !== void 0 ? Boolean(parallel) : void 0,
986
+ parallelNonce: parallel ? parallel.nonce : void 0,
987
+ parallelTotal: parallel ? parallel.total : void 0,
988
+ parallelIndex: parallel ? parallel.index : void 0
989
989
  });
990
990
  }
991
991
  async function uploadFilesToS3(files) {
@@ -1211,7 +1211,7 @@ async function upload(params) {
1211
1211
  import { createClient as createClient2, throwAPIError as throwAPIError2 } from "@argos-ci/api-client";
1212
1212
  async function finalize(params) {
1213
1213
  const config = await readConfig({
1214
- parallelNonce: params.parallel?.nonce ?? null
1214
+ parallelNonce: params.parallel?.nonce
1215
1215
  });
1216
1216
  const authToken = getAuthToken(config);
1217
1217
  const apiClient = createClient2({
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.1.4",
4
+ "version": "4.1.5",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "exports": {
@@ -64,5 +64,5 @@
64
64
  "lint": "eslint .",
65
65
  "test": "vitest"
66
66
  },
67
- "gitHead": "a1f55cdee00ce144eb5b0f7ef08e451867d0c129"
67
+ "gitHead": "a865ca5004133efd5bf86e866116afabe3c1a478"
68
68
  }