Skip to content

Commit a3ca46a

Browse files
update sdk to newer version and update user-agent headers (#377)
1 parent e843f0b commit a3ca46a

File tree

5 files changed

+33
-14
lines changed

5 files changed

+33
-14
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,3 @@ Options:
5353

5454
## Documentation
5555
For more information please visit the official <a href="http://cli.codefresh.io" target="_blank">CLI documentation</a> site.
56-
57-

lib/interface/cli/commad-line-interface.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ async function startCommandLine() {
2222
timeout: PROCESS_ARGV.requestTimeout,
2323
headers: {
2424
'User-Agent': `codefresh-cli-v${version}`,
25-
'Codefresh-Agent': 'cli',
25+
'Codefresh-User-Agent-Type': 'cli',
26+
'Codefresh-User-Agent-Version': version,
2627
},
2728
}, cliConfig.request),
2829
};

openapi.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -7089,7 +7089,15 @@
70897089
},
70907090
"/user/firebaseAuth": {
70917091
"get": {
7092-
"parameters": [],
7092+
"parameters": [
7093+
{
7094+
"in": "query",
7095+
"name": "progressId",
7096+
"schema": {
7097+
"type": "string"
7098+
}
7099+
}
7100+
],
70937101
"responses": {
70947102
"200": {
70957103
"description": "token"

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.37.6",
3+
"version": "0.39.0",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,
@@ -36,8 +36,8 @@
3636
"bluebird": "^3.5.1",
3737
"cf-errors": "^0.1.11",
3838
"chalk": "^1.1.3",
39-
"codefresh-sdk": "^1.0.5",
4039
"cli-progress": "^1.6.1",
40+
"codefresh-sdk": "1.4.0",
4141
"colors": "^1.1.2",
4242
"columnify": "^1.5.4",
4343
"compare-versions": "^3.4.0",

yarn.lock

+20-8
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,13 @@ cf-errors@^0.1.11:
834834
dependencies:
835835
lodash "4.15.0"
836836

837+
cf-errors@^0.1.12:
838+
version "0.1.12"
839+
resolved "https://registry.yarnpkg.com/cf-errors/-/cf-errors-0.1.12.tgz#5cfa68a68bb42cb21facf287846200fa2bc7e6bc"
840+
integrity sha512-qk0rk3DV4yr62ntTZHQBEvh030Rs43IZckl9n8nLpMQTQ9TXqjO7v6P5pBoYULWw1Wp9SmXfvHkbGwmG+7fsfw==
841+
dependencies:
842+
lodash "4.17.15"
843+
837844
[email protected], chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
838845
version "1.1.3"
839846
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
@@ -1004,22 +1011,22 @@ code-point-at@^1.0.0:
10041011
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
10051012
integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=
10061013

1007-
codefresh-sdk@^1.0.5:
1008-
version "1.1.0"
1009-
resolved "https://registry.yarnpkg.com/codefresh-sdk/-/codefresh-sdk-1.1.0.tgz#c691834d721ed3be3ca49b62106acd76c89920cb"
1010-
integrity sha512-+fQp4V6aii9JulNwCx0XB9z5gYfI2hcMUbaBh4Ngzb4d+WeZWM20P+6TEGqjycvq9sKNBPliUlXNhcBRSVRE5w==
1014+
codefresh-sdk@1.4.0:
1015+
version "1.4.0"
1016+
resolved "https://registry.yarnpkg.com/codefresh-sdk/-/codefresh-sdk-1.4.0.tgz#61262d61bbf6b9c3c4b9cb44036bad7fe6605904"
1017+
integrity sha512-8zDXZ5x9zan5p7NrDI8i7iaUp6DTjaHfZ17VDQfF8xmTiQHaHioL+p0NRop+YM77pPs75CxwXii4rTcvC7ddqg==
10111018
dependencies:
10121019
bluebird "^3.5.3"
1013-
cf-errors "^0.1.11"
1020+
cf-errors "^0.1.12"
10141021
compare-versions "^3.4.0"
10151022
debug "^4.1.1"
10161023
decompress "^4.2.0"
10171024
decompress-targz "^4.1.1"
10181025
firebase "git+https://github.com/codefresh-io/firebase.git#80b2ed883ff281cd67b53bd0f6a0bbd6f330fed5"
10191026
fs-extra "^7.0.1"
1020-
js-yaml "^3.12.1"
1027+
js-yaml "^3.13.1"
10211028
jsonwebtoken "^8.4.0"
1022-
lodash "^4.17.11"
1029+
lodash "^4.17.15"
10231030
moment "^2.24.0"
10241031
recursive-readdir "^2.2.2"
10251032
request "^2.88.0"
@@ -3505,7 +3512,7 @@ js-tokens@^3.0.2:
35053512
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
35063513
integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls=
35073514

3508-
js-yaml@^3.10.0, js-yaml@^3.12.1, js-yaml@^3.7.0, js-yaml@^3.9.1:
3515+
js-yaml@^3.10.0, js-yaml@^3.13.1, js-yaml@^3.7.0, js-yaml@^3.9.1:
35093516
version "3.13.1"
35103517
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
35113518
integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==
@@ -3839,6 +3846,11 @@ [email protected]:
38393846
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.15.0.tgz#3162391d8f0140aa22cf8f6b3c34d6b7f63d3aa9"
38403847
integrity sha1-MWI5HY8BQKoiz49rPDTWt/Y9Oqk=
38413848

3849+
[email protected], lodash@^4.17.15:
3850+
version "4.17.15"
3851+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
3852+
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
3853+
38423854
38433855
version "4.17.4"
38443856
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"

0 commit comments

Comments
 (0)