@sisense/sdk-cli 1.12.0 → 1.14.0

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.
@@ -70,7 +70,9 @@ async function retrieveDataFields(queryClient, dataSourceTitle) {
70
70
  try {
71
71
  // get the schema of the data source to add descriptions to the fields
72
72
  const dataSourceSchema = await queryClient.getDataSourceSchema(dataSourceTitle);
73
- return addDescriptionToFields(fields, dataSourceSchema.datasets);
73
+ return dataSourceSchema?.datasets
74
+ ? addDescriptionToFields(fields, dataSourceSchema.datasets)
75
+ : fields;
74
76
  }
75
77
  catch (error) {
76
78
  if (error.status === '403') {
@@ -1 +1 @@
1
- export declare const PKG_VERSION = "1.12.0";
1
+ export declare const PKG_VERSION = "1.14.0";
@@ -1 +1 @@
1
- export const PKG_VERSION = "1.12.0";
1
+ export const PKG_VERSION = "1.14.0";
package/dist/tracking.js CHANGED
@@ -11,5 +11,5 @@ export const trackExecution = (httpClient, commandName, args) => {
11
11
  .join(', '),
12
12
  };
13
13
  const action = TrackingActions.Execution;
14
- void trackProductEvent(action, payload, httpClient).catch((e) => console.log(`An error occurred when sending the ${action} event`, e));
14
+ trackProductEvent(action, payload, httpClient);
15
15
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "1.12.0",
14
+ "version": "1.14.0",
15
15
  "type": "module",
16
16
  "exports": "./dist/index.js",
17
17
  "main": "./dist/index.js",
@@ -20,12 +20,12 @@
20
20
  "license": "SEE LICENSE IN LICENSE.md",
21
21
  "bin": "./dist/index.js",
22
22
  "dependencies": {
23
- "@sisense/sdk-common": "^1.12.0",
24
- "@sisense/sdk-data": "^1.12.0",
25
- "@sisense/sdk-modeling": "^1.12.0",
26
- "@sisense/sdk-query-client": "^1.12.0",
27
- "@sisense/sdk-rest-client": "^1.12.0",
28
- "@sisense/sdk-tracking": "^1.12.0",
23
+ "@sisense/sdk-common": "^1.14.0",
24
+ "@sisense/sdk-data": "^1.14.0",
25
+ "@sisense/sdk-modeling": "^1.14.0",
26
+ "@sisense/sdk-query-client": "^1.14.0",
27
+ "@sisense/sdk-rest-client": "^1.14.0",
28
+ "@sisense/sdk-tracking": "^1.14.0",
29
29
  "cross-fetch": "^4.0.0",
30
30
  "inquirer": "^8.1.2",
31
31
  "js-levenshtein": "^1.1.6",