n8n-nodes-fasttext-lang 1.0.5 → 1.0.7

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.
@@ -3,3 +3,4 @@ export declare class FastTextNode implements INodeType {
3
3
  description: INodeTypeDescription;
4
4
  execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
5
  }
6
+ export default FastTextNode;
@@ -217,3 +217,4 @@ class FastTextNode {
217
217
  }
218
218
  }
219
219
  exports.FastTextNode = FastTextNode;
220
+ exports.default = FastTextNode;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const { FastTextNode } = require('./dist/FastText.node.js');
1
+ const FastTextNode = require('./dist/FastText.node.js').default || require('./dist/FastText.node.js').FastTextNode;
2
2
 
3
3
  module.exports = {
4
4
  nodes: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-fasttext-lang",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "n8n community node for FastText language detection",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",