@lvce-editor/markdown-worker 1.1.0 → 1.2.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.
@@ -3856,9 +3856,12 @@ const terminate = () => {
3856
3856
  };
3857
3857
 
3858
3858
  const commandMap = {
3859
- 'Markdown.getMarkDownVirtualDom': getMarkdownVirtualDom,
3859
+ 'Markdown.getVirtualDom': getMarkdownVirtualDom,
3860
+ 'Markdown.render': renderMarkdown,
3861
+ 'Markdown.terminate': terminate,
3862
+ // deprecated
3860
3863
  'Markdown.renderMarkdown': renderMarkdown,
3861
- 'Markdown.terminate': terminate
3864
+ 'Markdown.getMarkDownVirtualDom': getMarkdownVirtualDom
3862
3865
  };
3863
3866
 
3864
3867
  const RendererWorker = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/markdown-worker",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Markdown Worker",
5
5
  "license": "MIT",
6
6
  "author": "Lvce Editor",