@firebase/analytics
Advanced tools
Comparing version 0.1.0-canary.37d150b to 0.1.0-canary.3a6995b
@@ -93,3 +93,3 @@ 'use strict'; | ||
function logEvent(gtagFunction, analyticsId, eventName, eventParams, options) { | ||
var params = eventParams; | ||
var params = eventParams || {}; | ||
if (!options || !options.global) { | ||
@@ -96,0 +96,0 @@ params = tslib_1.__assign({}, eventParams, { 'send_to': analyticsId }); |
@@ -87,3 +87,3 @@ import firebase from '@firebase/app'; | ||
function logEvent(gtagFunction, analyticsId, eventName, eventParams, options) { | ||
var params = eventParams; | ||
var params = eventParams || {}; | ||
if (!options || !options.global) { | ||
@@ -90,0 +90,0 @@ params = __assign({}, eventParams, { 'send_to': analyticsId }); |
@@ -86,3 +86,3 @@ import firebase from '@firebase/app'; | ||
function logEvent(gtagFunction, analyticsId, eventName, eventParams, options) { | ||
let params = eventParams; | ||
let params = eventParams || {}; | ||
if (!options || !options.global) { | ||
@@ -89,0 +89,0 @@ params = Object.assign({}, eventParams, { 'send_to': analyticsId }); |
@@ -25,3 +25,3 @@ /** | ||
*/ | ||
export declare function logEvent(gtagFunction: Gtag, analyticsId: string, eventName: string, eventParams: EventParams, options?: AnalyticsCallOptions): void; | ||
export declare function logEvent(gtagFunction: Gtag, analyticsId: string, eventName: string, eventParams?: EventParams, options?: AnalyticsCallOptions): void; | ||
/** | ||
@@ -28,0 +28,0 @@ * Set screen_name parameter for this Google Analytics ID. |
{ | ||
"name": "@firebase/analytics", | ||
"version": "0.1.0-canary.37d150b", | ||
"version": "0.1.0-canary.3a6995b", | ||
"description": "A analytics package for new firebase packages", | ||
@@ -22,9 +22,9 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"peerDependencies": { | ||
"@firebase/app": "0.4.18-canary.37d150b", | ||
"@firebase/app-types": "0.4.4-canary.37d150b" | ||
"@firebase/app": "0.4.18-canary.3a6995b", | ||
"@firebase/app-types": "0.4.4-canary.3a6995b" | ||
}, | ||
"dependencies": { | ||
"@firebase/analytics-types": "0.1.0-canary.37d150b", | ||
"@firebase/installations": "0.2.7-canary.37d150b", | ||
"@firebase/util": "0.2.28-canary.37d150b", | ||
"@firebase/analytics-types": "0.1.0-canary.3a6995b", | ||
"@firebase/installations": "0.2.7-canary.3a6995b", | ||
"@firebase/util": "0.2.28-canary.3a6995b", | ||
"tslib": "1.10.0" | ||
@@ -31,0 +31,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
165670
+ Added@firebase/analytics-types@0.1.0-canary.3a6995b(transitive)
+ Added@firebase/app@0.4.18-canary.3a6995b(transitive)
+ Added@firebase/app-types@0.4.4-canary.3a6995b(transitive)
+ Added@firebase/installations@0.2.7-canary.3a6995b(transitive)
+ Added@firebase/installations-types@0.1.2-canary.3a6995b(transitive)
+ Added@firebase/logger@0.1.25-canary.3a6995b(transitive)
+ Added@firebase/util@0.2.28-canary.3a6995b(transitive)
- Removed@firebase/analytics-types@0.1.0-canary.37d150b(transitive)
- Removed@firebase/app@0.4.18-canary.37d150b(transitive)
- Removed@firebase/app-types@0.4.4-canary.37d150b(transitive)
- Removed@firebase/installations@0.2.7-canary.37d150b(transitive)
- Removed@firebase/installations-types@0.1.2-canary.37d150b(transitive)
- Removed@firebase/logger@0.1.25-canary.37d150b(transitive)
- Removed@firebase/util@0.2.28-canary.37d150b(transitive)