@zenstackhq/cli 3.8.0-beta.1 → 3.8.0-beta.2

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/index.mjs CHANGED
@@ -31,7 +31,7 @@ import { RPCApiHandler } from "@zenstackhq/server/api";
31
31
  import { ZenStackMiddleware } from "@zenstackhq/server/express";
32
32
  import cors from "cors";
33
33
  import express from "express";
34
- import { init } from "mixpanel";
34
+ import "mixpanel";
35
35
  import * as os$1 from "os";
36
36
  import process$1, { env } from "node:process";
37
37
  import os from "node:os";
@@ -3193,9 +3193,6 @@ function startServer(client, schema, options) {
3193
3193
  });
3194
3194
  }
3195
3195
  //#endregion
3196
- //#region src/constants.ts
3197
- const TELEMETRY_TRACKING_TOKEN = "<TELEMETRY_TRACKING_TOKEN>";
3198
- //#endregion
3199
3196
  //#region src/utils/is-ci.ts
3200
3197
  const isInCi = env["CI"] !== "0" && env["CI"] !== "false" && ("CI" in env || "CONTINUOUS_INTEGRATION" in env || Object.keys(env).some((key) => key.startsWith("CI_")));
3201
3198
  //#endregion
@@ -3304,9 +3301,7 @@ var Telemetry = class {
3304
3301
  isWsl = isWsl();
3305
3302
  isContainer = isInContainer();
3306
3303
  isCi = isInCi;
3307
- constructor() {
3308
- if (process.env["DO_NOT_TRACK"] !== "1" && "<TELEMETRY_TRACKING_TOKEN>") this.mixpanel = init(TELEMETRY_TRACKING_TOKEN, { geolocate: true });
3309
- }
3304
+ constructor() {}
3310
3305
  get isTracking() {
3311
3306
  return !!this.mixpanel;
3312
3307
  }