@sap-ux/telemetry 0.4.12 → 0.4.13

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.
@@ -76,7 +76,7 @@ function readEnableTelemetry(storeService) {
76
76
  content = yield fs_1.default.promises.readFile(deprecatedSettingPath, 'utf-8');
77
77
  const deprecatedSetting = JSON.parse(content);
78
78
  const propValues = deprecatedExtensionPropKeys.map((propKey) => { var _a; return ((_a = deprecatedSetting[propKey]) !== null && _a !== void 0 ? _a : true); });
79
- const deprecatedEnableTelemetrySetting = propValues.reduce((prevValue, currentValue) => prevValue && currentValue);
79
+ const deprecatedEnableTelemetrySetting = propValues.reduce((prevValue, currentValue) => prevValue && currentValue, true);
80
80
  yield setEnableTelemetry(deprecatedEnableTelemetrySetting);
81
81
  }
82
82
  catch (_b) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/telemetry",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "Library for sending usage telemetry data",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,8 +20,8 @@
20
20
  "yaml": "2.3.3",
21
21
  "@sap-ux/store": "0.5.0",
22
22
  "@sap-ux/project-access": "1.19.6",
23
- "@sap-ux/btp-utils": "0.14.3",
24
23
  "@sap-ux/ui5-config": "0.22.1",
24
+ "@sap-ux/btp-utils": "0.14.3",
25
25
  "@sap-ux/logger": "0.5.1"
26
26
  },
27
27
  "devDependencies": {