n8n-nodes-md2notion 1.2.1 → 1.2.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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.2.2] - 2026-01-17
11
+
12
+ ### 🐛 Fixed - Runtime Loading Error
13
+
14
+ #### Bug Fixes
15
+ - **Fixed `convertMarkdownToNotionBlocks is not a function`** in n8n runtime
16
+ - Removed stray compiled files (`dist/MarkdownToNotion.node.js`, `.d.ts`)
17
+ - Ensured n8n loads the correct file: `dist/nodes/MarkdownToNotion/MarkdownToNotion.node.js`
18
+ - Adjusted `files` array to only publish `dist/nodes` and `dist/credentials`
19
+
20
+ #### Verification
21
+ - ✅ Node loads correctly via `package.json` `n8n.nodes` entry
22
+ - ✅ Method `convertMarkdownToNotionBlocks` present and callable
23
+ - ✅ All 16+ block types still supported (including toggle)
24
+ - ✅ All tests pass
25
+
26
+ ### 📌 Note
27
+ Root-level `dist/MarkdownToNotion.node.js` was being pulled by n8n and lacked the method. Package contents are now clean and scoped to the correct compiled node.
28
+
10
29
  ## [1.2.1] - 2026-01-17
11
30
 
12
31
  ### 🐛 Fixed - Critical Runtime Error
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-md2notion",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Convert markdown to Notion pages with proper math formula handling - fixes common formula conversion errors in existing community nodes",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",
@@ -37,7 +37,9 @@
37
37
  "postinstall": "echo 'n8n-nodes-md2notion installed successfully!'"
38
38
  },
39
39
  "files": [
40
- "dist",
40
+ "dist/nodes",
41
+ "dist/credentials",
42
+ "dist/nodes/MarkdownToNotion/notion.svg",
41
43
  "README.md",
42
44
  "LICENSE",
43
45
  "CHANGELOG.md"
@@ -1,29 +0,0 @@
1
- import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
- export declare class MarkdownToNotion implements INodeType {
3
- description: INodeTypeDescription;
4
- execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
- private convertMarkdownToNotionBlocks;
6
- private createHeadingBlock;
7
- private createParagraphBlock;
8
- private createListBlocks;
9
- private createCodeBlock;
10
- private createQuoteBlock;
11
- private convertToRichText;
12
- private processInlineFormatting;
13
- private isTodoItem;
14
- private createTodoBlock;
15
- private isDivider;
16
- private createDividerBlock;
17
- private isStandaloneUrl;
18
- private createBookmarkBlock;
19
- private isBlockEquation;
20
- private createEquationBlock;
21
- private isCallout;
22
- private createCalloutBlock;
23
- private createImageBlock;
24
- private createTableBlocks;
25
- private restoreMathPlaceholders;
26
- private preprocessToggleBlocks;
27
- private isToggleBlock;
28
- private createToggleBlock;
29
- }