@dexto/analytics 1.5.7 → 1.5.8

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/dist/state.cjs CHANGED
@@ -37,9 +37,9 @@ var path = __toESM(require("path"), 1);
37
37
  var import_os = __toESM(require("os"), 1);
38
38
  var import_crypto = require("crypto");
39
39
  var import_module = require("module");
40
- var import_core = require("@dexto/core");
40
+ var import_path = require("@dexto/core/utils/path.js");
41
41
  const import_meta = {};
42
- const STATE_DIR = (0, import_core.getDextoGlobalPath)("telemetry");
42
+ const STATE_DIR = (0, import_path.getDextoGlobalPath)("telemetry");
43
43
  const STATE_FILE = path.join(STATE_DIR, "state.json");
44
44
  async function loadState() {
45
45
  try {
package/dist/state.js CHANGED
@@ -3,7 +3,7 @@ import * as path from "path";
3
3
  import os from "os";
4
4
  import { randomUUID, createHash } from "crypto";
5
5
  import { createRequire } from "module";
6
- import { getDextoGlobalPath } from "@dexto/core";
6
+ import { getDextoGlobalPath } from "@dexto/core/utils/path.js";
7
7
  const STATE_DIR = getDextoGlobalPath("telemetry");
8
8
  const STATE_FILE = path.join(STATE_DIR, "state.json");
9
9
  async function loadState() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexto/analytics",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -14,8 +14,8 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "node-machine-id": "^1.1.12",
17
- "@dexto/agent-management": "1.5.7",
18
- "@dexto/core": "1.5.7"
17
+ "@dexto/agent-management": "1.5.8",
18
+ "@dexto/core": "1.5.8"
19
19
  },
20
20
  "files": [
21
21
  "dist",