aurea-tracking-sdk 1.5.0 → 1.5.1
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.
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +21 -0
- package/dist/index.mjs +21 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -234,6 +234,21 @@ declare class AureaSDK {
|
|
|
234
234
|
* Get current event category statistics
|
|
235
235
|
*/
|
|
236
236
|
getCategoryStats(): Record<EventCategory, number>;
|
|
237
|
+
/**
|
|
238
|
+
* Get anonymous ID
|
|
239
|
+
* Returns the persistent identifier for this user across sessions
|
|
240
|
+
*/
|
|
241
|
+
getAnonymousId(): string;
|
|
242
|
+
/**
|
|
243
|
+
* Get session ID
|
|
244
|
+
* Returns the unique identifier for this browsing session
|
|
245
|
+
*/
|
|
246
|
+
getSessionId(): string;
|
|
247
|
+
/**
|
|
248
|
+
* Get user ID
|
|
249
|
+
* Returns the identified user ID if user has been identified
|
|
250
|
+
*/
|
|
251
|
+
getUserId(): string | undefined;
|
|
237
252
|
/**
|
|
238
253
|
* Get current funnel stage
|
|
239
254
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -234,6 +234,21 @@ declare class AureaSDK {
|
|
|
234
234
|
* Get current event category statistics
|
|
235
235
|
*/
|
|
236
236
|
getCategoryStats(): Record<EventCategory, number>;
|
|
237
|
+
/**
|
|
238
|
+
* Get anonymous ID
|
|
239
|
+
* Returns the persistent identifier for this user across sessions
|
|
240
|
+
*/
|
|
241
|
+
getAnonymousId(): string;
|
|
242
|
+
/**
|
|
243
|
+
* Get session ID
|
|
244
|
+
* Returns the unique identifier for this browsing session
|
|
245
|
+
*/
|
|
246
|
+
getSessionId(): string;
|
|
247
|
+
/**
|
|
248
|
+
* Get user ID
|
|
249
|
+
* Returns the identified user ID if user has been identified
|
|
250
|
+
*/
|
|
251
|
+
getUserId(): string | undefined;
|
|
237
252
|
/**
|
|
238
253
|
* Get current funnel stage
|
|
239
254
|
*/
|
package/dist/index.js
CHANGED
|
@@ -407,6 +407,27 @@ var AureaSDK = class {
|
|
|
407
407
|
getCategoryStats() {
|
|
408
408
|
return Object.fromEntries(this.eventCategoryStats);
|
|
409
409
|
}
|
|
410
|
+
/**
|
|
411
|
+
* Get anonymous ID
|
|
412
|
+
* Returns the persistent identifier for this user across sessions
|
|
413
|
+
*/
|
|
414
|
+
getAnonymousId() {
|
|
415
|
+
return this.anonymousId;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Get session ID
|
|
419
|
+
* Returns the unique identifier for this browsing session
|
|
420
|
+
*/
|
|
421
|
+
getSessionId() {
|
|
422
|
+
return this.sessionId;
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Get user ID
|
|
426
|
+
* Returns the identified user ID if user has been identified
|
|
427
|
+
*/
|
|
428
|
+
getUserId() {
|
|
429
|
+
return this.userId;
|
|
430
|
+
}
|
|
410
431
|
/**
|
|
411
432
|
* Get current funnel stage
|
|
412
433
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -378,6 +378,27 @@ var AureaSDK = class {
|
|
|
378
378
|
getCategoryStats() {
|
|
379
379
|
return Object.fromEntries(this.eventCategoryStats);
|
|
380
380
|
}
|
|
381
|
+
/**
|
|
382
|
+
* Get anonymous ID
|
|
383
|
+
* Returns the persistent identifier for this user across sessions
|
|
384
|
+
*/
|
|
385
|
+
getAnonymousId() {
|
|
386
|
+
return this.anonymousId;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* Get session ID
|
|
390
|
+
* Returns the unique identifier for this browsing session
|
|
391
|
+
*/
|
|
392
|
+
getSessionId() {
|
|
393
|
+
return this.sessionId;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Get user ID
|
|
397
|
+
* Returns the identified user ID if user has been identified
|
|
398
|
+
*/
|
|
399
|
+
getUserId() {
|
|
400
|
+
return this.userId;
|
|
401
|
+
}
|
|
381
402
|
/**
|
|
382
403
|
* Get current funnel stage
|
|
383
404
|
*/
|