devtools-modules
Advanced tools
Comparing version 0.0.40 to 1.0.1
{ | ||
"name": "devtools-modules", | ||
"version": "0.0.40", | ||
"version": "1.0.1", | ||
"description": "DevTools Modules from M-C", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -175,8 +175,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public | ||
* | ||
* @param {String} category | ||
* The telemetry event category e.g. "devtools.main" | ||
* @param {Boolean} enabled | ||
* Enabled: true or false. | ||
*/ | ||
setEventRecordingEnabled(category, enabled) { | ||
setEventRecordingEnabled(enabled) { | ||
return enabled; | ||
@@ -195,5 +193,6 @@ } | ||
* | ||
* @param {String} category | ||
* The telemetry event category (a group name for events and helps to | ||
* avoid name conflicts) e.g. "devtools.main" | ||
* @param {Object} obj | ||
* The telemetry event or ping is associated with this object, meaning | ||
* that multiple events or pings for the same histogram may be run | ||
* concurrently, as long as they are associated with different objects. | ||
* @param {String} method | ||
@@ -216,3 +215,3 @@ * The telemetry event method (describes the type of event that | ||
*/ | ||
preparePendingEvent(category, method, object, value, expected = []) {} | ||
preparePendingEvent(obj, method, object, value, expected = []) {} | ||
@@ -224,5 +223,6 @@ /** | ||
* | ||
* @param {String} category | ||
* The telemetry event category (a group name for events and helps to | ||
* avoid name conflicts) e.g. "devtools.main" | ||
* @param {Object} obj | ||
* The telemetry event or ping is associated with this object, meaning | ||
* that multiple events or pings for the same histogram may be run | ||
* concurrently, as long as they are associated with different objects. | ||
* @param {String} method | ||
@@ -242,10 +242,3 @@ * The telemetry event method (describes the type of event that | ||
*/ | ||
addEventProperty( | ||
category, | ||
method, | ||
object, | ||
value, | ||
pendingPropName, | ||
pendingPropValue | ||
) {} | ||
addEventProperty(obj, method, object, value, pendingPropName, pendingPropValue) {} | ||
@@ -257,5 +250,6 @@ /** | ||
* | ||
* @param {String} category | ||
* The telemetry event category (a group name for events and helps to | ||
* avoid name conflicts) e.g. "devtools.main" | ||
* @param {Object} obj | ||
* The telemetry event or ping is associated with this object, meaning | ||
* that multiple events or pings for the same histogram may be run | ||
* concurrently, as long as they are associated with different objects. | ||
* @param {String} method | ||
@@ -274,3 +268,3 @@ * The telemetry event method (describes the type of event that | ||
*/ | ||
addEventProperties(category, method, object, value, pendingObject) {} | ||
addEventProperties(obj, method, object, value, pendingObject) {} | ||
@@ -282,5 +276,6 @@ /** | ||
* | ||
* @param {String} category | ||
* The telemetry event category (a group name for events and helps to | ||
* avoid name conflicts) e.g. "devtools.main" | ||
* @param {Object} obj | ||
* The telemetry event or ping is associated with this object, meaning | ||
* that multiple events or pings for the same histogram may be run | ||
* concurrently, as long as they are associated with different objects. | ||
* @param {String} method | ||
@@ -296,3 +291,3 @@ * The telemetry event method (describes the type of event that | ||
*/ | ||
_sendPendingEvent(category, method, object, value) {} | ||
_sendPendingEvent(obj, method, object, value) {} | ||
@@ -302,5 +297,2 @@ /** | ||
* | ||
* @param {String} category | ||
* The telemetry event category (a group name for events and helps to | ||
* avoid name conflicts) e.g. "devtools.main" | ||
* @param {String} method | ||
@@ -323,3 +315,3 @@ * The telemetry event method (describes the type of event that | ||
*/ | ||
recordEvent(category, method, object, value, extra) {} | ||
recordEvent(method, object, value, extra) {} | ||
@@ -331,4 +323,11 @@ /** | ||
* The ID of the tool opened. | ||
* @param {String} sessionId | ||
* Toolbox session id used when we need to ensure a tool really has a | ||
* timer before calculating a delta. | ||
* @param {Object} obj | ||
* The telemetry event or ping is associated with this object, meaning | ||
* that multiple events or pings for the same histogram may be run | ||
* concurrently, as long as they are associated with different objects. | ||
*/ | ||
toolOpened(id) {} | ||
toolOpened(id, sessionId, obj) {} | ||
@@ -341,5 +340,5 @@ /** | ||
*/ | ||
toolClosed(id) {} | ||
toolClosed(id, sessionId, obj) {} | ||
} | ||
module.exports = Telemetry; |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
121453
1
3019