@gooddata/code-cli 0.54.0-alpha.2 → 0.54.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.
Files changed (2) hide show
  1. package/dist/index.js +7 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -37370,7 +37370,7 @@ function isPromise(value) {
37370
37370
  //#endregion
37371
37371
  //#region package.json
37372
37372
  var name$1 = "@gooddata/code-cli";
37373
- var version$1 = "0.54.0-alpha.2";
37373
+ var version$1 = "0.54.0-alpha.3";
37374
37374
  //#endregion
37375
37375
  //#region ../../../common/temp/aac/node_modules/.pnpm/vscode-languageserver@8.1.0/node_modules/vscode-languageserver/lib/common/utils/is.js
37376
37376
  var require_is$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -161818,7 +161818,7 @@ async function open(state, emitter, file) {
161818
161818
  //#endregion
161819
161819
  //#region ../code/package.json
161820
161820
  var name = "@gooddata/code";
161821
- var version = "0.54.0-alpha.2";
161821
+ var version = "0.54.0-alpha.3";
161822
161822
  //#endregion
161823
161823
  //#region ../../../sdk/libs/api-client-tiger/src/axios.ts
161824
161824
  /**
@@ -161840,7 +161840,7 @@ const _CONFIG = {
161840
161840
  common: {
161841
161841
  "X-Requested-With": "XMLHttpRequest",
161842
161842
  "X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
161843
- "X-GDC-JS-PACKAGE-VERSION": "11.58.0-alpha.2"
161843
+ "X-GDC-JS-PACKAGE-VERSION": "11.58.0-alpha.3"
161844
161844
  },
161845
161845
  post: { "Content-Type": "application/json;charset=utf8" },
161846
161846
  put: { "Content-Type": "application/json;charset=utf8" }
@@ -194626,12 +194626,11 @@ async function getUserDetails(axios, id) {
194626
194626
  const firstName = user.data.attributes?.firstname;
194627
194627
  const lastName = user.data.attributes?.lastname;
194628
194628
  const email = user.data.attributes?.email;
194629
+ const name = [firstName, lastName].filter(Boolean).join(" ");
194629
194630
  return {
194630
- ...firstName && lastName && {
194631
- name: `${firstName} ${lastName}`,
194632
- firstName,
194633
- lastName
194634
- },
194631
+ ...name && { name },
194632
+ ...firstName && { firstName },
194633
+ ...lastName && { lastName },
194635
194634
  ...email && { email }
194636
194635
  };
194637
194636
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/code-cli",
3
- "version": "0.54.0-alpha.2",
3
+ "version": "0.54.0-alpha.3",
4
4
  "description": "GoodData CLI",
5
5
  "keywords": [
6
6
  "analytics",