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
|
// Session expires after 1 hour of inactivity
|
||||||
const SESSION_TIMEOUT = 1 * 60 * 60;
|
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 _appKey = '';
|
||||||
let _apiUrl: string | undefined;
|
let _apiUrl: string | undefined;
|
||||||
|
@ -27,7 +27,7 @@ export async function trackEvent(eventName: string, props?: Record<string, strin
|
||||||
apiUrl: _apiUrl,
|
apiUrl: _apiUrl,
|
||||||
sessionId,
|
sessionId,
|
||||||
appKey: _appKey,
|
appKey: _appKey,
|
||||||
isDebug: _options?.isDebug,
|
isDevelopment: _options?.isDevelopment,
|
||||||
appVersion: _options?.appVersion,
|
appVersion: _options?.appVersion,
|
||||||
sdkVersion,
|
sdkVersion,
|
||||||
eventName,
|
eventName,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue