@jbrowse/web-core 3.1.0 → 3.2.0

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.
@@ -220,9 +220,9 @@ function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
220
220
  const snap = structuredClone((0, mobx_state_tree_1.getSnapshot)(config));
221
221
  const now = Date.now();
222
222
  snap.trackId += `-${now}`;
223
- snap.displays.forEach(display => {
223
+ for (const display of snap.displays) {
224
224
  display.displayId += `-${now}`;
225
- });
225
+ }
226
226
  if (!self.adminMode) {
227
227
  snap.trackId += '-sessionTrack';
228
228
  snap.category = undefined;
@@ -181,9 +181,9 @@ export function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
181
181
  const snap = structuredClone(getSnapshot(config));
182
182
  const now = Date.now();
183
183
  snap.trackId += `-${now}`;
184
- snap.displays.forEach(display => {
184
+ for (const display of snap.displays) {
185
185
  display.displayId += `-${now}`;
186
- });
186
+ }
187
187
  if (!self.adminMode) {
188
188
  snap.trackId += '-sessionTrack';
189
189
  snap.category = undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/web-core",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "JBrowse 2 code shared between web-app type products",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -42,8 +42,8 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@babel/runtime": "^7.16.3",
45
- "@jbrowse/app-core": "^3.1.0",
46
- "@jbrowse/product-core": "^3.1.0",
45
+ "@jbrowse/app-core": "^3.2.0",
46
+ "@jbrowse/product-core": "^3.2.0",
47
47
  "@mui/icons-material": "^6.0.0",
48
48
  "@mui/material": "^6.0.0",
49
49
  "copy-to-clipboard": "^3.3.1",
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "91492049ddea0aed90eb24d3c066c2d9f5a6b189"
63
+ "gitHead": "c750e3f56706a490c19ba75abd807fec5e38aebf"
64
64
  }