@firebase/performance 0.6.8 → 0.6.9-canary.1c8dbee46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,7 +54,7 @@ export declare class Trace implements PerformanceTrace {
54
54
  * Records a trace with predetermined values. If this method is used a trace is created and logged
55
55
  * directly. No need to use start and stop methods.
56
56
  * @param startTime Trace start time since epoch in millisec
57
- * @param duration The duraction of the trace in millisec
57
+ * @param duration The duration of the trace in millisec
58
58
  * @param options An object which can optionally hold maps of custom metrics and custom attributes
59
59
  */
60
60
  record(startTime: number, duration: number, options?: {
@@ -30,7 +30,7 @@ export declare type EntryType = 'mark' | 'measure' | 'paint' | 'resource' | 'fra
30
30
  export declare class Api {
31
31
  readonly window?: Window | undefined;
32
32
  private readonly performance;
33
- /** PreformanceObserver constructor function. */
33
+ /** PerformanceObserver constructor function. */
34
34
  private readonly PerformanceObserver;
35
35
  private readonly windowLocation;
36
36
  readonly onFirstInputDelay?: (fn: (fid: number) => void) => void;
package/dist/index.cjs.js CHANGED
@@ -10,7 +10,7 @@ var component = require('@firebase/component');
10
10
  require('@firebase/installations');
11
11
 
12
12
  var name = "@firebase/performance";
13
- var version = "0.6.8";
13
+ var version = "0.6.9-canary.1c8dbee46";
14
14
 
15
15
  /**
16
16
  * @license
@@ -594,7 +594,7 @@ function processConfig(config) {
594
594
  else if (DEFAULT_CONFIGS.logEndPointUrl) {
595
595
  settingsServiceInstance.logEndPointUrl = DEFAULT_CONFIGS.logEndPointUrl;
596
596
  }
597
- // Key from Remote Config has to be non-empty string, otherwsie use local value.
597
+ // Key from Remote Config has to be non-empty string, otherwise use local value.
598
598
  if (entries.fpr_log_transport_key) {
599
599
  settingsServiceInstance.transportKey = entries.fpr_log_transport_key;
600
600
  }
@@ -835,7 +835,6 @@ serializer) {
835
835
  * See the License for the specific language governing permissions and
836
836
  * limitations under the License.
837
837
  */
838
- /* eslint-enble camelcase */
839
838
  var logger;
840
839
  // This method is not called before initialization.
841
840
  function sendLog(resource, resourceType) {
@@ -960,7 +959,8 @@ function getApplicationInfo(firebaseApp) {
960
959
  },
961
960
  application_process_state: 0
962
961
  };
963
- }
962
+ }
963
+ /* eslint-enable camelcase */
964
964
 
965
965
  /**
966
966
  * @license
@@ -1092,7 +1092,7 @@ var Trace = /** @class */ (function () {
1092
1092
  * Records a trace with predetermined values. If this method is used a trace is created and logged
1093
1093
  * directly. No need to use start and stop methods.
1094
1094
  * @param startTime Trace start time since epoch in millisec
1095
- * @param duration The duraction of the trace in millisec
1095
+ * @param duration The duration of the trace in millisec
1096
1096
  * @param options An object which can optionally hold maps of custom metrics and custom attributes
1097
1097
  */
1098
1098
  Trace.prototype.record = function (startTime, duration, options) {
@@ -1347,7 +1347,7 @@ function setupOobTraces(performanceController) {
1347
1347
  var api = Api.getInstance();
1348
1348
  var navigationTimings = api.getEntriesByType('navigation');
1349
1349
  var paintTimings = api.getEntriesByType('paint');
1350
- // If First Input Desly polyfill is added to the page, report the fid value.
1350
+ // If First Input Delay polyfill is added to the page, report the fid value.
1351
1351
  // https://github.com/GoogleChromeLabs/first-input-delay
1352
1352
  if (api.onFirstInputDelay) {
1353
1353
  // If the fid call back is not called for certain time, continue without it.