n8n-nodes-apiinfo 0.1.14 → 0.1.17

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.
@@ -14,14 +14,6 @@ class ApiInfoApi {
14
14
  default: '',
15
15
  },
16
16
  ];
17
- this.authenticate = {
18
- type: 'generic',
19
- properties: {
20
- qs: {
21
- token: '={{$credentials.accessToken}}',
22
- },
23
- },
24
- };
25
17
  }
26
18
  }
27
19
  exports.ApiInfoApi = ApiInfoApi;
@@ -1 +1 @@
1
- {"version":3,"file":"ApiInfoApi.credentials.js","sourceRoot":"","sources":["../../credentials/ApiInfoApi.credentials.ts"],"names":[],"mappings":";;;AAMA,MAAa,UAAU;IAAvB;QACI,SAAI,GAAG,YAAY,CAAC;QACpB,gBAAW,GAAG,cAAc,CAAC;QAC7B,qBAAgB,GAAG,8BAA8B,CAAC;QAClD,eAAU,GAAsB;YAC5B;gBACI,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACd;SACJ,CAAC;QACF,iBAAY,GAAyB;YACjC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACR,EAAE,EAAE;oBACA,KAAK,EAAE,+BAA+B;iBACzC;aACJ;SACJ,CAAC;IACN,CAAC;CAAA;AApBD,gCAoBC"}
1
+ {"version":3,"file":"ApiInfoApi.credentials.js","sourceRoot":"","sources":["../../credentials/ApiInfoApi.credentials.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;IAAvB;QACI,SAAI,GAAG,YAAY,CAAC;QACpB,gBAAW,GAAG,cAAc,CAAC;QAC7B,qBAAgB,GAAG,8BAA8B,CAAC;QAClD,eAAU,GAAsB;YAC5B;gBACI,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACd;SACJ,CAAC;IACN,CAAC;CAAA;AAZD,gCAYC"}
@@ -130,7 +130,7 @@ class ApiInfo {
130
130
  const credentials = await this.getCredentials('apiInfoApi');
131
131
  const options = {
132
132
  method: 'GET',
133
- uri: `https://ipinfo.io${path}`,
133
+ url: `https://ipinfo.io${path}`,
134
134
  qs: {
135
135
  token: credentials.accessToken,
136
136
  },
@@ -141,7 +141,7 @@ class ApiInfo {
141
141
  delete responseData.readme;
142
142
  }
143
143
  else {
144
- options.uri = `https://ipinfo.io${path}/${field}`;
144
+ options.url = `https://ipinfo.io${path}/${field}`;
145
145
  options.json = false;
146
146
  responseData = await this.helpers.httpRequest(options);
147
147
  responseData = { [field]: responseData.trim() };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-apiinfo",
3
- "version": "0.1.14",
3
+ "version": "0.1.17",
4
4
  "description": "n8n node for ApiInfo",
5
5
  "keywords": [
6
6
  "n8n-community-node-package"