@zakodium/nmrium-core 0.5.2 → 0.5.3

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.
@@ -212,7 +212,7 @@ declare interface ContourOptions_2 {
212
212
 
213
213
  export declare type ContoursLevels = Record<string, Level>;
214
214
 
215
- export declare const CURRENT_EXPORT_VERSION = 13;
215
+ export declare const CURRENT_EXPORT_VERSION: 13;
216
216
 
217
217
  export declare type CustomWorkspaces = Record<string, InnerWorkspace>;
218
218
 
@@ -497,7 +497,7 @@ export declare interface MultipleSpectraAnalysisPreferences {
497
497
 
498
498
  export declare class NMRiumCore {
499
499
  #private;
500
- readonly version = 13;
500
+ readonly version: 13;
501
501
  registerPlugin(plugin: NMRiumPlugin): void;
502
502
  registerPlugins(plugins: NMRiumPlugin[]): void;
503
503
  migrate(state: any): any;
@@ -782,7 +782,7 @@ export declare interface NMRiumPluginOnReadProcess {
782
782
  }
783
783
 
784
784
  export declare interface NmriumState {
785
- version: number;
785
+ version: typeof CURRENT_EXPORT_VERSION;
786
786
  data: NmriumData;
787
787
  settings: Workspace;
788
788
  view: ViewState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zakodium/nmrium-core",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "The core of NMRium: types, state, state migration and plugin system.",
5
5
  "author": "Zakodium Sàrl",
6
6
  "license": "CC-BY-NC-SA-4.0",
@@ -45,5 +45,5 @@
45
45
  "volta": {
46
46
  "extends": "../../../package.json"
47
47
  },
48
- "gitHead": "b64e1e3173a01e08b82968935cb2f69f407b4e08"
48
+ "gitHead": "d0d3e5768dcbe675e0f8460fad4b7dbd352a7ff8"
49
49
  }