n8n-nodes-pollinations-ai 1.2.1 → 1.3.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.
package/package.json CHANGED
@@ -1,77 +1,68 @@
1
1
  {
2
- "name": "n8n-nodes-pollinations-ai",
3
- "version": "1.2.1",
4
- "description": "n8n community node for Pollinations AI - image generation and chat models",
5
- "keywords": [
6
- "n8n-community-node-package",
7
- "n8n",
8
- "pollinations",
9
- "ai",
10
- "image-generation",
11
- "flux",
12
- "chat-model",
13
- "llm",
14
- "langchain"
15
- ],
16
- "license": "MIT",
17
- "homepage": "https://github.com/new-xmon-df/n8n-nodes-pollinations-ai",
18
- "author": {
19
- "name": "Juanjo García",
20
- "email": "juanjogarciae@gmail.com"
21
- },
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/new-xmon-df/n8n-nodes-pollinations-ai.git"
25
- },
26
- "engines": {
27
- "node": ">=18.0.0"
28
- },
29
- "main": "index.js",
30
- "files": [
31
- "dist",
32
- "nodes",
33
- "credentials",
34
- "index.ts",
35
- "tsconfig.json",
36
- "gulpfile.js"
37
- ],
38
- "n8n": {
39
- "n8nNodesApiVersion": 1,
40
- "credentials": [
41
- "dist/credentials/PollinationsApi.credentials.js"
42
- ],
43
- "nodes": [
44
- "dist/nodes/Pollinations/Pollinations.node.js",
45
- "dist/nodes/Pollinations/PollinationsChatModel.node.js"
46
- ]
47
- },
48
- "scripts": {
49
- "prepare": "npm run build",
50
- "build": "tsc && gulp build:icons",
51
- "dev": "tsc --watch",
52
- "lint": "eslint . --ext .ts",
53
- "lintfix": "eslint . --ext .ts --fix",
54
- "typecheck": "tsc --noEmit",
55
- "prepublishOnly": "npm run build"
56
- },
57
- "devDependencies": {
58
- "@semantic-release/changelog": "^6.0.3",
59
- "@semantic-release/git": "^10.0.1",
60
- "@types/node": "^20.10.0",
61
- "@typescript-eslint/eslint-plugin": "^6.0.0",
62
- "@typescript-eslint/parser": "^6.0.0",
63
- "conventional-changelog-conventionalcommits": "^8.0.0",
64
- "eslint": "^8.56.0",
65
- "gulp": "^4.0.2",
66
- "n8n-workflow": "^1.23.0",
67
- "semantic-release": "^24.2.4",
68
- "typescript": "^5.3.0"
69
- },
70
- "peerDependencies": {
71
- "n8n-workflow": "*"
72
- },
73
- "dependencies": {
74
- "@langchain/core": "^1.1.12",
75
- "@langchain/openai": "^1.2.1"
76
- }
2
+ "name": "n8n-nodes-pollinations-ai",
3
+ "version": "1.3.0",
4
+ "description": "n8n community node for Pollinations AI - image generation and chat models",
5
+ "keywords": [
6
+ "n8n-community-node-package",
7
+ "n8n",
8
+ "pollinations",
9
+ "ai",
10
+ "image-generation",
11
+ "flux",
12
+ "chat-model",
13
+ "llm",
14
+ "langchain"
15
+ ],
16
+ "license": "MIT",
17
+ "homepage": "https://github.com/new-xmon-df/n8n-nodes-pollinations-ai",
18
+ "author": {
19
+ "name": "Juanjo García",
20
+ "email": "juanjogarciae@gmail.com"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/new-xmon-df/n8n-nodes-pollinations-ai.git"
25
+ },
26
+ "engines": {
27
+ "node": ">=18.0.0"
28
+ },
29
+ "main": "index.js",
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "n8n": {
34
+ "n8nNodesApiVersion": 1,
35
+ "credentials": [
36
+ "dist/credentials/PollinationsApi.credentials.js"
37
+ ],
38
+ "nodes": [
39
+ "dist/nodes/Pollinations/Pollinations.node.js",
40
+ "dist/nodes/Pollinations/PollinationsChatModel.node.js"
41
+ ],
42
+ "strict": false
43
+ },
44
+ "scripts": {
45
+ "prepare": "npm run build",
46
+ "build": "n8n-node build",
47
+ "dev": "n8n-node dev",
48
+ "lint": "n8n-node lint",
49
+ "lintfix": "n8n-node lint --fix",
50
+ "typecheck": "tsc --noEmit",
51
+ "prepublishOnly": "npm run build"
52
+ },
53
+ "devDependencies": {
54
+ "@n8n/node-cli": "^0.17.0",
55
+ "@types/node": "^20.10.0",
56
+ "eslint": "^9.32.0",
57
+ "n8n-workflow": "^1.23.0",
58
+ "prettier": "^3.6.2",
59
+ "typescript": "^5.9.2"
60
+ },
61
+ "peerDependencies": {
62
+ "n8n-workflow": "*"
63
+ },
64
+ "dependencies": {
65
+ "@langchain/core": "^1.1.12",
66
+ "@langchain/openai": "^1.2.1"
67
+ }
77
68
  }
