@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.
- 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
|
@@ -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.
|
|
13
|
-
const BUILD_COMMIT = "
|
|
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.
|
|
173
|
-
|
|
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();
|