@apimatic/cli 1.1.0-alpha.2 → 1.1.0-alpha.3

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.
@@ -14,7 +14,7 @@ const downloadPortalAxios = async (zippedBuildFilePath, overrideAuthKey, configD
14
14
  const authInfo = await auth_manager_1.getAuthInfo(configDir);
15
15
  formData.append("file", fs.createReadStream(zippedBuildFilePath));
16
16
  const config = {
17
- headers: Object.assign({ Authorization: authInfo || overrideAuthKey ? `X-Auth-Key ${(authInfo === null || authInfo === void 0 ? void 0 : authInfo.authKey.trim()) || overrideAuthKey}` : "" }, formData.getHeaders()),
17
+ headers: Object.assign({ Authorization: authInfo || overrideAuthKey ? `X-Auth-Key ${(authInfo === null || authInfo === void 0 ? void 0 : authInfo.authKey.trim()) || overrideAuthKey}` : "", "User-Agent": "APIMatic CLI" }, formData.getHeaders()),
18
18
  responseType: "arraybuffer"
19
19
  };
20
20
  const { data } = await axios_1.default.post(`${env_1.baseURL}/portal`, formData, config);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apimatic/cli",
3
3
  "description": "The official CLI for APIMatic.",
4
- "version": "1.1.0-alpha.2",
4
+ "version": "1.1.0-alpha.3",
5
5
  "author": "APIMatic",
6
6
  "bin": {
7
7
  "apimatic": "./bin/run"
@@ -43,7 +43,7 @@
43
43
  "lint:fix": "eslint --fix \"src/**/*.{js,ts}\" --quiet"
44
44
  },
45
45
  "dependencies": {
46
- "@apimatic/sdk": "^0.0.1-alpha.10",
46
+ "@apimatic/sdk": "^0.1.0-alpha.1",
47
47
  "@oclif/command": "^1.8.0",
48
48
  "@oclif/config": "^1.17.0",
49
49
  "@oclif/plugin-autocomplete": "^0.3.0",