@complat/react-spectra-editor 1.2.2 → 1.3.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.
@@ -32,5 +32,13 @@ function* updateMetaPeaks(action) {
32
32
  }
33
33
  });
34
34
  }
35
- const metaSagas = [(0, _effects.takeEvery)(_action_type.META.UPDATE_PEAKS, updateMetaPeaks)];
35
+ function* updateMetaData(action) {
36
+ yield (0, _effects.put)({
37
+ type: _action_type.META.UPDATE_META_DATA_RDC,
38
+ payload: {
39
+ dscMetaData: action.payload
40
+ }
41
+ });
42
+ }
43
+ const metaSagas = [(0, _effects.takeEvery)(_action_type.META.UPDATE_PEAKS, updateMetaPeaks), (0, _effects.takeEvery)(_action_type.META.UPDATE_META_DATA, updateMetaData)];
36
44
  var _default = exports.default = metaSagas;
@@ -139,6 +139,7 @@ function* scrollUiWheel(action) {
139
139
  case _list_layout.LIST_LAYOUT.UVVIS:
140
140
  case _list_layout.LIST_LAYOUT.HPLC_UVVIS:
141
141
  case _list_layout.LIST_LAYOUT.TGA:
142
+ case _list_layout.LIST_LAYOUT.DSC:
142
143
  case _list_layout.LIST_LAYOUT.XRD:
143
144
  default:
144
145
  [nyeL, nyeU] = [yeL, yeL + (yeU - yeL) * scale];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@complat/react-spectra-editor",
3
- "version": "1.2.2",
4
- "description": "An editor to View and Edit Chemical Spectra data (NMR, IR and MS, CV, UIVIS, XRD).",
3
+ "version": "1.3.2",
4
+ "description": "An editor to View and Edit Chemical Spectra data (NMR, IR, MS, CV, UIVIS, XRD, and DSC).",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/ComPlat/react-spectra-editor"