sim 2.1.15-preview.119.1 → 2.1.16-preview.122.1
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/index.js +3 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20831,16 +20831,14 @@ function attachSecretCommands(program) {
|
|
|
20831
20831
|
}
|
|
20832
20832
|
// src/telemetry/transport.ts
|
|
20833
20833
|
import { spawn as spawn4 } from "node:child_process";
|
|
20834
|
-
var BUILT_IN_KEY = process.env.SIM_CLI_TELEMETRY_KEY;
|
|
20835
|
-
var BUILT_IN_HOST = process.env.SIM_CLI_TELEMETRY_HOST;
|
|
20836
|
-
var DEFAULT_INGEST_HOST = "https://us.i.posthog.com";
|
|
20837
20834
|
var CAPTURE_PATH = "/i/v0/e/";
|
|
20838
20835
|
var SEND_TIMEOUT_MS = 5000;
|
|
20839
20836
|
var PAYLOAD_VARIABLE = "SIM_TELEMETRY_CAPTURE";
|
|
20840
20837
|
function builtInIngestTarget() {
|
|
20841
|
-
|
|
20838
|
+
const key = "phc_UxlreRCQrBzVcGVzFX6UWtgjl9KmbdiPetqSAZdHS48";
|
|
20839
|
+
if (!key)
|
|
20842
20840
|
return;
|
|
20843
|
-
return { key
|
|
20841
|
+
return { key, host: "https://us.i.posthog.com" };
|
|
20844
20842
|
}
|
|
20845
20843
|
var SEND_SCRIPT = `
|
|
20846
20844
|
try {
|