@syntrologie/runtime-sdk 2.8.0-canary.85 → 2.8.0-canary.87

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.
@@ -3456,7 +3456,7 @@ function getAntiFlickerSnippet(config = {}) {
3456
3456
  }
3457
3457
 
3458
3458
  // src/version.ts
3459
- var SDK_VERSION = "2.8.0-canary.85";
3459
+ var SDK_VERSION = "2.8.0-canary.87";
3460
3460
 
3461
3461
  // src/types.ts
3462
3462
  var SDK_SCHEMA_VERSION = "2.0";
@@ -7785,8 +7785,10 @@ var PostHogAdapter = class {
7785
7785
  if (!options.apiKey) return;
7786
7786
  const enableFeatureFlags = (_a2 = options.enableFeatureFlags) != null ? _a2 : true;
7787
7787
  const instanceName = `syntro_${options.apiKey.slice(-6) || "sdk"}`;
7788
+ const baseHost = (_b = options.apiHost) != null ? _b : "https://telemetry.syntrologie.com";
7789
+ const apiHost = `${baseHost.replace(/\/$/, "")}/t/${options.apiKey}`;
7788
7790
  const initOptions = {
7789
- api_host: (_b = options.apiHost) != null ? _b : "https://telemetry.syntrologie.com",
7791
+ api_host: apiHost,
7790
7792
  // Feature flags for segment membership (in_segment_* flags)
7791
7793
  // When enabled, /decide is called to get segment flags
7792
7794
  advanced_disable_feature_flags: !enableFeatureFlags,
@@ -12470,4 +12472,4 @@ export {
12470
12472
  encodeToken,
12471
12473
  Syntro
12472
12474
  };
12473
- //# sourceMappingURL=chunk-ZBKYDPDN.js.map
12475
+ //# sourceMappingURL=chunk-LCTCJUAB.js.map