@firebase/analytics
Advanced tools
Comparing version 0.1.0-canary.84c1583 to 0.1.0-canary.983f88f
@@ -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.84c1583", | ||
"version": "0.1.0-canary.983f88f", | ||
"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.84c1583", | ||
"@firebase/app-types": "0.4.4-canary.84c1583" | ||
"@firebase/app": "0.4.18-canary.983f88f", | ||
"@firebase/app-types": "0.4.4-canary.983f88f" | ||
}, | ||
"dependencies": { | ||
"@firebase/analytics-types": "0.1.0-canary.84c1583", | ||
"@firebase/installations": "0.2.7-canary.84c1583", | ||
"@firebase/util": "0.2.28-canary.84c1583", | ||
"@firebase/analytics-types": "0.1.0-canary.983f88f", | ||
"@firebase/installations": "0.2.7-canary.983f88f", | ||
"@firebase/util": "0.2.28-canary.983f88f", | ||
"tslib": "1.10.0" | ||
@@ -34,13 +34,13 @@ }, | ||
"devDependencies": { | ||
"@types/chai": "4.2.0", | ||
"@types/chai": "4.2.3", | ||
"@types/mocha": "5.2.7", | ||
"@types/sinon": "7.0.13", | ||
"@typescript-eslint/parser": "2.0.0", | ||
"@typescript-eslint/eslint-plugin": "2.0.0", | ||
"@typescript-eslint/eslint-plugin-tslint": "2.0.0", | ||
"@types/sinon": "7.5.0", | ||
"@typescript-eslint/parser": "2.3.2", | ||
"@typescript-eslint/eslint-plugin": "2.3.2", | ||
"@typescript-eslint/eslint-plugin-tslint": "2.3.2", | ||
"chai": "4.2.0", | ||
"chai-as-promised": "7.1.1", | ||
"eslint": "5.16.0", | ||
"eslint": "6.5.1", | ||
"eslint-plugin-import": "2.18.2", | ||
"mocha": "6.2.0", | ||
"mocha": "6.2.1", | ||
"rollup-plugin-commonjs": "10.1.0", | ||
@@ -50,10 +50,10 @@ "rollup-plugin-json": "4.0.0", | ||
"rollup-plugin-uglify": "6.0.3", | ||
"sinon": "7.4.1", | ||
"sinon": "7.5.0", | ||
"sinon-chai": "3.3.0", | ||
"npm-run-all": "4.1.5", | ||
"nyc": "14.1.1", | ||
"rollup": "1.20.3", | ||
"ts-loader": "6.0.4", | ||
"rollup": "1.22.0", | ||
"ts-loader": "6.2.0", | ||
"typescript": "3.5.3", | ||
"webpack": "4.39.3" | ||
"webpack": "4.41.0" | ||
}, | ||
@@ -60,0 +60,0 @@ "repository": { |
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
169761
20
1874
+ Added@firebase/analytics-types@0.1.0-canary.983f88f(transitive)
+ Added@firebase/app@0.4.18-canary.983f88f(transitive)
+ Added@firebase/app-types@0.4.4-canary.983f88f(transitive)
+ Added@firebase/installations@0.2.7-canary.983f88f(transitive)
+ Added@firebase/installations-types@0.1.2-canary.983f88f(transitive)
+ Added@firebase/logger@0.1.25-canary.983f88f(transitive)
+ Added@firebase/util@0.2.28-canary.983f88f(transitive)
- Removed@firebase/analytics-types@0.1.0-canary.84c1583(transitive)
- Removed@firebase/app@0.4.18-canary.84c1583(transitive)
- Removed@firebase/app-types@0.4.4-canary.84c1583(transitive)
- Removed@firebase/installations@0.2.7-canary.84c1583(transitive)
- Removed@firebase/installations-types@0.1.2-canary.84c1583(transitive)
- Removed@firebase/logger@0.1.25-canary.84c1583(transitive)
- Removed@firebase/util@0.2.28-canary.84c1583(transitive)