@loamly/tracker 2.1.0 → 2.1.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/README.md +4 -3
- package/dist/index.cjs +332 -119
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +332 -119
- package/dist/index.mjs.map +1 -1
- package/dist/loamly.iife.global.js +349 -122
- package/dist/loamly.iife.global.js.map +1 -1
- package/dist/loamly.iife.min.global.js +1 -1
- package/dist/loamly.iife.min.global.js.map +1 -1
- package/package.json +1 -1
- package/src/behavioral/form-tracker.ts +5 -0
- package/src/browser.ts +25 -6
- package/src/config.ts +1 -1
- package/src/core.ts +313 -101
- package/src/index.ts +1 -1
- package/src/infrastructure/event-queue.ts +58 -32
- package/src/infrastructure/ping.ts +19 -3
- package/src/types.ts +3 -0
package/dist/index.d.mts
CHANGED
|
@@ -67,6 +67,8 @@ declare function createAgenticAnalyzer(): AgenticBrowserAnalyzer;
|
|
|
67
67
|
interface LoamlyConfig {
|
|
68
68
|
/** Your Loamly API key (found in dashboard) */
|
|
69
69
|
apiKey?: string;
|
|
70
|
+
/** Workspace ID (required when using public tracker key) */
|
|
71
|
+
workspaceId?: string;
|
|
70
72
|
/** Custom API host (default: https://app.loamly.ai) */
|
|
71
73
|
apiHost?: string;
|
|
72
74
|
/** Enable debug mode for console logging */
|
|
@@ -270,7 +272,7 @@ declare function detectAIFromUTM(url: string): AIDetectionResult | null;
|
|
|
270
272
|
* @license MIT
|
|
271
273
|
* @see https://github.com/loamly/loamly
|
|
272
274
|
*/
|
|
273
|
-
declare const VERSION = "2.1.
|
|
275
|
+
declare const VERSION = "2.1.1";
|
|
274
276
|
/**
|
|
275
277
|
* Known AI platforms for referrer detection
|
|
276
278
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,8 @@ declare function createAgenticAnalyzer(): AgenticBrowserAnalyzer;
|
|
|
67
67
|
interface LoamlyConfig {
|
|
68
68
|
/** Your Loamly API key (found in dashboard) */
|
|
69
69
|
apiKey?: string;
|
|
70
|
+
/** Workspace ID (required when using public tracker key) */
|
|
71
|
+
workspaceId?: string;
|
|
70
72
|
/** Custom API host (default: https://app.loamly.ai) */
|
|
71
73
|
apiHost?: string;
|
|
72
74
|
/** Enable debug mode for console logging */
|
|
@@ -270,7 +272,7 @@ declare function detectAIFromUTM(url: string): AIDetectionResult | null;
|
|
|
270
272
|
* @license MIT
|
|
271
273
|
* @see https://github.com/loamly/loamly
|
|
272
274
|
*/
|
|
273
|
-
declare const VERSION = "2.1.
|
|
275
|
+
declare const VERSION = "2.1.1";
|
|
274
276
|
/**
|
|
275
277
|
* Known AI platforms for referrer detection
|
|
276
278
|
*/
|