@argos-ci/core 5.2.2-alpha.0 → 5.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.
package/dist/index.d.mts CHANGED
@@ -168,7 +168,6 @@ interface DeployParameters {
168
168
  prNumber?: number;
169
169
  /**
170
170
  * Deployment environment.
171
- * @default "preview"
172
171
  */
173
172
  environment?: "preview" | "production";
174
173
  }
package/dist/index.mjs CHANGED
@@ -996,10 +996,7 @@ async function uploadFile(input) {
996
996
  const file = await readFile(input.path);
997
997
  const response = await fetch(input.url, {
998
998
  method: "PUT",
999
- headers: {
1000
- "Content-Type": input.contentType,
1001
- "Content-Length": file.length.toString()
1002
- },
999
+ headers: { "Content-Type": input.contentType },
1003
1000
  signal: AbortSignal.timeout(3e4),
1004
1001
  body: new Uint8Array(file)
1005
1002
  });
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": "5.2.2-alpha.0+4f1cfa9",
4
+ "version": "5.3.1",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
@@ -39,8 +39,8 @@
39
39
  "access": "public"
40
40
  },
41
41
  "dependencies": {
42
- "@argos-ci/api-client": "0.18.1-alpha.0+4f1cfa9",
43
- "@argos-ci/util": "3.4.1-alpha.11+4f1cfa9",
42
+ "@argos-ci/api-client": "0.19.0",
43
+ "@argos-ci/util": "3.4.0",
44
44
  "convict": "^6.2.5",
45
45
  "debug": "^4.4.3",
46
46
  "fast-glob": "^3.3.3",
@@ -67,5 +67,5 @@
67
67
  "lint": "eslint .",
68
68
  "test": "vitest"
69
69
  },
70
- "gitHead": "4f1cfa9db40cef760779b553b622524abcf6b199"
70
+ "gitHead": "42a0f0da3b0ebae3e86f01a07cfdf5c320057f00"
71
71
  }