@availity/analytics-core 5.0.8 → 5.0.9

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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [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)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `@availity/api-axios` updated to version `5.0.8`
10
+
11
+
5
12
  ## [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
13
 
7
14
  ### 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 src_exports = {};
62
- __export(src_exports, {
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(src_exports);
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
- throw new Error("source_system is required");
280
- if (!contact)
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
- throw new Error("source_system is required");
243
- if (!contact)
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.8",
3
+ "version": "5.0.9",
4
4
  "description": "Analytics base configuration for sdk-js",
5
5
  "keywords": [
6
6
  "availity",
@@ -35,8 +35,8 @@
35
35
  "yup": "^0.32.11"
36
36
  },
37
37
  "devDependencies": {
38
- "@availity/api-axios": "10.0.0",
39
- "tsup": "^7.2.0",
38
+ "@availity/api-axios": "10.0.1",
39
+ "tsup": "^8.4.0",
40
40
  "typescript": "^5.5.4"
41
41
  },
42
42
  "publishConfig": {