@blaxel/core 0.2.54 → 0.2.55-preview.16

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.
@@ -3,8 +3,8 @@ import { authentication } from "../authentication/index.js";
3
3
  import { env } from "../common/env.js";
4
4
  import { fs, os, path } from "../common/node.js";
5
5
  // Build info - these placeholders are replaced at build time by build:replace-imports
6
- const BUILD_VERSION = "0.2.54";
7
- const BUILD_COMMIT = "36d148e9b7f9dd2134c772d954c8297b3c958ec3";
6
+ const BUILD_VERSION = "0.2.55-preview.16";
7
+ const BUILD_COMMIT = "9dadfd3a23d0581c40aae9b8a7da234c2425baeb";
8
8
  const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
9
9
  // Cache for config.yaml tracking value
10
10
  let configTrackingValue = null;
@@ -163,8 +163,9 @@ class Settings {
163
163
  }
164
164
  get tracking() {
165
165
  // Environment variable has highest priority
166
- if (env.BL_TRACKING !== undefined) {
167
- return env.BL_TRACKING === "true";
166
+ if (env.DO_NOT_TRACK !== undefined) {
167
+ // DO_NOT_TRACK has inverted semantics: true means tracking disabled
168
+ return env.DO_NOT_TRACK !== "true" && env.DO_NOT_TRACK !== "1";
168
169
  }
169
170
  // Then check config.yaml
170
171
  const configValue = getConfigTracking();