@vm0/cli 9.140.5 → 9.140.6
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.
|
@@ -74083,7 +74083,7 @@ if (DSN) {
|
|
|
74083
74083
|
init2({
|
|
74084
74084
|
dsn: DSN,
|
|
74085
74085
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
74086
|
-
release: "9.140.
|
|
74086
|
+
release: "9.140.6",
|
|
74087
74087
|
sendDefaultPii: false,
|
|
74088
74088
|
tracesSampleRate: 0,
|
|
74089
74089
|
shutdownTimeout: 500,
|
|
@@ -74102,7 +74102,7 @@ if (DSN) {
|
|
|
74102
74102
|
}
|
|
74103
74103
|
});
|
|
74104
74104
|
setContext("cli", {
|
|
74105
|
-
version: "9.140.
|
|
74105
|
+
version: "9.140.6",
|
|
74106
74106
|
command: process.argv.slice(2).join(" ")
|
|
74107
74107
|
});
|
|
74108
74108
|
setContext("runtime", {
|
|
@@ -120079,11 +120079,12 @@ var FEATURE_SWITCHES = {
|
|
|
120079
120079
|
["idbMessage" /* IdbMessage */]: {
|
|
120080
120080
|
maintainer: "ethan@vm0.ai",
|
|
120081
120081
|
description: "Cache chat thread messages in IndexedDB for instant cold open. When off, every thread open fetches messages from the server.",
|
|
120082
|
-
enabled: false
|
|
120082
|
+
enabled: false,
|
|
120083
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
120083
120084
|
}
|
|
120084
120085
|
};
|
|
120085
120086
|
function isFeatureEnabled(key, ctx) {
|
|
120086
|
-
const override = ctx
|
|
120087
|
+
const override = ctx.overrides?.[key];
|
|
120087
120088
|
if (override !== void 0) {
|
|
120088
120089
|
return override;
|
|
120089
120090
|
}
|
|
@@ -120091,15 +120092,15 @@ function isFeatureEnabled(key, ctx) {
|
|
|
120091
120092
|
if (featureSwitch.enabled) {
|
|
120092
120093
|
return true;
|
|
120093
120094
|
}
|
|
120094
|
-
if (ctx
|
|
120095
|
+
if (ctx.userId && featureSwitch.enabledUserHashes?.length) {
|
|
120095
120096
|
if (featureSwitch.enabledUserHashes.includes(fnv1a(ctx.userId)))
|
|
120096
120097
|
return true;
|
|
120097
120098
|
}
|
|
120098
|
-
if (ctx
|
|
120099
|
+
if (ctx.email && featureSwitch.enabledEmailHashes?.length) {
|
|
120099
120100
|
if (featureSwitch.enabledEmailHashes.includes(fnv1a(ctx.email.toLowerCase())))
|
|
120100
120101
|
return true;
|
|
120101
120102
|
}
|
|
120102
|
-
if (ctx
|
|
120103
|
+
if (ctx.orgId && featureSwitch.enabledOrgIdHashes?.length) {
|
|
120103
120104
|
if (featureSwitch.enabledOrgIdHashes.includes(fnv1a(ctx.orgId)))
|
|
120104
120105
|
return true;
|
|
120105
120106
|
}
|
|
@@ -121456,4 +121457,4 @@ undici/lib/web/fetch/body.js:
|
|
|
121456
121457
|
undici/lib/web/websocket/frame.js:
|
|
121457
121458
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
121458
121459
|
*/
|
|
121459
|
-
//# sourceMappingURL=chunk-
|
|
121460
|
+
//# sourceMappingURL=chunk-V4YLSCV6.js.map
|