@sap-ux/telemetry 0.5.31 → 0.5.33

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.configAzureTelemetryClient = void 0;
3
+ exports.configAzureTelemetryClient = configAzureTelemetryClient;
4
4
  /**
5
5
  * Enable local caching of telemetry data when offline.
6
6
  * Disable GDPR private data that are collected by Azure AppInsight client.
@@ -17,5 +17,4 @@ function configAzureTelemetryClient(client) {
17
17
  return true;
18
18
  });
19
19
  }
20
- exports.configAzureTelemetryClient = configAzureTelemetryClient;
21
20
  //# sourceMappingURL=azure-client-config.js.map
@@ -3,7 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.spawnCommand = exports.getCommonProperties = exports.processToolsSuiteTelemetry = void 0;
6
+ exports.processToolsSuiteTelemetry = processToolsSuiteTelemetry;
7
+ exports.getCommonProperties = getCommonProperties;
8
+ exports.spawnCommand = spawnCommand;
7
9
  const btp_utils_1 = require("@sap-ux/btp-utils");
8
10
  const ui5_config_1 = require("@sap-ux/ui5-config");
9
11
  const axios_1 = __importDefault(require("axios"));
@@ -40,7 +42,6 @@ async function processToolsSuiteTelemetry(telemetryHelperProperties) {
40
42
  }
41
43
  return { ...commonProperties, ...appProperties };
42
44
  }
43
- exports.processToolsSuiteTelemetry = processToolsSuiteTelemetry;
44
45
  /**
45
46
  * Get common properties that related to Fiori project runtime environment.
46
47
  *
@@ -57,7 +58,6 @@ async function getCommonProperties() {
57
58
  commonProperties[types_1.CommonProperties.NodeVersion] = (await getProcessVersions()).node;
58
59
  return commonProperties;
59
60
  }
60
- exports.getCommonProperties = getCommonProperties;
61
61
  /**
62
62
  * Obtain dev space type from SBAS rest api.
63
63
  *
@@ -339,5 +339,4 @@ function spawnCommand(command, commandArgs) {
339
339
  });
340
340
  });
341
341
  }
342
- exports.spawnCommand = spawnCommand;
343
342
  //# sourceMappingURL=data-processor.js.map
@@ -3,7 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getTelemetrySetting = exports.setEnableTelemetry = exports.initTelemetrySettings = void 0;
6
+ exports.initTelemetrySettings = void 0;
7
+ exports.setEnableTelemetry = setEnableTelemetry;
8
+ exports.getTelemetrySetting = getTelemetrySetting;
7
9
  const reporting_1 = require("../base/utils/reporting");
8
10
  const store_1 = require("@sap-ux/store");
9
11
  const btp_utils_1 = require("@sap-ux/btp-utils");
@@ -145,7 +147,6 @@ async function setEnableTelemetry(enableTelemetry) {
145
147
  const commonProperties = await (0, data_processor_1.getCommonProperties)();
146
148
  (0, reporting_1.reportEnableTelemetryOnOff)(enableTelemetry, commonProperties);
147
149
  }
148
- exports.setEnableTelemetry = setEnableTelemetry;
149
150
  /**
150
151
  * Get telemetry settings.
151
152
  *
@@ -164,5 +165,4 @@ async function getTelemetrySetting() {
164
165
  }
165
166
  return setting;
166
167
  }
167
- exports.getTelemetrySetting = getTelemetrySetting;
168
168
  //# sourceMappingURL=telemetry-settings.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/telemetry",
3
- "version": "0.5.31",
3
+ "version": "0.5.33",
4
4
  "description": "Library for sending usage telemetry data",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,8 +18,8 @@
18
18
  "axios": "1.7.4",
19
19
  "performance-now": "2.1.0",
20
20
  "yaml": "2.3.3",
21
- "@sap-ux/store": "0.9.1",
22
- "@sap-ux/project-access": "1.27.5",
21
+ "@sap-ux/store": "0.9.2",
22
+ "@sap-ux/project-access": "1.27.6",
23
23
  "@sap-ux/btp-utils": "0.15.2",
24
24
  "@sap-ux/ui5-config": "0.25.0",
25
25
  "@sap-ux/logger": "0.6.0"
@@ -29,7 +29,7 @@
29
29
  "memfs": "3.4.13",
30
30
  "ts-jest": "29.1.2",
31
31
  "ts-node": "10.9.2",
32
- "typescript": "5.3.3",
32
+ "typescript": "5.6.2",
33
33
  "unionfs": "4.4.0",
34
34
  "dotenv": "16.3.1"
35
35
  },