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