@@ -1,41 +0,0 @@
1
- import {
2
- IAuthenticateGeneric,
3
- ICredentialTestRequest,
4
- ICredentialType,
5
- INodeProperties,
6
- } from 'n8n-workflow';
7
-
8
- export class PollinationsApi implements ICredentialType {
9
- name = 'pollinationsApi';
10
- displayName = 'Pollinations API';
11
- documentationUrl = 'https://github.com/new-xmon-df/n8n-nodes-pollinations-ai#credentials';
12
-
13
- properties: INodeProperties[] = [
14
- {
15
- displayName: 'API Key',
16
- name: 'apiKey',
17
- type: 'string',
18
- typeOptions: { password: true },
19
- default: '',
20
- required: true,
21
- description:
22
- 'Your Pollinations API Key (pk_ or sk_). Get it at https://enter.pollinations.ai. The available models will be filtered based on your key permissions.',
23
- },
24
- ];
25
-
26
- authenticate: IAuthenticateGeneric = {
27
- type: 'generic',
28
- properties: {
29
- headers: {
30
- Authorization: '=Bearer {{$credentials.apiKey}}',
31
- },
32
- },
33
- };
34
-
35
- test: ICredentialTestRequest = {
36
- request: {
37
- baseURL: 'https://gen.pollinations.ai',
38
- url: '/image/models',
39
- },
40
- };
41
- }
package/gulpfile.js DELETED
@@ -1,7 +0,0 @@
1
- const { src, dest } = require('gulp');
2
-
3
- function buildIcons() {
4
- return src('nodes/**/*.svg').pipe(dest('dist/nodes'));
5
- }
6
-
7
- exports['build:icons'] = buildIcons;
package/index.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './credentials/PollinationsApi.credentials';
2
- export * from './nodes/Pollinations/Pollinations.node';
@@ -1,19 +0,0 @@
1
- {
2
- "node": "n8n-nodes-pollinations-ai.pollinations",
3
- "nodeVersion": "1.0",
4
- "codexVersion": "1.0",
5
- "categories": ["Utility"],
6
- "resources": {
7
- "credentialDocumentation": [
8
- {
9
- "url": "https://enter.pollinations.ai/api/docs"
10
- }
11
- ],
12
- "primaryDocumentation": [
13
- {
14
- "url": "https://enter.pollinations.ai/api/docs"
15
- }
16
- ]
17
- },
18
- "alias": ["image", "ai", "generation", "flux", "art", "text", "llm", "chat", "pollinations", "image generation", "text generation", "artificial intelligence", "gpt", "claude", "mistral", "deepseek"]
19
- }