@firebase/analytics
Advanced tools
Comparing version 0.1.0-canary.458db5f to 0.1.0-canary.5beb23c
@@ -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.458db5f", | ||
"version": "0.1.0-canary.5beb23c", | ||
"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.458db5f", | ||
"@firebase/app-types": "0.4.4-canary.458db5f" | ||
"@firebase/app": "0.4.18-canary.5beb23c", | ||
"@firebase/app-types": "0.4.4-canary.5beb23c" | ||
}, | ||
"dependencies": { | ||
"@firebase/analytics-types": "0.1.0-canary.458db5f", | ||
"@firebase/installations": "0.2.7-canary.458db5f", | ||
"@firebase/util": "0.2.28-canary.458db5f", | ||
"@firebase/analytics-types": "0.1.0-canary.5beb23c", | ||
"@firebase/installations": "0.2.7-canary.5beb23c", | ||
"@firebase/util": "0.2.28-canary.5beb23c", | ||
"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.5beb23c(transitive)
+ Added@firebase/app@0.4.18-canary.5beb23c(transitive)
+ Added@firebase/app-types@0.4.4-canary.5beb23c(transitive)
+ Added@firebase/installations@0.2.7-canary.5beb23c(transitive)
+ Added@firebase/installations-types@0.1.2-canary.5beb23c(transitive)
+ Added@firebase/logger@0.1.25-canary.5beb23c(transitive)
+ Added@firebase/util@0.2.28-canary.5beb23c(transitive)
- Removed@firebase/analytics-types@0.1.0-canary.458db5f(transitive)
- Removed@firebase/app@0.4.18-canary.458db5f(transitive)
- Removed@firebase/app-types@0.4.4-canary.458db5f(transitive)
- Removed@firebase/installations@0.2.7-canary.458db5f(transitive)
- Removed@firebase/installations-types@0.1.2-canary.458db5f(transitive)
- Removed@firebase/logger@0.1.25-canary.458db5f(transitive)
- Removed@firebase/util@0.2.28-canary.458db5f(transitive)