fix(ts-sdk): inject SDK version into telemetry at build time (#4897)

This commit is contained in:
Saket Aryan
2026-04-20 17:29:29 +05:30
committed by GitHub
parent 93da5ef8f7
commit 7b6790bafb
7 changed files with 15 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// @ts-nocheck
import type { TelemetryClient, TelemetryOptions } from "./telemetry.types";
let version = "2.1.36";
let version = __MEM0_SDK_VERSION__;
// Safely check for process.env in different environments
let MEM0_TELEMETRY = true;