@sap-ux/telemetry 0.2.3 → 0.2.5

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.
@@ -52,7 +52,7 @@ class ApplicationInsightClient extends client_1.Client {
52
52
  constructor(applicationKey, extensionName, extensionVersion) {
53
53
  super();
54
54
  this.clients = new Map();
55
- super.applicationKey = applicationKey;
55
+ this.applicationKey = applicationKey;
56
56
  this.extensionVersion = extensionVersion;
57
57
  this.extensionName = extensionName;
58
58
  const clientOnePercent = this.createTelemetryClient(sample_rate_1.SampleRate.OnePercent);
@@ -40,7 +40,7 @@ var InterceptorTypes;
40
40
  * Captures specified in paramCaptureConfig parameter of decorated method.
41
41
  */
42
42
  InterceptorTypes["CAPTURE_PARAM"] = "captureParam";
43
- })(InterceptorTypes = exports.InterceptorTypes || (exports.InterceptorTypes = {}));
43
+ })(InterceptorTypes || (exports.InterceptorTypes = InterceptorTypes = {}));
44
44
  const interceptorTypesMapping = new Map();
45
45
  exports.interceptorTypesMapping = interceptorTypesMapping;
46
46
  interceptorTypesMapping.set(InterceptorTypes.NOTIFICATION, interceptors.notify);
@@ -6,8 +6,7 @@ var EntryType;
6
6
  EntryType["START_MARK"] = "START_MARK";
7
7
  EntryType["END_MARK"] = "END_MARK";
8
8
  EntryType["MEASUREMENT"] = "MEASUREMENT";
9
- })(EntryType || (EntryType = {}));
10
- exports.EntryType = EntryType;
9
+ })(EntryType || (exports.EntryType = EntryType = {}));
11
10
  /**
12
11
  *
13
12
  */
@@ -6,5 +6,5 @@ var EventName;
6
6
  EventName["Test"] = "test";
7
7
  EventName["TELEMETRY_SETTINGS_INIT_FAILED"] = "TELEMETRY_SETTINGS_INIT_FAILED";
8
8
  EventName["DISABLE_TELEMETRY"] = "DISABLE_TELEMETRY";
9
- })(EventName = exports.EventName || (exports.EventName = {}));
9
+ })(EventName || (exports.EventName = EventName = {}));
10
10
  //# sourceMappingURL=event-name.js.map
@@ -6,5 +6,5 @@ var SampleRate;
6
6
  SampleRate[SampleRate["OnePercent"] = 0] = "OnePercent";
7
7
  SampleRate[SampleRate["TenPercent"] = 1] = "TenPercent";
8
8
  SampleRate[SampleRate["NoSampling"] = 2] = "NoSampling";
9
- })(SampleRate = exports.SampleRate || (exports.SampleRate = {}));
9
+ })(SampleRate || (exports.SampleRate = SampleRate = {}));
10
10
  //# sourceMappingURL=sample-rate.js.map
@@ -5,21 +5,21 @@ var ToolsId;
5
5
  (function (ToolsId) {
6
6
  ToolsId["UNKNOWN"] = "UNKNOWN";
7
7
  ToolsId["NO_TOOLS_ID"] = "NO_TOOLS_ID";
8
- })(ToolsId = exports.ToolsId || (exports.ToolsId = {}));
8
+ })(ToolsId || (exports.ToolsId = ToolsId = {}));
9
9
  var ODataSource;
10
10
  (function (ODataSource) {
11
11
  ODataSource["CAPJava"] = "CAPJava";
12
12
  ODataSource["CAPNode"] = "CAPNode";
13
13
  ODataSource["ABAP"] = "ABAP";
14
14
  ODataSource["UNKNOWN"] = "UNKNOWN";
15
- })(ODataSource = exports.ODataSource || (exports.ODataSource = {}));
15
+ })(ODataSource || (exports.ODataSource = ODataSource = {}));
16
16
  var DeployTarget;
17
17
  (function (DeployTarget) {
18
18
  DeployTarget["CF"] = "CF";
19
19
  DeployTarget["ABAP"] = "ABAP";
20
20
  DeployTarget["UNKNOWN_DEPLOY_CONFIG"] = "UNKNOWN_DEPLOY_CONFIG";
21
21
  DeployTarget["NO_DEPLOY_CONFIG"] = "NO_DEPLOY_CONFIG";
22
- })(DeployTarget = exports.DeployTarget || (exports.DeployTarget = {}));
22
+ })(DeployTarget || (exports.DeployTarget = DeployTarget = {}));
23
23
  var CommonProperties;
24
24
  (function (CommonProperties) {
25
25
  CommonProperties["DevSpace"] = "cmn.devspace";
@@ -36,5 +36,5 @@ var CommonProperties;
36
36
  CommonProperties["TemplateId"] = "cmn.templateId";
37
37
  CommonProperties["TemplateVersion"] = "cmn.templateVersion";
38
38
  CommonProperties["ApplicationType"] = "cmn.applicationType";
39
- })(CommonProperties = exports.CommonProperties || (exports.CommonProperties = {}));
39
+ })(CommonProperties || (exports.CommonProperties = CommonProperties = {}));
40
40
  //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/telemetry",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Library for sending usage telemetry data",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,18 +19,18 @@
19
19
  "axios": "1.6.0",
20
20
  "performance-now": "2.1.0",
21
21
  "yaml": "2.3.3",
22
- "@sap-ux/store": "0.4.0",
22
+ "@sap-ux/store": "0.4.2",
23
23
  "@sap-ux/project-access": "1.17.0",
24
24
  "@sap-ux/btp-utils": "0.13.0",
25
25
  "@sap-ux/ui5-config": "0.21.0",
26
- "@sap-ux/logger": "0.4.0"
26
+ "@sap-ux/logger": "0.5.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "jest-extended": "3.2.4",
30
30
  "memfs": "3.4.13",
31
- "ts-jest": "29.1.1",
32
- "ts-node": "8.5.2",
33
- "typescript": "4.9.5",
31
+ "ts-jest": "29.1.2",
32
+ "ts-node": "10.9.2",
33
+ "typescript": "5.3.3",
34
34
  "unionfs": "4.4.0",
35
35
  "dotenv": "16.3.1"
36
36
  },