@manuscripts/body-editor 3.15.1 → 3.16.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.
@@ -17,6 +17,7 @@ const style_guide_1 = require("@manuscripts/style-guide");
17
17
  const userProfile = {
18
18
  _id: 'MPUserProfile:1',
19
19
  userID: 'MPUser:1',
20
+ connectID: 'connectID1'
20
21
  };
21
22
  const history = (0, history_1.createMemoryHistory)();
22
23
  const buildProps = (doc) => ({
@@ -41,6 +41,7 @@ exports.defaultEditorProps = {
41
41
  getCurrentUser: () => ({
42
42
  _id: 'test-user-profile-1-id',
43
43
  userID: '',
44
+ connectID: '',
44
45
  }),
45
46
  history: (0, history_1.createBrowserHistory)(),
46
47
  theme: style_guide_1.defaultTheme,
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MATHJAX_VERSION = exports.VERSION = void 0;
4
- exports.VERSION = '3.15.1';
4
+ exports.VERSION = '3.16.0';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -12,6 +12,7 @@ import { defaultTheme } from '@manuscripts/style-guide';
12
12
  const userProfile = {
13
13
  _id: 'MPUserProfile:1',
14
14
  userID: 'MPUser:1',
15
+ connectID: 'connectID1'
15
16
  };
16
17
  const history = createMemoryHistory();
17
18
  const buildProps = (doc) => ({
@@ -35,6 +35,7 @@ export const defaultEditorProps = {
35
35
  getCurrentUser: () => ({
36
36
  _id: 'test-user-profile-1-id',
37
37
  userID: '',
38
+ connectID: '',
38
39
  }),
39
40
  history: createBrowserHistory(),
40
41
  theme: defaultTheme,
@@ -1,2 +1,2 @@
1
- export const VERSION = '3.15.1';
1
+ export const VERSION = '3.16.0';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.15.1";
1
+ export declare const VERSION = "3.16.0";
2
2
  export declare const MATHJAX_VERSION = "3.2.2";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/body-editor",
3
3
  "description": "Prosemirror components for editing and viewing manuscripts",
4
- "version": "3.15.1",
4
+ "version": "3.16.0",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -43,7 +43,7 @@
43
43
  "@iarna/word-count": "1.1.2",
44
44
  "@manuscripts/style-guide": "3.7.0",
45
45
  "@manuscripts/track-changes-plugin": "2.4.0",
46
- "@manuscripts/transform": "4.4.6",
46
+ "@manuscripts/transform": "4.5.0",
47
47
  "@popperjs/core": "2.11.8",
48
48
  "citeproc": "2.4.63",
49
49
  "codemirror": "5.65.19",
@@ -118,4 +118,4 @@
118
118
  "engines": {
119
119
  "node": ">=22"
120
120
  }
121
- }
121
+ }
@@ -34,6 +34,7 @@ import { defaultTheme } from '@manuscripts/style-guide'
34
34
  const userProfile: UserProfile = {
35
35
  _id: 'MPUserProfile:1',
36
36
  userID: 'MPUser:1',
37
+ connectID: 'connectID1'
37
38
  }
38
39
 
39
40
  const history = createMemoryHistory()
@@ -43,6 +43,7 @@ export const defaultEditorProps: EditorProps = {
43
43
  getCurrentUser: () => ({
44
44
  _id: 'test-user-profile-1-id',
45
45
  userID: '',
46
+ connectID: '',
46
47
  }),
47
48
  // @ts-ignore
48
49
  history: createBrowserHistory(),
package/src/versions.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  //THIS FILE WAS GENERATED BY versions.mjs
2
- export const VERSION = '3.15.1';
2
+ export const VERSION = '3.16.0';
3
3
  export const MATHJAX_VERSION = '3.2.2';