n8n-nodes-geekflare-api 0.1.5 → 0.1.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.
@@ -1,7 +1,8 @@
1
- import { ICredentialType, INodeProperties } from "n8n-workflow";
1
+ import { ICredentialTestRequest, ICredentialType, INodeProperties } from "n8n-workflow";
2
2
  export declare class GeekflareApi implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
5
5
  documentationUrl: string;
6
6
  properties: INodeProperties[];
7
+ test: ICredentialTestRequest;
7
8
  }
@@ -19,6 +19,18 @@ class GeekflareApi {
19
19
  description: "Your Geekflare API key. Find it in your Geekflare dashboard.",
20
20
  },
21
21
  ];
22
+ this.test = {
23
+ request: {
24
+ baseURL: "https://api.geekflare.com",
25
+ url: "/up",
26
+ method: "POST",
27
+ headers: {
28
+ "x-api-key": "={{$credentials.apiKey}}",
29
+ "Content-Type": "application/json",
30
+ },
31
+ body: JSON.stringify({ url: "https://geekflare.com" }),
32
+ },
33
+ };
22
34
  }
23
35
  }
24
36
  exports.GeekflareApi = GeekflareApi;
@@ -1 +1 @@
1
- {"version":3,"file":"GeekflareApi.credentials.js","sourceRoot":"","sources":["../../credentials/GeekflareApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,YAAY;IAAzB;QACE,SAAI,GAAG,cAAc,CAAC;QACtB,gBAAW,GAAG,eAAe,CAAC;QAC9B,qBAAgB,GAAG,sCAAsC,CAAC;QAC1D,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACX,QAAQ,EAAE,IAAI;iBACf;gBACD,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EACT,8DAA8D;aACjE;SACF,CAAC;IACJ,CAAC;CAAA;AAlBD,oCAkBC"}
1
+ {"version":3,"file":"GeekflareApi.credentials.js","sourceRoot":"","sources":["../../credentials/GeekflareApi.credentials.ts"],"names":[],"mappings":";;;AAMA,MAAa,YAAY;IAAzB;QACE,SAAI,GAAG,cAAc,CAAC;QACtB,gBAAW,GAAG,eAAe,CAAC;QAC9B,qBAAgB,GAAG,sCAAsC,CAAC;QAC1D,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACX,QAAQ,EAAE,IAAI;iBACf;gBACD,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EACT,8DAA8D;aACjE;SACF,CAAC;QAEF,SAAI,GAA2B;YAC7B,OAAO,EAAE;gBACP,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,KAAK;gBACV,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,WAAW,EAAE,0BAA0B;oBACvC,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,uBAAuB,EAAE,CAAC;aACvD;SACF,CAAC;IACJ,CAAC;CAAA;AA/BD,oCA+BC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-geekflare-api",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "n8n community node for the Geekflare API — web scraping, screenshots, DNS, SEO, security checks and more.",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",