@ecopages/dev-toolbar 0.2.0-beta.32 → 0.2.0-beta.34
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.
package/package.json
CHANGED
|
@@ -88,7 +88,7 @@ function getTelemetryDocument() {
|
|
|
88
88
|
}
|
|
89
89
|
return document;
|
|
90
90
|
}
|
|
91
|
-
function buildSnapshot(
|
|
91
|
+
function buildSnapshot() {
|
|
92
92
|
const route = `${window.location.pathname}${window.location.search}`;
|
|
93
93
|
return {
|
|
94
94
|
updatedAt: new Date().toISOString(),
|
|
@@ -99,7 +99,7 @@ function buildSnapshot(doc = getTelemetryDocument()) {
|
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
function syncTelemetryElement(doc = getTelemetryDocument()) {
|
|
102
|
-
const snapshot = buildSnapshot(
|
|
102
|
+
const snapshot = buildSnapshot();
|
|
103
103
|
let element = doc.getElementById(NAV_TELEMETRY_ELEMENT_ID);
|
|
104
104
|
if (!element) {
|
|
105
105
|
const script = doc.createElement('script');
|
|
@@ -17,7 +17,7 @@ import '../apps/deps-panel.js';
|
|
|
17
17
|
import '../apps/islands-panel.js';
|
|
18
18
|
import '../apps/navigation-panel.js';
|
|
19
19
|
import '../apps/settings-panel.js';
|
|
20
|
-
import {
|
|
20
|
+
import { updateDevManifestInDocument } from '../api/dev-manifest.js';
|
|
21
21
|
import { DEV_TOOLBAR_ELEMENT_NAME, DEV_TOOLBAR_PERSIST_KEY } from '../runtime/constants.js';
|
|
22
22
|
import { readDevToolbarPreferences, writeDevToolbarPreferences, } from '../runtime/preferences.js';
|
|
23
23
|
import { A11yIcon, DepsIcon, IslandsIcon, NavigationIcon, SettingsIcon } from './icons.js';
|