@ceki/n8n-nodes-ceki 0.2.29 → 0.2.31

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # n8n-nodes-ceki
1
+ # n8n-node-browser-ceki
2
2
 
3
3
  **Rent real human browsers inside your n8n workflows.**
4
4
 
@@ -14,11 +14,11 @@ All of the logic lives in [`@ceki/sdk`](https://www.npmjs.com/package/@ceki/sdk)
14
14
 
15
15
  ## Install
16
16
 
17
- **In self-hosted n8n:** Settings → Community Nodes → Install → `n8n-nodes-ceki`
17
+ **In self-hosted n8n:** Settings → Community Nodes → Install → `@ceki/n8n-node-browser-ceki`
18
18
 
19
19
  **Manually:**
20
20
  ```bash
21
- npm install n8n-nodes-ceki
21
+ npm install @ceki/n8n-node-browser-ceki
22
22
  ```
23
23
 
24
24
  ## Credential
@@ -27,6 +27,7 @@ var CekiApi = class {
27
27
  constructor() {
28
28
  this.name = "cekiApi";
29
29
  this.displayName = "Ceki API";
30
+ this.icon = { light: "file:ceki-light.svg", dark: "file:ceki-dark.svg" };
30
31
  this.documentationUrl = "https://browser.ceki.me/docs#api-key";
31
32
  this.properties = [
32
33
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../credentials/CekiApi.credentials.ts"],
4
- "sourcesContent": ["import type {\n\tIAuthenticateGeneric,\n\tICredentialTestRequest,\n\tICredentialType,\n\tINodeProperties,\n} from 'n8n-workflow';\n\n/**\n * Ceki agent token (ag_...). Authorizes every Ceki node.\n * Get it from the Ceki panel \u2192 agent profile \u2192 API key.\n */\nexport class CekiApi implements ICredentialType {\n\tname = 'cekiApi';\n\tdisplayName = 'Ceki API';\n\tdocumentationUrl = 'https://browser.ceki.me/docs#api-key';\n\tproperties: INodeProperties[] = [\n\t\t{\n\t\t\tdisplayName: 'API Key',\n\t\t\tname: 'token',\n\t\t\ttype: 'string',\n\t\t\ttypeOptions: { password: true },\n\t\t\tdefault: '',\n\t\t\tdescription:\n\t\t\t\t'Agent token (ag_...). [Get your API key \u2192](https://browser.ceki.me/docs#api-key)',\n\t\t\trequired: true,\n\t\t},\n\t];\n\n\tauthenticate: IAuthenticateGeneric = {\n\t\ttype: 'generic',\n\t\tproperties: {\n\t\t\theaders: {\n\t\t\t\tAuthorization: '=Bearer {{$credentials?.token}}',\n\t\t\t},\n\t\t},\n\t};\n\n\ttest: ICredentialTestRequest = {\n\t\trequest: {\n\t\t\tbaseURL: 'https://api.ceki.me',\n\t\t\turl: '/api/browsers/search',\n\t\t\tmethod: 'GET',\n\t\t},\n\t};\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWO,IAAM,UAAN,MAAyC;AAAA,EAAzC;AACN,gBAAO;AACP,uBAAc;AACd,4BAAmB;AACnB,sBAAgC;AAAA,MAC/B;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,aAAa,EAAE,UAAU,KAAK;AAAA,QAC9B,SAAS;AAAA,QACT,aACC;AAAA,QACD,UAAU;AAAA,MACX;AAAA,IACD;AAEA,wBAAqC;AAAA,MACpC,MAAM;AAAA,MACN,YAAY;AAAA,QACX,SAAS;AAAA,UACR,eAAe;AAAA,QAChB;AAAA,MACD;AAAA,IACD;AAEA,gBAA+B;AAAA,MAC9B,SAAS;AAAA,QACR,SAAS;AAAA,QACT,KAAK;AAAA,QACL,QAAQ;AAAA,MACT;AAAA,IACD;AAAA;AACD;",
4
+ "sourcesContent": ["import type {\n\tIAuthenticateGeneric,\n\tICredentialTestRequest,\n\tICredentialType,\n\tINodeProperties,\n} from 'n8n-workflow';\n\n/**\n * Ceki agent token (ag_...). Authorizes every Ceki node.\n * Get it from the Ceki panel \u2192 agent profile \u2192 API key.\n */\nexport class CekiApi implements ICredentialType {\n\tname = 'cekiApi';\n\tdisplayName = 'Ceki API';\n\ticon = { light: 'file:ceki-light.svg', dark: 'file:ceki-dark.svg' };\n\tdocumentationUrl = 'https://browser.ceki.me/docs#api-key';\n\tproperties: INodeProperties[] = [\n\t\t{\n\t\t\tdisplayName: 'API Key',\n\t\t\tname: 'token',\n\t\t\ttype: 'string',\n\t\t\ttypeOptions: { password: true },\n\t\t\tdefault: '',\n\t\t\tdescription:\n\t\t\t\t'Agent token (ag_...). [Get your API key \u2192](https://browser.ceki.me/docs#api-key)',\n\t\t\trequired: true,\n\t\t},\n\t];\n\n\tauthenticate: IAuthenticateGeneric = {\n\t\ttype: 'generic',\n\t\tproperties: {\n\t\t\theaders: {\n\t\t\t\tAuthorization: '=Bearer {{$credentials?.token}}',\n\t\t\t},\n\t\t},\n\t};\n\n\ttest: ICredentialTestRequest = {\n\t\trequest: {\n\t\t\tbaseURL: 'https://api.ceki.me',\n\t\t\turl: '/api/browsers/search',\n\t\t\tmethod: 'GET',\n\t\t},\n\t};\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWO,IAAM,UAAN,MAAyC;AAAA,EAAzC;AACN,gBAAO;AACP,uBAAc;AACd,gBAAO,EAAE,OAAO,uBAAuB,MAAM,qBAAqB;AAClE,4BAAmB;AACnB,sBAAgC;AAAA,MAC/B;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,aAAa,EAAE,UAAU,KAAK;AAAA,QAC9B,SAAS;AAAA,QACT,aACC;AAAA,QACD,UAAU;AAAA,MACX;AAAA,IACD;AAEA,wBAAqC;AAAA,MACpC,MAAM;AAAA,MACN,YAAY;AAAA,QACX,SAAS;AAAA,UACR,eAAe;AAAA,QAChB;AAAA,MACD;AAAA,IACD;AAEA,gBAA+B;AAAA,MAC9B,SAAS;AAAA,QACR,SAAS;AAAA,QACT,KAAK;AAAA,QACL,QAAQ;AAAA,MACT;AAAA,IACD;AAAA;AACD;",
6
6
  "names": []
7
7
  }