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
@@ -4,7 +4,7 @@ import type {
TelemetryEventData,
} from "./telemetry.types";
let version = "2.1.34";
let version = __MEM0_SDK_VERSION__;
// Safely check for process.env in different environments
let MEM0_TELEMETRY = true;