@blaxel/core 0.2.54-preview.14 → 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.
@@ -9,8 +9,8 @@ const index_js_1 = require("../authentication/index.js");
9
9
  const env_js_1 = require("../common/env.js");
10
10
  const node_js_1 = require("../common/node.js");
11
11
  // Build info - these placeholders are replaced at build time by build:replace-imports
12
- const BUILD_VERSION = "0.2.54-preview.14";
13
- const BUILD_COMMIT = "36d148e9b7f9dd2134c772d954c8297b3c958ec3";
12
+ const BUILD_VERSION = "0.2.55-preview.16";
13
+ const BUILD_COMMIT = "9dadfd3a23d0581c40aae9b8a7da234c2425baeb";
14
14
  const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
15
15
  // Cache for config.yaml tracking value
16
16
  let configTrackingValue = null;
@@ -169,8 +169,9 @@ class Settings {
169
169
  }
170
170
  get tracking() {
171
171
  // Environment variable has highest priority
172
- if (env_js_1.env.BL_TRACKING !== undefined) {
173
- return env_js_1.env.BL_TRACKING === "true";
172
+ if (env_js_1.env.DO_NOT_TRACK !== undefined) {
173
+ // DO_NOT_TRACK has inverted semantics: true means tracking disabled
174
+ return env_js_1.env.DO_NOT_TRACK !== "true" && env_js_1.env.DO_NOT_TRACK !== "1";
174
175
  }
175
176
  // Then check config.yaml
176
177
  const configValue = getConfigTracking();