ember-metrics
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -5,3 +5,3 @@ import config from '../config/environment'; | ||
const application = arguments[1] || arguments[0]; | ||
const { metricsAdapters = {} } = config; | ||
const { metricsAdapters = [] } = config; | ||
const { environment = 'development' } = config; | ||
@@ -8,0 +8,0 @@ const options = { metricsAdapters, environment }; |
{ | ||
"name": "ember-metrics", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Send data to multiple analytics integrations without re-implementing new API", | ||
@@ -5,0 +5,0 @@ "directories": { |
@@ -60,3 +60,3 @@ # ember-metrics | ||
name: 'GoogleAnalytics', | ||
environments: ['development', 'production'] | ||
environments: ['development', 'production'], | ||
config: { | ||
@@ -68,3 +68,3 @@ id: 'UA-XXXX-Y' | ||
name: 'Mixpanel', | ||
environments: ['production'] | ||
environments: ['production'], | ||
config: { | ||
@@ -76,3 +76,3 @@ token: '0f76c037-4d76-4fce-8a0f-a9a8f89d1453' | ||
name: 'Segment', | ||
environments: ['production'] | ||
environments: ['production'], | ||
config: { | ||
@@ -84,3 +84,3 @@ key: '4fce-8a0f-a9a8f89d1453' | ||
name: 'LocalAdapter', | ||
environments: ['all'] // default | ||
environments: ['all'], // default | ||
config: { | ||
@@ -87,0 +87,0 @@ foo: 'bar' |
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
33822