@opencloning/store 1.0.1 → 1.1.0-test.1

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,18 @@
1
1
  # @opencloning/store
2
2
 
3
+ ## 1.1.0-test.1
4
+
5
+ ### Minor Changes
6
+
7
+ - 02dbc55: Switch to using provider for configuration rather than state
8
+
9
+ ## 1.0.2-test.0
10
+
11
+ ### Patch Changes
12
+
13
+ - testing a test release to npm
14
+ - e0fb5ee: Releases work on npm now through `YARN_NPM_AUTH_TOKEN=<> yarn changeset publish`, this is enabled by patch, see Readme. This properly handles workspaces (in package.json in each of the packages, `"@opencloning/store": "workspace:*",` is replaced by the actual version).
15
+
3
16
  ## 1.0.1
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencloning/store",
3
- "version": "1.0.1",
3
+ "version": "1.1.0-test.1",
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;