@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.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/common/settings.js +5 -4
- package/dist/cjs-browser/.tsbuildinfo +1 -1
- package/dist/cjs-browser/common/settings.js +5 -4
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/common/settings.js +5 -4
- package/dist/esm-browser/.tsbuildinfo +1 -1
- package/dist/esm-browser/common/settings.js +5 -4
- package/package.json +1 -1
|
@@ -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.
|
|
7
|
-
const BUILD_COMMIT = "
|
|
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.
|
|
167
|
-
|
|
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();
|