browsertime 17.5.0-beta2 → 17.5.0-beta4

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.
@@ -86,7 +86,11 @@
86
86
  ) {
87
87
  // If the interaction already exists, update it. Otherwise create one.
88
88
  if (existingInteraction) {
89
- existingInteraction.entries.push(entry);
89
+ existingInteraction.entries.push(
90
+ { id: entry.interactionId,
91
+ latency: entry.duration,
92
+ name: entry.name
93
+ });
90
94
  existingInteraction.latency = Math.max(
91
95
  existingInteraction.latency,
92
96
  entry.duration
@@ -95,7 +99,13 @@
95
99
  const interaction = {
96
100
  id: entry.interactionId,
97
101
  latency: entry.duration,
98
- name: entry.name
102
+ entries: [
103
+ {
104
+ id: entry.interactionId,
105
+ latency: entry.duration,
106
+ name: entry.name
107
+ }
108
+ ]
99
109
  };
100
110
  longestInteractionMap[interaction.id] = interaction;
101
111
  longestInteractionList.push(interaction);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "browsertime",
3
3
  "description": "Get performance metrics from your web page using Browsertime.",
4
- "version": "17.5.0-beta2",
4
+ "version": "17.5.0-beta4",
5
5
  "bin": "./bin/browsertime.js",
6
6
  "type": "module",
7
7
  "dependencies": {
@@ -12,7 +12,7 @@
12
12
  "@sitespeed.io/geckodriver": "0.32.2",
13
13
  "@sitespeed.io/throttle": "5.0.0",
14
14
  "@sitespeed.io/tracium": "0.3.3",
15
- "ff-test-bidi-har-export": "0.0.5",
15
+ "ff-test-bidi-har-export": "0.0.6",
16
16
  "btoa": "1.2.1",
17
17
  "chrome-har": "0.13.1",
18
18
  "chrome-remote-interface": "0.32.1",