@availity/analytics-core 5.0.8 → 5.0.10
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.
- package/CHANGELOG.md +14 -0
- package/dist/index.js +8 -15
- package/dist/index.mjs +5 -12
- package/package.json +11 -3
- package/project.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [5.0.10](https://github.com/Availity/sdk-js/compare/@availity/analytics-core@5.0.9...@availity/analytics-core@5.0.10) (2025-03-14)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `api-axios` updated to version `5.0.9`
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## [5.0.9](https://github.com/Availity/sdk-js/compare/@availity/analytics-core@5.0.8...@availity/analytics-core@5.0.9) (2025-03-10)
|
|
13
|
+
|
|
14
|
+
### Dependency Updates
|
|
15
|
+
|
|
16
|
+
* `@availity/api-axios` updated to version `5.0.8`
|
|
17
|
+
|
|
18
|
+
|
|
5
19
|
## [5.0.8](https://github.com/Availity/sdk-js/compare/@availity/analytics-core@5.0.7...@availity/analytics-core@5.0.8) (2025-02-10)
|
|
6
20
|
|
|
7
21
|
### Dependency Updates
|
package/dist/index.js
CHANGED
|
@@ -52,21 +52,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
52
52
|
mod
|
|
53
53
|
));
|
|
54
54
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
55
|
-
var __publicField = (obj, key, value) =>
|
|
56
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
57
|
-
return value;
|
|
58
|
-
};
|
|
55
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
59
56
|
|
|
60
57
|
// src/index.js
|
|
61
|
-
var
|
|
62
|
-
__export(
|
|
58
|
+
var index_exports = {};
|
|
59
|
+
__export(index_exports, {
|
|
63
60
|
AvAnalytics: () => AvAnalytics,
|
|
64
61
|
AvAnalyticsPlugin: () => AvAnalyticsPlugin,
|
|
65
62
|
AvDmaAnalytics: () => AvDmaAnalytics,
|
|
66
63
|
AvSplunkAnalytics: () => AvSplunkAnalytics,
|
|
67
64
|
AvTelemetryAnalytics: () => AvTelemetryAnalytics
|
|
68
65
|
});
|
|
69
|
-
module.exports = __toCommonJS(
|
|
66
|
+
module.exports = __toCommonJS(index_exports);
|
|
70
67
|
|
|
71
68
|
// src/util.js
|
|
72
69
|
var isLeftClickEvent = (event) => event.button === 0;
|
|
@@ -275,12 +272,9 @@ var AvTelemetryAnalytics = class extends AvAnalyticsPlugin {
|
|
|
275
272
|
constructor(AvLogMessages, enabled, source_system, contact, owner, sessionId) {
|
|
276
273
|
super(enabled);
|
|
277
274
|
this.AvLogMessages = AvLogMessages;
|
|
278
|
-
if (!source_system)
|
|
279
|
-
|
|
280
|
-
if (!
|
|
281
|
-
throw new Error("contact is required");
|
|
282
|
-
if (!owner)
|
|
283
|
-
throw new Error("owner is required");
|
|
275
|
+
if (!source_system) throw new Error("source_system is required");
|
|
276
|
+
if (!contact) throw new Error("contact is required");
|
|
277
|
+
if (!owner) throw new Error("owner is required");
|
|
284
278
|
this.source_system = source_system;
|
|
285
279
|
this.contact = contact;
|
|
286
280
|
this.owner = owner;
|
|
@@ -300,8 +294,7 @@ var AvTelemetryAnalytics = class extends AvAnalyticsPlugin {
|
|
|
300
294
|
entries: __spreadValues({}, properties)
|
|
301
295
|
}
|
|
302
296
|
};
|
|
303
|
-
if (payerId)
|
|
304
|
-
payload.payerId = payerId;
|
|
297
|
+
if (payerId) payload.payerId = payerId;
|
|
305
298
|
return this.AvLogMessages[payload.telemetryBody.level](payload);
|
|
306
299
|
}
|
|
307
300
|
trackPageView(url) {
|
package/dist/index.mjs
CHANGED
|
@@ -26,10 +26,7 @@ var __objRest = (source, exclude) => {
|
|
|
26
26
|
}
|
|
27
27
|
return target;
|
|
28
28
|
};
|
|
29
|
-
var __publicField = (obj, key, value) =>
|
|
30
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
31
|
-
return value;
|
|
32
|
-
};
|
|
29
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
33
30
|
|
|
34
31
|
// src/util.js
|
|
35
32
|
var isLeftClickEvent = (event) => event.button === 0;
|
|
@@ -238,12 +235,9 @@ var AvTelemetryAnalytics = class extends AvAnalyticsPlugin {
|
|
|
238
235
|
constructor(AvLogMessages, enabled, source_system, contact, owner, sessionId) {
|
|
239
236
|
super(enabled);
|
|
240
237
|
this.AvLogMessages = AvLogMessages;
|
|
241
|
-
if (!source_system)
|
|
242
|
-
|
|
243
|
-
if (!
|
|
244
|
-
throw new Error("contact is required");
|
|
245
|
-
if (!owner)
|
|
246
|
-
throw new Error("owner is required");
|
|
238
|
+
if (!source_system) throw new Error("source_system is required");
|
|
239
|
+
if (!contact) throw new Error("contact is required");
|
|
240
|
+
if (!owner) throw new Error("owner is required");
|
|
247
241
|
this.source_system = source_system;
|
|
248
242
|
this.contact = contact;
|
|
249
243
|
this.owner = owner;
|
|
@@ -263,8 +257,7 @@ var AvTelemetryAnalytics = class extends AvAnalyticsPlugin {
|
|
|
263
257
|
entries: __spreadValues({}, properties)
|
|
264
258
|
}
|
|
265
259
|
};
|
|
266
|
-
if (payerId)
|
|
267
|
-
payload.payerId = payerId;
|
|
260
|
+
if (payerId) payload.payerId = payerId;
|
|
268
261
|
return this.AvLogMessages[payload.telemetryBody.level](payload);
|
|
269
262
|
}
|
|
270
263
|
trackPageView(url) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/analytics-core",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.10",
|
|
4
4
|
"description": "Analytics base configuration for sdk-js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"availity",
|
|
@@ -21,6 +21,14 @@
|
|
|
21
21
|
"main": "./dist/index.js",
|
|
22
22
|
"module": "./dist/index.mjs",
|
|
23
23
|
"types": "./dist/index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
"./package.json": "./package.json",
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.mjs",
|
|
29
|
+
"require": "./dist/index.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
24
32
|
"engines": {
|
|
25
33
|
"node": "^18.0.0 || ^20.0.0"
|
|
26
34
|
},
|
|
@@ -35,8 +43,8 @@
|
|
|
35
43
|
"yup": "^0.32.11"
|
|
36
44
|
},
|
|
37
45
|
"devDependencies": {
|
|
38
|
-
"@availity/api-axios": "10.0.
|
|
39
|
-
"tsup": "^
|
|
46
|
+
"@availity/api-axios": "10.0.2",
|
|
47
|
+
"tsup": "^8.4.0",
|
|
40
48
|
"typescript": "^5.5.4"
|
|
41
49
|
},
|
|
42
50
|
"publishConfig": {
|
package/project.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "analytics-core",
|
|
3
3
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
4
4
|
"projectType": "library",
|
|
5
5
|
"targets": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"options": {
|
|
16
16
|
"preset": "angular",
|
|
17
17
|
"commitMessageFormat": "chore({projectName}): release version ${version} [skip ci]",
|
|
18
|
-
"tagPrefix": "{projectName}@",
|
|
18
|
+
"tagPrefix": "@availity/{projectName}@",
|
|
19
19
|
"baseBranch": "master",
|
|
20
20
|
"trackDeps": true
|
|
21
21
|
}
|