Change isDebug
to isDevelopment
This commit is contained in:
parent
c00379d7de
commit
b063577663
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ import { getApiUrl, inMemorySessionId, sendEvent, validateAppKey, type ZalvenaOp
|
|||
|
||||
// Session expires after 1 hour of inactivity
|
||||
const SESSION_TIMEOUT = 1 * 60 * 60;
|
||||
const sdkVersion = `aptabase-web@${process.env.PKG_VERSION}`;
|
||||
const sdkVersion = `Zalvena-web@${process.env.PKG_VERSION}`;
|
||||
|
||||
let _appKey = '';
|
||||
let _apiUrl: string | undefined;
|
||||
|
@ -27,7 +27,7 @@ export async function trackEvent(eventName: string, props?: Record<string, strin
|
|||
apiUrl: _apiUrl,
|
||||
sessionId,
|
||||
appKey: _appKey,
|
||||
isDebug: _options?.isDebug,
|
||||
isDevelopment: _options?.isDevelopment,
|
||||
appVersion: _options?.appVersion,
|
||||
sdkVersion,
|
||||
eventName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue