swdc-tracker
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -71,4 +71,5 @@ "use strict"; | ||
tracker_api_host = result.data.tracker_api; | ||
e = emitter(tracker_api_host); | ||
e = emitter(tracker_api_host, 'https', null, 'post', 0); | ||
swdcTracker.spTracker = tracker([e], namespace, appId, false); | ||
swdcTracker.spTracker.setPlatform('iot'); | ||
if (env_helper_1.isTestMode()) { | ||
@@ -75,0 +76,0 @@ console.log('swdc-tracker test mode on. set env ENABLE_SWDC_TRACKER to "true" to send events'); |
{ | ||
"name": "swdc-tracker", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "swdc event tracker", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
@@ -32,2 +32,2 @@ import { UIElementInterface } from "../entities/ui_element"; | ||
export interface UIInteractionParams extends | ||
AuthInterface, PluginInterface, UIElementInterface, UIInteractionInterface { } | ||
AuthInterface, PluginInterface, UIElementInterface, UIInteractionInterface { } |
@@ -24,5 +24,6 @@ import { get } from "./utils/http"; | ||
// initialize snowplow tracker | ||
const e = emitter(tracker_api_host) | ||
const e = emitter(tracker_api_host, 'https', null, 'post', 0) | ||
swdcTracker.spTracker = tracker([e], namespace, appId, false) | ||
swdcTracker.spTracker.setPlatform('iot'); | ||
@@ -29,0 +30,0 @@ if (isTestMode()) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109554
2299