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