@opencloning/store 1.0.2-test.0 → 1.1.0-test.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @opencloning/store
2
2
 
3
+ ## 1.1.0-test.2
4
+
5
+ ### Minor Changes
6
+
7
+ - d46f09d: Handle version display with scripts
8
+
9
+ ## 1.1.0-test.1
10
+
11
+ ### Minor Changes
12
+
13
+ - 02dbc55: Switch to using provider for configuration rather than state
14
+
3
15
  ## 1.0.2-test.0
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencloning/store",
3
- "version": "1.0.2-test.0",
3
+ "version": "1.1.0-test.2",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "exports": {
package/src/cloning.js CHANGED
@@ -28,14 +28,7 @@ const initialState = {
28
28
  currentTab: 0,
29
29
  description: '',
30
30
  selectedRegions: [],
31
- knownErrors: {},
32
31
  primers: [],
33
- config: {
34
- loaded: false,
35
- backendUrl: null,
36
- enableAssembler: false,
37
- enablePlannotate: false,
38
- },
39
32
  sourcesWithHiddenAncestors: [],
40
33
  teselaJsonCache: {},
41
34
  alerts: [],
@@ -49,7 +42,7 @@ const initialState = {
49
42
  },
50
43
  };
51
44
 
52
-
45
+
53
46
  const reducer = {
54
47
 
55
48
  setCurrentTab(state, action) {
@@ -308,15 +301,6 @@ const reducer = {
308
301
  state.selectedRegions = [...action.payload];
309
302
  },
310
303
 
311
- setKnownErrors(state, action) {
312
- state.knownErrors = action.payload;
313
- },
314
-
315
- setConfig(state, action) {
316
- Object.assign(state.config, action.payload);
317
- state.config.loaded = true;
318
- },
319
-
320
304
  addPrimer(state, action) {
321
305
  const primer = action.payload;
322
306
  const { primers } = state;